List Archive: gentoo-dev
On Sun, 08 Mar 2009 08:49:16 +0100
Tiziano Müller <dev-zero@g.o> wrote:
> http://spreadsheets.google.com/ccc?key=pPAJXP6shYH78lCXeqRqCUQ
Here're some more easy ones.
First up, un-optionaling some optional things. No impact for developers:
* PROPERTIES must be cached properly (it's optional in current EAPIs)
* DEFINED_PHASES must be supported (ditto)
Next, some probably easy but long standing features:
* src_test run unless RESTRICTed or explicitly disabled by the user (bug
184812)
* have econf run ./configure with --disable-dependency-tracking and
--enable-fast-install (bug 211529)
* Limit values in $USE to ones in $IUSE (bug 176467). The existing
behaviour's majorly annoying; time for the package manager to start
enforcing things strictly.
Some things we should probably sort out:
* The list of extensions for unpack probably needs a couple of new
things.
* Provide ebuilds a way to differentiate between updates and removals
(bug 205557), since the way devmanual says to do it got broken by a
non-EAPIed change. This one's slightly trickier than initially
apparent, because a solution's needed for the weird cases. One
example is if you have foo-1:1 and foo-2:2 installed, and you're
installing foo-2:1. In this case, it's both a reinstall and an
upgrade. One possibility is a REPLACING_VERSIONS variable that
contains a list of all versions being replaced, along with a
REPLACED_BY_VERSION variable for the pre/postrm part.
Not sure if these can go in in time for Portage or not:
* Utility commands, even the ones that aren't functions, should die. To
get a non-die version, prefix the command with nonfatal (e.g.
'nonfatal dodoc README', which just returns non-zero on failure
rather than splatting).
* Calling unpack on an unrecognised extension should be fatal, unless
--if-compressed is specified. The default src_unpack needs to use
this.
* pkg_info should work on things that aren't installed, as well as
things that are.
--
Ciaran McCreesh
|
|