Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3
Date: Mon, 09 Mar 2009 20:26:38
Message-Id: 20090309202624.723e4b2a@snowcone
In Reply to: [gentoo-dev] Ideas for a (fast) EAPI=3 by "Tiziano Müller"
1 On Sun, 08 Mar 2009 08:49:16 +0100
2 Tiziano Müller <dev-zero@g.o> wrote:
3 > http://spreadsheets.google.com/ccc?key=pPAJXP6shYH78lCXeqRqCUQ
4
5 Here're some more easy ones.
6
7 First up, un-optionaling some optional things. No impact for developers:
8
9 * PROPERTIES must be cached properly (it's optional in current EAPIs)
10
11 * DEFINED_PHASES must be supported (ditto)
12
13 Next, some probably easy but long standing features:
14
15 * src_test run unless RESTRICTed or explicitly disabled by the user (bug
16 184812)
17
18 * have econf run ./configure with --disable-dependency-tracking and
19 --enable-fast-install (bug 211529)
20
21 * Limit values in $USE to ones in $IUSE (bug 176467). The existing
22 behaviour's majorly annoying; time for the package manager to start
23 enforcing things strictly.
24
25 Some things we should probably sort out:
26
27 * The list of extensions for unpack probably needs a couple of new
28 things.
29
30 * Provide ebuilds a way to differentiate between updates and removals
31 (bug 205557), since the way devmanual says to do it got broken by a
32 non-EAPIed change. This one's slightly trickier than initially
33 apparent, because a solution's needed for the weird cases. One
34 example is if you have foo-1:1 and foo-2:2 installed, and you're
35 installing foo-2:1. In this case, it's both a reinstall and an
36 upgrade. One possibility is a REPLACING_VERSIONS variable that
37 contains a list of all versions being replaced, along with a
38 REPLACED_BY_VERSION variable for the pre/postrm part.
39
40 Not sure if these can go in in time for Portage or not:
41
42 * Utility commands, even the ones that aren't functions, should die. To
43 get a non-die version, prefix the command with nonfatal (e.g.
44 'nonfatal dodoc README', which just returns non-zero on failure
45 rather than splatting).
46
47 * Calling unpack on an unrecognised extension should be fatal, unless
48 --if-compressed is specified. The default src_unpack needs to use
49 this.
50
51 * pkg_info should work on things that aren't installed, as well as
52 things that are.
53
54 --
55 Ciaran McCreesh

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Zac Medico <zmedico@g.o>
[gentoo-dev] Re: Ideas for a (fast) EAPI=3 Christian Faulhammer <fauli@g.o>
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Donnie Berkholz <dberkholz@g.o>
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Peter Alfredsen <loki_val@g.o>
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 "Sébastien Fabbro" <bicatali@g.o>
Re: [gentoo-dev] Ideas for a (fast) EAPI=3 Doug Goldstein <cardoe@g.o>