Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: RFC: Make 10.0 profiles EAPI-2 'compliant'
Date: Sat, 22 Aug 2009 03:41:34
Message-Id: pan.2009.08.22.03.40.57@cox.net
In Reply to: Re: [gentoo-dev] Re: RFC: Make 10.0 profiles EAPI-2 'compliant' by Robert Buchholz
1 Robert Buchholz posted on Sat, 22 Aug 2009 01:44:51 +0200 as excerpted:
2
3 > I wonder what the value of the PMS specification is if every time an
4 > inconsistency comes up the argument is raised that it should document
5 > portage behavior. EAPI 1, 2 and 3 have been agreed by the council and
6 > PMS is in a stage where Portage should obey its definitions and not the
7 > other way around.
8
9 > Trying to ignore the fact this standard exists is a way to breakage.
10
11 There are, as I see it, two issues here.
12
13 1) This feature can be reasonably argued to have fallen thru the cracks,
14 since it was actually implemented before PMS. Yes, the committing
15 documentation said it was for user config only, but the implementation
16 was in general, and in general, EAPI-0 was to document existing behavior,
17 so we have a problem. It's thus one of a very limited number of
18 candidates, and it's not like there's going to be hundreds more where
19 this came from.
20
21 2) If I'm not mistaken, EAPI-0 has never been fully finalized anyway. It
22 has gotten to preliminary approval, where bugs are supposed to be filed
23 where there's a conflict, and a resolution worked out. All other
24 approved EAPIs have been defined as differences from previous versions,
25 but due to the way EAPI-0 came about, nobody has really been sure enough
26 it's 100% defined, and final approval hasn't happened as a result. Given
27 that this feature was there before PMS. despite what the documentation
28 actually said, it's precisely the type of bug that was intended to be
29 covered by the preliminary approval, and hammering it out as that
30 preliminary approval outlined is where we're at right now.
31
32 If #2 is indeed correct, then we don't have a loophole, we have a
33 legitimate bug that's we're in the process of hashing out, and it's not
34 at all clear cut whether the bug is in portage and arguably the original
35 documentation or in PMS. That's a matter of viewpoint that will likely
36 take a council vote to solve.
37
38 However, as I pointed out on the bug, either way it's not particularly
39 difficult to solve it. Should council decide to run with the existing
40 portage behavior, since it has been there for years, the old pre-PMS wait-
41 a-year before changes can be allowed in tree need not apply. I suggested
42 30-90 days before it's allowed in official overlays, and 90-180 days
43 before it's allowed in-tree, altho using it only in the new profiles
44 works too.
45
46 If it goes the other way, then as Zac points out, it's a simple matter to
47 change the portage documentation once again, and since it's not in-tree
48 yet (well, at least before the new-profile announcement, and anything
49 that new and limited to them can be reverted fairly easily too), not a
50 big deal. It can then wait for EAPI-4
51
52 But regardless, it /does/ appear it'll take a council vote on this, one
53 way or the other. The matter has been requested for the next council
54 meeting. I'd hope everybody can agree to just slow down a bit until
55 then. (Zac just committed a portage documentation note mentioning it's
56 not in PMS yet, and no intervening releases have been made with the
57 questioned wording /without/ that clause, AFAIK, so that end's covered.)
58 If at that point it's postponed, that too is effectively a decision, but
59 I should hope it won't be postponed, as it's relatively simple either
60 way, and we need a resolution from council, as the authoritative body
61 designated to resolve such issues, both in general, and if I'm not
62 mistaken, in the preliminary EAPI-0 approval.
63
64 --
65 Duncan - List replies preferred. No HTML msgs.
66 "Every nonfree program has a lord, a master --
67 and if you use the program, he is your master." Richard Stallman