Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] GLEP33: Eclass restructure
Date: Wed, 23 Feb 2005 00:57:28
Message-Id: 20050223005705.GB13575@freedom.wit.com
In Reply to: Re: [gentoo-dev] GLEP33: Eclass restructure by Gustavo de Lama
1 On Tue, Feb 22, 2005 at 04:57:50PM +0100, Gustavo de Lama wrote:
2 > The matter is I cant but give my two cents and say: SLOT.
3 Not possible, unfortunately :)
4
5 The problem is, eclasses aren't installed really- they're just updated alongside ebuilds. They are _part_ of the
6 ebuild in essence, so they're required to be available just to get the metadata out of an ebuild (the SLOT setting
7 for example). So that ixnays it pretty effectively- slot is useful/relevant only for installing packages- since
8 eclasses themselves aren't installed (any more then an unmerged ebuild is 'installed'), not possible.
9
10 The other issue, and this is why eclasses are proposed to be moved within the tree, is that since eclasses are
11 'live', constantly in use, the slotting concept doesn't work- you need some way to transfer over from the existing
12 eclasses in the tree, to a point where the eclasses no longer have to maintain the exact api for years on end.
13
14 If you're proposing basically having a 'new' eclass whenever the api is changed, for stable portage, yeah,
15 that's the route that would _have_ to be taken for any removals from an eclasses existing api.
16
17 For portage cvs head, it's not _required_ though, so instead of it being a req (never remove an eclass, or a func
18 from it's api, only add), the decision of 'versioning'/'slotting' via a new eclass name is completely up to the
19 eclass maintainer.
20
21 Re-iterating, that is the reason why the relocation of eclasses within the tree is required- the 'new' eclasses that don't
22 have the non-subtractable api requirements, due to their dynamic nature *cannot* be accessible by older portage
23 versions.
24
25 If (for example) current stable portage could use one of the 'dynamic' eclasses, it would result in pretty much
26 continual borkage/failures for that system, which isn't desirable. :)
27 ~brian
28 --
29 gentoo-dev@g.o mailing list