Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Collecting opinions about GLEP 55 and alternatives
Date: Wed, 25 Feb 2009 02:41:42
Message-Id: 49A4AFB7.7090005@gentoo.org
In Reply to: [gentoo-dev] Collecting opinions about GLEP 55 and alternatives by "Petteri Räty"
1 Petteri Räty wrote:
2 > Let's try something new. I would like to get opinions from as many
3 > people as possible about GLEP 55 and alternatives listed here in order
4 > to get some idea what the general developer pool thinks. Everyone is
5 > only allowed to post a single reply to this thread in order to make it
6 > easy to read through. The existing thread should be used for actual
7 > discussion about the GLEP and the alternatives. This should be a useful
8 > experiment to see if we can control ourselves :)
9 >
10 > My notes so far:
11 >
12 > 1) Status quo
13 > - does not allow changing inherit
14 > - bash version in global scope
15 > - global scope in general is quite locked down
16 >
17 > 2) EAPI in file extension
18 > - Allows changing global scope and the internal format of the ebuild
19 > a) .ebuild-<eapi>
20 > - ignored by current Portage
21 > b) .<eapi>.ebuild
22 > - current Portage does not work with this
23 > c) .<eapi>.<new extension>
24 > - ignored by current Portage
25 >
26 > 3) EAPI in locked down place in the ebuild
27 > - Allows changing global scope
28 > - EAPI can't be changed in an existing ebuild so the PM can trust
29 > the value in the cache
30 > - Does not allow changing versioning rules unless version becomes a
31 > normal metadata variable
32 > * Needs more accesses to cache as now you don't have to load older
33 > versions if the latest is not masked
34 > a) <new extension>
35 > b) new subdirectory like ebuilds/
36 > - we could drop extension all together so don't have to argue about
37 > it any more
38 > - more directory reads to get the list of ebuilds in a repository
39 > c) .ebuild in current directory
40 > - needs one year wait
41 >
42 > Regards,
43 > Petteri
44 >
45
46 Thanks for gathering input from the dev community. I do not wish to
47 respond to the monster thread (and won't).
48
49 Personally, I don't need the flexibility that glep55 provides for *my*
50 ebuilds. The current scheme doesn't bother me. And actually, after doing
51 some testing, I found that at least one of that packages/projects that I
52 am involved in will need updating every time the extension changes (or
53 some more broad change - I don't have time to investigate too much tbh).
54 So, I would prefer that the file extension did not change [much/every
55 eapi]. However, I can roll with the punches if it truely is needed. I
56 also understand that some change is good in the long run even if it has
57 some upfront cost to it.
58
59 However, in case that this discussion gets deferred until later, I would
60 like to express that the Council should "request" (not demand) that
61 portage adds support for the leading 2 ideas that result from the
62 current discussion. This will allow us to not wait even longer when we
63 are having this discussion in 2010 (hypothetically).
64
65 Thanks for listening, Petteri.
66 -Jeremy