Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: GLEP 49 - Package manager requirements
Date: Sat, 20 May 2006 15:19:00
Message-Id: 200605201712.03663.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: GLEP 49 - Package manager requirements by Thomas Cort
1 On Saturday 20 May 2006 11:51, Thomas Cort wrote:
2 > On Sat, 20 May 2006 14:54:18 +0200
3 >
4 > Paul de Vrieze <pauldv@g.o> wrote:
5 > > *Primary Package Manager*
6 > > There is one primary package manager.
7 >
8 > Gentoo has always been about choice, could you explain what is the
9 > rationale behind having only one primary package manager?
10
11 Ok, I'll go along the various situations with two primary package managers
12 that can exist (it has to do with network effects):
13
14 - There are two primary package managers, A and B. Package manager B accepts
15 ebuilds that package manager A does not accept. At this point package manager
16 B is the most useful. As there is no problem with using package manager B,
17 all authors who need package manager B features use it. They forget about
18 package manager A. As a result, it will not be long before a significant part
19 of the tree does no longer work with package manager A. It is only a matter
20 of time before the (often highly complex, and in need of such features) core
21 packages that everyone needs is in this set. Effectively obsoleting package
22 manager A.
23
24 - There are two primary package managers, C and D. Each one supports features
25 the other one doesn't. While this situation seems different, it actually
26 isn't that different. In the beginning they each have 50% of the packages
27 that are not usable by both. At some point this 50% will change. At that time
28 ebuild authors have to choose when they need a new feature. In most cases
29 they will choose for that package manager (D) that is used by most people.
30 This increases the incentives for users to use package manager D. This again
31 leads more ebuild authors into using package manager D, etc. Again leading to
32 one package manager to be obsoleted.
33
34 The situations described above are what is called a network effect. They show
35 why everyone uses internet instead of some people using compuserve, some
36 people america online, some people internet, and yet some other people still
37 using bbs systems. It also explains why windows is by nature a monopoly and
38 why linux has such problems being an alternative operating system (see the
39 interaction between features, compatibility and amount of users).
40
41 > > All ebuilds in the tree must function with the primary package
42 > > manager.
43 >
44 > I definitely see this is as a requirement. One thing I am wondering is, who
45 > is responsible for testing the over 24,000 ebuilds in the tree to make sure
46 > that they work with the new package manager? Is it the package manager
47 > team, arch teams, package/herd maintainers, arch/herd testers, or others?
48
49 The other package manager team is responsible for initial testing. At a point
50 where a package manager is accepted as candidate replacement or secondary
51 package manager, it is acceptable that bugs are filed against packages that
52 do not work with the other package manager. If they are caused by the
53 standard (written standard, not things that are accepted by the primary by
54 accident) not being accepted by the secondary or candidate replacement
55 package manager this is a bug on that package manager, otherwise on the
56 violating package. For a secondary package manager this only, when its usage
57 makes sense on the package in the first place.
58
59 > > The primary package manager is maintained on official gentoo
60 > > infrastructure, under control of gentoo developers.
61 >
62 > I don't really see this as a requirement. Many Linux distributions use
63 > package managers that they don't have direct control over. Ubuntu uses apt,
64 > Mandrake uses rpm, etc.
65
66 Those are binary distributions. Even they have extensions in their own package
67 managers. Binary distribution is easier than from source. One of the
68 strengths of Gentoo is formed by the package manager. If the package manager
69 is out of control of gentoo, this means that Gentoo no longer has control
70 over its future or its features.
71
72 Paul
73
74 --
75 Paul de Vrieze
76 Gentoo Developer
77 Mail: pauldv@g.o
78 Homepage: http://www.devrieze.net

Replies

Subject Author
Re: [gentoo-dev] RFC: GLEP 49 - Package manager requirements Thomas Cort <tcort@g.o>