Gentoo Archives: gentoo-dev

From: Ron O'Hara <rono@×××××××××××.au>
To: stuart@g.o
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Large scale deployments - and portage
Date: Sun, 17 Aug 2003 23:48:34
Message-Id: 3F400F68.3080806@sentuny.com.au
In Reply to: Re: [gentoo-dev] Large scale deployments - and portage by Stuart Herbert
1 Hi Stuart,
2
3 >You might want to have a look at running your own (internal) rsync mirror for
4 >your Gentoo boxes - and your own (internal) distfiles mirror too. This gives
5 >you complete control over what ebuilds your many Gentoo machines will get,
6 >and ensures that you can roll out software long after it has been removed
7 >from Gentoo's portage (we delete 'old' files all the time, when we believe
8 >they're obsolete, which really screws up consistency across a large
9 >deployment. However, with your own internal mirror, you can keep these
10 >ebuilds and their distfiles around long after Gentoo has dropped them!)
11 >
12
13 Having your own rsync mirror is only really like having a single extra
14 'tag'... although it does address the issue of ebuilds that disappear.
15 (so does /usr/local/portage)
16 The other deficiency with running your own rsyncmirror is just that it's
17 effectively a private 'fork' - that pushes lots of the maintenance
18 issues back into your own lap. A primary benefit of using any 'distro'
19 is that a bigger team is keeping an eye on all the changes going on.
20 With a commercially backed distro like RedHat you are hoping that they
21 have the financial resources to keep on supporting that distro and
22 creating RPMS to match the old releases. You also have a defined
23 statement about how long a particular old release is supported.
24
25 Personally, I prefer the open source community approach for real
26 guarantees that support will continue -even if I need to do a little bit
27 of it myself on behalf of the community - and this is a different issue
28 from the idea of supporting 'tags' against the emerge sync. The
29 community (collectively) has more resources than any individual or company.
30
31 You are also right that removing 'old' files from portage is an issue...
32 in fact probably a show stopper in some instances. Perhaps the solution
33 is to look at it as if the portage tree is under CVS control. That would
34 make the unstable "~arch" stuff associated with the HEAD of the tree.
35 You would need a label to identify the equivelant of the 'stable'
36 branch. Other labels would represent the 'tag's available for using
37 with emerge sync.
38 In this style of setup, old ebuilds are not 'deleted' - just removed
39 from the stable and HEAD parts of the tree. IE. They still exists within
40 the 'tag' that represents the historical development of gentoo. They are
41 no longer maintained, but are still part of an 'old release' (or tag)
42 (I'm really thinking of it more in terms of a Clearcase style version
43 control file system where a user has a 'view' of the files at a
44 particular point in time on a particular branch of development - maybe
45 use http://www.gnu.org/directory/sysadmin/vc/cvsfs.html ???)
46
47 The associated space and bandwidth issues for mirror sites can be
48 addressed by only mirroring the HEAD and 'stable' parts - this is the
49 same as the current level.
50
51
52 It then becomes easy to implement a policy for support of 'back
53 releases' - you could just choose something like - "gentoo maintains
54 four years worth of tagged versions." Not only that, if any company
55 wants to have a longer timeframe supported, then they only need to offer
56 disk space and bandwidth support to achieve this - or THEN run their own
57 rsync mirror.
58 Since gentoo is a source level distro, many of the hassles that RedHat,
59 Mandrake etc have making RPMS for old releases dont apply.
60
61 I'm NOT implying developer support for 'old' ebuilds - but if package
62 'xzy' used to be available with Gentoo in Aug2002, it should still be
63 available when you are building a system at that version level. This
64 would also mean that if someone really must have it supported - then
65 they can do it themselves and get it moved back into the main branch. If
66 this 'tag' idea makes it attactive for companies to use Gentoo, then I
67 would expect an explosion in the number of active (company paid)
68 developers maintaining the ebuilds of little programs that the core team
69 could not justify supporting.
70
71
72 Another thing that running your own rsync mirror can never achieve is
73 third party vendor certification. Having defined 'tags' would allow
74 companies like Oracle to certify a particular version of Gentoo as being
75 supported. Thats not currently possible. The very power and flexibility
76 that Gentoo gives developers is also totally incompatible with the major
77 software vendor QA techniques. Using a 'tag' would go a long way to
78 overcoming this.
79 It would become possible for people like SAP to certify their products
80 as supported with specific 'make.conf' settings for a specific tag.
81 Thats enough to make Gentoo fine for both the Quality Assured type large
82 deployment and yet still retain brilliant upgrade and security patch
83 capabilities.
84
85 Cheers
86 Ron
87
88 >
89 >Tbh, it's a hack, rather than a nice solid server/client enterprise-ready
90 >Portage solution, but it's one that does work.
91 >
92 >Best regards,
93 >Stu
94 >
95 >
96
97
98
99 --
100 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Large scale deployments - and portage Matt Thrailkill <xwred1@×××××××××.net>