Gentoo Archives: gentoo-dev

From: Ferris McCormick <fmccor@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Collecting opinions about GLEP 55 and alternatives
Date: Tue, 24 Feb 2009 22:49:30
Message-Id: 20090224224910.67076fd4@anaconda.krait.us
In Reply to: [gentoo-dev] Collecting opinions about GLEP 55 and alternatives by "Petteri Räty"
1 On Wed, 25 Feb 2009 00:21:23 +0200
2 Petteri Räty <betelgeuse@g.o> wrote:
3
4 > Let's try something new. I would like to get opinions from as many
5 > people as possible about GLEP 55 and alternatives listed here in order
6 > to get some idea what the general developer pool thinks. Everyone is
7 > only allowed to post a single reply to this thread in order to make it
8 > easy to read through. The existing thread should be used for actual
9 > discussion about the GLEP and the alternatives. This should be a useful
10 > experiment to see if we can control ourselves :)
11 >
12 > My notes so far:
13 >
14 > 1) Status quo
15 > - does not allow changing inherit
16 > - bash version in global scope
17 > - global scope in general is quite locked down
18 >
19 > 2) EAPI in file extension
20 > - Allows changing global scope and the internal format of the ebuild
21 > a) .ebuild-<eapi>
22 > - ignored by current Portage
23
24 This is GLEP-55 I think, and it is my preference. It seems to solve
25 the problem that the glep sets out to solve and has no effect on
26 current portage. I don't claim that it's beautiful or perfect, but I
27 have not seen a better alternative, either. It also has going for it
28 the fact that some number of people have already thought through it and
29 Piotr went to the effort of writing it up as a proposal, so it has had
30 more thought put into it than alternatives. I do not find the
31 arguments against it persuasive, so I'd say do this and be done with
32 it. We can argue forever for better alternatives, but I don't see that
33 we are getting very far with that approach. Just my opinion, of course.
34
35 > b) .<eapi>.ebuild
36 > - current Portage does not work with this
37 > c) .<eapi>.<new extension>
38 > - ignored by current Portage
39
40 This one's OK with me, too, if people prefer it.
41
42 >
43 > 3) EAPI in locked down place in the ebuild
44
45 I generally dislike this sort of thing, and I think it puts more of a
46 strain of the ebuild developers. But then, I'm not an package
47 developer, so my opinion with respect to this is not worth much. I'd
48 just rather see the EAPI visible in the file name than have to read the
49 ebuild to find it, and I guess the overhead argument is that it's
50 easier on portage not to have to do that, too.
51
52 > - Allows changing global scope
53 > - EAPI can't be changed in an existing ebuild so the PM can trust
54 > the value in the cache
55 > - Does not allow changing versioning rules unless version becomes a
56 > normal metadata variable
57 > * Needs more accesses to cache as now you don't have to load older
58 > versions if the latest is not masked
59 > a) <new extension>
60
61 I don't see why this is better than the glep 55 proposal???
62
63 > b) new subdirectory like ebuilds/
64
65 Yuch.
66
67 > - we could drop extension all together so don't have to argue about
68 > it any more
69 > - more directory reads to get the list of ebuilds in a repository
70 > c) .ebuild in current directory
71 > - needs one year wait
72 >
73 > Regards,
74 > Petteri
75 >
76
77 Regards,
78 Ferris
79 --
80 Ferris McCormick (P44646, MI) <fmccor@g.o>
81 Developer, Gentoo Linux (Sparc, Userrel, Trustees)

Attachments

File name MIME type
signature.asc application/pgp-signature