portage.git
16 years agoFix broken logic in Scheduler._main_loop() which would allow the main loop to
Zac Medico [Thu, 2 Oct 2008 02:52:41 +0000 (02:52 -0000)]
Fix broken logic in Scheduler._main_loop() which would allow the main loop to
exit while one or more merges are still scheduled. Thanks to Patrick Lauer for
reporting.

svn path=/main/trunk/; revision=11607

16 years agoCall elog_process before calling the "clean" phase for --buildpkgonly mode.
Zac Medico [Thu, 2 Oct 2008 00:57:46 +0000 (00:57 -0000)]
Call elog_process before calling the "clean" phase for --buildpkgonly mode.

svn path=/main/trunk/; revision=11606

16 years agoWhen parsing PORTAGE_ELOG_SYSTEM, stack values in a dict so that things like
Zac Medico [Thu, 2 Oct 2008 00:44:51 +0000 (00:44 -0000)]
When parsing PORTAGE_ELOG_SYSTEM, stack values in a dict so that things like
"echo:info echo:qa" stack like one might expect. Thanks to Betelgeuse for
reporting.

svn path=/main/trunk/; revision=11605

16 years agoBug #239272 - Handle InvalidAtom exception inside
Zac Medico [Wed, 1 Oct 2008 21:17:32 +0000 (21:17 -0000)]
Bug #239272 - Handle InvalidAtom exception inside
depgraph.validate_blockers().

svn path=/main/trunk/; revision=11604

16 years agoGenerate an eqawarn message if econf is called from src_compile and
Zac Medico [Wed, 1 Oct 2008 17:43:37 +0000 (17:43 -0000)]
Generate an eqawarn message if econf is called from src_compile and
src_configure is also defined. Thanks to Betelgeuse for the patch which
I've modified to be silent in EAPI 0 or 1 in case ebuilds want to define
src_configure in those EAPIs and call it manually from src_compile.

svn path=/main/trunk/; revision=11603

16 years agoHandle InvalidDependString from portdbapi.getFetchMap() inside
Zac Medico [Tue, 30 Sep 2008 15:16:03 +0000 (15:16 -0000)]
Handle InvalidDependString from portdbapi.getFetchMap() inside
search.output(). Thanks to agaffney for reporting.

svn path=/main/trunk/; revision=11602

16 years agoNow that elog_base() uses 'echo -e' to expand escape codes prior to using
Zac Medico [Tue, 30 Sep 2008 01:06:20 +0000 (01:06 -0000)]
Now that elog_base() uses 'echo -e' to expand escape codes prior to using
'read' to split on newlines, it's safe to use newlines as delimiters in
the log file since 'read' is guaranteed to split any newlines contained
in the arguments.

svn path=/main/trunk/; revision=11601

16 years agoBug #239006 - In FakeVartree._aux_get_wrapper(), fall back to vdb metadata
Zac Medico [Mon, 29 Sep 2008 16:58:48 +0000 (16:58 -0000)]
Bug #239006 - In FakeVartree._aux_get_wrapper(), fall back to vdb metadata
if the live ebuild's EAPI is unsupported.

svn path=/main/trunk/; revision=11600

16 years agoallow the portage.sets. prefix to be omitted in 'class' options of set definitions
Marius Mauch [Mon, 29 Sep 2008 00:18:59 +0000 (00:18 -0000)]
allow the portage.sets. prefix to be omitted in 'class' options of set definitions

svn path=/main/trunk/; revision=11599

16 years agoAdd a new DummyPackageSet handler to make set operators easier to use
Marius Mauch [Sun, 28 Sep 2008 23:38:28 +0000 (23:38 -0000)]
Add a new DummyPackageSet handler to make set operators easier to use

svn path=/main/trunk/; revision=11598

16 years agoremove the 'repository' option from CategorySet in favor of the generic 'intersect...
Marius Mauch [Sun, 28 Sep 2008 23:02:25 +0000 (23:02 -0000)]
remove the 'repository' option from CategorySet in favor of the generic 'intersect' option

svn path=/main/trunk/; revision=11597

16 years agoallow selection of metadata source for VariableSet
Marius Mauch [Sun, 28 Sep 2008 22:55:35 +0000 (22:55 -0000)]
allow selection of metadata source for VariableSet

svn path=/main/trunk/; revision=11596

16 years agomake sure that cli-defined sets aren't added to @world
Marius Mauch [Sun, 28 Sep 2008 22:36:42 +0000 (22:36 -0000)]
make sure that cli-defined sets aren't added to @world

svn path=/main/trunk/; revision=11595

16 years agoFor compatibility with long-standing --columns behavior, do not display
Zac Medico [Sun, 28 Sep 2008 22:28:19 +0000 (22:28 -0000)]
For compatibility with long-standing --columns behavior, do not display
"uninstall" or satsified "blocks" nodes in the merge list when --columns
is enabled. Thanks to solar for the suggestion.

svn path=/main/trunk/; revision=11594

16 years agoadd support for slot dependencies (original patch by Robert Buchholz <rbu@gentoo...
Marius Mauch [Sun, 28 Sep 2008 19:15:43 +0000 (19:15 -0000)]
add support for slot dependencies (original patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11593

16 years agouse summarylist for output of test mode when --verbose is given (patch by Robert...
Marius Mauch [Sun, 28 Sep 2008 18:59:47 +0000 (18:59 -0000)]
use summarylist for output of test mode when --verbose is given (patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11592

16 years agosort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)
Marius Mauch [Sun, 28 Sep 2008 18:58:29 +0000 (18:58 -0000)]
sort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11591

16 years agoprint dates in a consistent format (patch by Robert Buchholz <rbu@gentoo.org>)
Marius Mauch [Sun, 28 Sep 2008 18:50:02 +0000 (18:50 -0000)]
print dates in a consistent format (patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11590

16 years agoalso accept glsa-2.dtd as valid for GLSAs (patch by Robert Buchholz <rbu@gentoo.org>)
Marius Mauch [Sun, 28 Sep 2008 18:41:56 +0000 (18:41 -0000)]
also accept glsa-2.dtd as valid for GLSAs (patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11589

16 years agoaccount for DTD changes wrt 'revised' element (patch by Robert Buchholz <rbu@gentoo...
Marius Mauch [Sun, 28 Sep 2008 18:39:44 +0000 (18:39 -0000)]
account for DTD changes wrt 'revised' element (patch by Robert Buchholz <rbu@gentoo.org>)

svn path=/main/trunk/; revision=11588

16 years agodocument AgeSet handler class
Marius Mauch [Sun, 28 Sep 2008 18:09:01 +0000 (18:09 -0000)]
document AgeSet handler class

svn path=/main/trunk/; revision=11587

16 years agoupdate set config documentation to include extend, remove and intersect options
Marius Mauch [Sun, 28 Sep 2008 17:57:45 +0000 (17:57 -0000)]
update set config documentation to include extend, remove and intersect options

svn path=/main/trunk/; revision=11586

16 years agouse ignorelist to avoid potential infite loop
Marius Mauch [Sun, 28 Sep 2008 17:33:00 +0000 (17:33 -0000)]
use ignorelist to avoid potential infite loop

svn path=/main/trunk/; revision=11585

16 years agoAdd operator logic to sets.conf
Marius Mauch [Sun, 28 Sep 2008 17:27:44 +0000 (17:27 -0000)]
Add operator logic to sets.conf

svn path=/main/trunk/; revision=11584

16 years agoProperly process set arguments inside set expressions
Marius Mauch [Sun, 28 Sep 2008 17:02:51 +0000 (17:02 -0000)]
Properly process set arguments inside set expressions

svn path=/main/trunk/; revision=11583

16 years agodisable redefintion errors when updating the set definitions
Marius Mauch [Sun, 28 Sep 2008 17:01:58 +0000 (17:01 -0000)]
disable redefintion errors when updating the set definitions

svn path=/main/trunk/; revision=11582

16 years agoimplement set arguments to reconfigure and create package sets on the commandline
Marius Mauch [Sun, 28 Sep 2008 16:08:50 +0000 (16:08 -0000)]
implement set arguments to reconfigure and create package sets on the commandline

svn path=/main/trunk/; revision=11581

16 years agoAnother correctness fix in BlockerDB.findInstalledBlockers().
Zac Medico [Sat, 27 Sep 2008 22:16:26 +0000 (22:16 -0000)]
Another correctness fix in BlockerDB.findInstalledBlockers().

svn path=/main/trunk/; revision=11576

16 years agoFix code inside BlockerDB.findInstalledBlockers() to correctly strip multiple
Zac Medico [Sat, 27 Sep 2008 22:10:26 +0000 (22:10 -0000)]
Fix code inside BlockerDB.findInstalledBlockers() to correctly strip multiple
"!" characters when necessary. The code seemed to work fine anyway so this is
more a correctness fix than a bug fix.

svn path=/main/trunk/; revision=11575

16 years agoEAPI 2 is now supported.
Zac Medico [Sat, 27 Sep 2008 20:04:55 +0000 (20:04 -0000)]
EAPI 2 is now supported.

svn path=/main/trunk/; revision=11574

16 years agoMask packages with deprecated EAPIs in order to prevent them from being
Zac Medico [Sat, 27 Sep 2008 19:24:10 +0000 (19:24 -0000)]
Mask packages with deprecated EAPIs in order to prevent them from being
installed. Such packages will still behave normally if they are already
installed, but preventing new installation will remind people to update
the EAPIs in their overlays if necessary.

svn path=/main/trunk/; revision=11573

16 years agoIn the --depclean docs, there's no need to advise the user to use --oneshot
Zac Medico [Sat, 27 Sep 2008 05:55:10 +0000 (05:55 -0000)]
In the --depclean docs, there's no need to advise the user to use --oneshot
when updating @system @world since @system now has world-candidate set to
False by default.

svn path=/main/trunk/; revision=11564

16 years agoMake $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes created
Zac Medico [Sat, 27 Sep 2008 00:08:42 +0000 (00:08 -0000)]
Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes created
later.

svn path=/main/trunk/; revision=11563

16 years agoAdd PROPERTIES to the list of USE evaluated keys for the Packages index.
Zac Medico [Fri, 26 Sep 2008 23:00:01 +0000 (23:00 -0000)]
Add PROPERTIES to the list of USE evaluated keys for the Packages index.

svn path=/main/trunk/; revision=11562

16 years agoAdd PROPERTIES to all of the metadata caches.
Zac Medico [Fri, 26 Sep 2008 21:40:55 +0000 (21:40 -0000)]
Add PROPERTIES to all of the metadata caches.

svn path=/main/trunk/; revision=11561

16 years agoUpdate hardcoded auxdbkey_order attributes to include PROPERTIES.
Zac Medico [Fri, 26 Sep 2008 19:20:04 +0000 (19:20 -0000)]
Update hardcoded auxdbkey_order attributes to include PROPERTIES.

svn path=/main/trunk/; revision=11560

16 years agoBug #238766 - Revert the fetch() mirror:// behavior change from r11537 since v2.2_rc11
Zac Medico [Fri, 26 Sep 2008 15:00:03 +0000 (15:00 -0000)]
Bug #238766 - Revert the fetch() mirror:// behavior change from r11537 since
it wasn't actually needed to comply with PMS 9.2.8, and the change actuall
caused incorrect mirror fetching behavior.

svn path=/main/trunk/; revision=11558

16 years agoAdd back code removed in r11553 and fix logic to avoid IndexError. v2.2_rc10
Zac Medico [Fri, 26 Sep 2008 03:13:33 +0000 (03:13 -0000)]
Add back code removed in r11553 and fix logic to avoid IndexError.

svn path=/main/trunk/; revision=11556

16 years agoHandle possible CacheError inside mirror_cache().
Zac Medico [Fri, 26 Sep 2008 02:16:14 +0000 (02:16 -0000)]
Handle possible CacheError inside mirror_cache().

svn path=/main/trunk/; revision=11555

16 years agoDirect EOutput.eerror() and ewarn() output to stderr.
Zac Medico [Fri, 26 Sep 2008 01:48:20 +0000 (01:48 -0000)]
Direct EOutput.eerror() and ewarn() output to stderr.

svn path=/main/trunk/; revision=11554

16 years agoFix a potential IndexError inside display_preserved_libs().
Zac Medico [Fri, 26 Sep 2008 01:45:17 +0000 (01:45 -0000)]
Fix a potential IndexError inside display_preserved_libs().

svn path=/main/trunk/; revision=11553

16 years agoMake flat_hash write keys in alphabetical order.
Zac Medico [Fri, 26 Sep 2008 01:15:44 +0000 (01:15 -0000)]
Make flat_hash write keys in alphabetical order.

svn path=/main/trunk/; revision=11552

16 years agoRename the EAPI 2 docs and to indicate that they are no longer a draft, and
Zac Medico [Fri, 26 Sep 2008 00:16:29 +0000 (00:16 -0000)]
Rename the EAPI 2 docs and to indicate that they are no longer a draft, and
remove the EAPI 2_pre* docs.

svn path=/main/trunk/; revision=11551

16 years agoBump to EAPI 2.
Zac Medico [Fri, 26 Sep 2008 00:09:06 +0000 (00:09 -0000)]
Bump to EAPI 2.

svn path=/main/trunk/; revision=11550

16 years agoAdd PROPERTIES to portage.auxdbkeys since it's been approved by the council.
Zac Medico [Thu, 25 Sep 2008 23:42:13 +0000 (23:42 -0000)]
Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.

svn path=/main/trunk/; revision=11549

16 years agoFix mirror_cache() so it won't silently swallow a KeyError if _mtime_ or
Zac Medico [Thu, 25 Sep 2008 23:29:37 +0000 (23:29 -0000)]
Fix mirror_cache() so it won't silently swallow a KeyError if _mtime_ or
_eclass_ happens to be missing from the cache data for some reason.

svn path=/main/trunk/; revision=11548

16 years agoEnsure that cache modules always return a dict containing the _eclasses_
Zac Medico [Thu, 25 Sep 2008 23:13:52 +0000 (23:13 -0000)]
Ensure that cache modules always return a dict containing the _eclasses_
key.

svn path=/main/trunk/; revision=11547

16 years agoFix message: s/One or packages/One or more packages/. Thanks to Marijn
Zac Medico [Thu, 25 Sep 2008 21:23:20 +0000 (21:23 -0000)]
Fix message: s/One or packages/One or more packages/. Thanks to Marijn
Schouten <hkBst@g.o> for reporting.

svn path=/main/trunk/; revision=11546

16 years agoUse echo -e when splitting lines in e* functions, for compatibility with
Zac Medico [Thu, 25 Sep 2008 18:58:38 +0000 (18:58 -0000)]
Use echo -e when splitting lines in e* functions, for compatibility with
previous behavior wrt \e escape codes such as `elog "\e[31m***\e[0m"` for
example. Thanks to Arfrever for finding this solution.

svn path=/main/trunk/; revision=11545

16 years agochange set expression syntax: operators now have a @ suffix (IOW: all operands must...
Marius Mauch [Thu, 25 Sep 2008 17:03:18 +0000 (17:03 -0000)]
change set expression syntax: operators now have a @ suffix (IOW: all operands must be prefixed with @) to maintain compability with existing set names containing hyphens

svn path=/main/trunk/; revision=11544

16 years agoimplement simple expression logic for apckage sets to generate unions, intersections...
Marius Mauch [Thu, 25 Sep 2008 16:37:06 +0000 (16:37 -0000)]
implement simple expression logic for apckage sets to generate unions, intersections and differences of two or more package sets

svn path=/main/trunk/; revision=11543

16 years agomove set expansion code into its own function
Marius Mauch [Thu, 25 Sep 2008 15:45:13 +0000 (15:45 -0000)]
move set expansion code into its own function

svn path=/main/trunk/; revision=11542

16 years agorelocate the post_emerge call so it gets called in more situations.
Marius Mauch [Thu, 25 Sep 2008 15:26:50 +0000 (15:26 -0000)]
relocate the post_emerge call so it gets called in more situations.

svn path=/main/trunk/; revision=11541

16 years agoAdd a new AgeSet class to select installed packages that have been installed more...
Marius Mauch [Thu, 25 Sep 2008 15:25:27 +0000 (15:25 -0000)]
Add a new AgeSet class to select installed packages that have been installed more/less than n days ago

svn path=/main/trunk/; revision=11540

16 years agoFix the case where all arguments are filtered out by
Zac Medico [Thu, 25 Sep 2008 13:30:33 +0000 (13:30 -0000)]
Fix the case where all arguments are filtered out by
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES, since otherwise 'set' was
called with no arguments which caused the environment to be
displayed on stdout.

svn path=/main/trunk/; revision=11539

16 years agoBug #238550 - Set world-candidate = False for the @system since the portage
Zac Medico [Thu, 25 Sep 2008 01:24:00 +0000 (01:24 -0000)]
Bug #238550 - Set world-candidate = False for the @system since the portage
ebuild will now automatically add @system to world_sets on upgrade and
therefore it should no longer be necessary to add it world_sets via the
command line.

svn path=/main/trunk/; revision=11538

16 years agoFix fetch() mirror:// handling in to comply with section 9.2.8 of PMS.
Zac Medico [Wed, 24 Sep 2008 19:09:07 +0000 (19:09 -0000)]
Fix fetch() mirror:// handling in to comply with section 9.2.8 of PMS.

svn path=/main/trunk/; revision=11537

16 years agoImport cPickle as pickle instead of vice versa. Eases 2to3's job because
Zac Medico [Tue, 23 Sep 2008 20:04:09 +0000 (20:04 -0000)]
Import cPickle as pickle instead of vice versa. Eases 2to3's job because
cPickle won't exist in py3k and 2to3 does s/cPickle/pickle. Thanks to
Ali Polatel <hawking@g.o> for this patch.

svn path=/main/trunk/; revision=11536

16 years agoBug #230975 - Rename the portage.selinux module to portage._selinux in order
Zac Medico [Mon, 22 Sep 2008 20:28:15 +0000 (20:28 -0000)]
Bug #230975 - Rename the portage.selinux module to portage._selinux in order
to avoid a relative import issue which caused portage.selinux to attempt to
import itself instead of the real 'selinux' module. Thanks to Michael
Edenfield for this patch.

svn path=/main/trunk/; revision=11535

16 years agoremove deprecation warnings and compat code for 2.1 changes to rsync and action argum...
Marius Mauch [Mon, 22 Sep 2008 11:26:44 +0000 (11:26 -0000)]
remove deprecation warnings and compat code for 2.1 changes to rsync and action argument syntax

svn path=/main/trunk/; revision=11534

16 years agodon't attempt to unmerge a set that doesn't exist anymore
Marius Mauch [Mon, 22 Sep 2008 11:14:46 +0000 (11:14 -0000)]
don't attempt to unmerge a set that doesn't exist anymore

svn path=/main/trunk/; revision=11533

16 years agoAdd a new --list-sets action, as requested by jmbsvicetto. v2.2_rc9
Zac Medico [Sun, 21 Sep 2008 16:53:31 +0000 (16:53 -0000)]
Add a new --list-sets action, as requested by jmbsvicetto.

svn path=/main/trunk/; revision=11531

16 years agoAlways call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.
Zac Medico [Sun, 21 Sep 2008 15:50:08 +0000 (15:50 -0000)]
Always call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.

svn path=/main/trunk/; revision=11530

16 years agoBug #238251 - Use 'read' instead of $IFS for splitting newlines in e*
Zac Medico [Sun, 21 Sep 2008 13:39:22 +0000 (13:39 -0000)]
Bug #238251 - Use 'read' instead of $IFS for splitting newlines in e*
functions, since using $IFS causes spurious newlines to be inserted in
the message when the e* function is called with more than one argument.

svn path=/main/trunk/; revision=11529

16 years agoFix erroneous variable references in the multiset 'Redefinition of set'
Zac Medico [Sun, 21 Sep 2008 05:30:37 +0000 (05:30 -0000)]
Fix erroneous variable references in the multiset 'Redefinition of set'
message.

svn path=/main/trunk/; revision=11528

16 years agoAs requested by jmbsvicetto, add support to StaticFileSet for sets within
Zac Medico [Sat, 20 Sep 2008 18:55:07 +0000 (18:55 -0000)]
As requested by jmbsvicetto, add support to StaticFileSet for sets within
subdirectories. This makes it possible to create a set name foo/bar by
placing a file named bar inside a directory named foo. By allowing sets
to be organized in subdirectories, it will allow us to avoid overcrowding
as the number of sets grows.

svn path=/main/trunk/; revision=11527

16 years agoMore SRC_URI validation.
Zac Medico [Sat, 20 Sep 2008 16:55:27 +0000 (16:55 -0000)]
More SRC_URI validation.

svn path=/main/trunk/; revision=11526

16 years agoFix some broken logic inside portdbapi.getFetchMap().
Zac Medico [Sat, 20 Sep 2008 09:33:49 +0000 (09:33 -0000)]
Fix some broken logic inside portdbapi.getFetchMap().

svn path=/main/trunk/; revision=11525

16 years agoAdd test cases for SRC_URI validation.
Zac Medico [Sat, 20 Sep 2008 08:47:29 +0000 (08:47 -0000)]
Add test cases for SRC_URI validation.

svn path=/main/trunk/; revision=11524

16 years agoAdd a "EAPI 2_pre3" section to show what's changed.
Zac Medico [Sat, 20 Sep 2008 08:17:15 +0000 (08:17 -0000)]
Add a "EAPI 2_pre3" section to show what's changed.

svn path=/main/trunk/; revision=11523

16 years agoImplement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() method
Zac Medico [Sat, 20 Sep 2008 08:02:45 +0000 (08:02 -0000)]
Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() method
is now deprecated and there is a new getFetchMap() method that returns
a dict which maps each file name to a set of alternative URIs. The
portage.fetch() function uses introspection to detect when such a dict
is passed in and handles it appropriately, while maintaining backward
compatibility if a list of uris is passed in.

svn path=/main/trunk/; revision=11522

16 years agoDocument the --ignore-default-opts and --skip-manifest options.
Zac Medico [Sat, 20 Sep 2008 07:57:42 +0000 (07:57 -0000)]
Document the --ignore-default-opts and --skip-manifest options.

svn path=/main/trunk/; revision=11521

16 years agoBug #238157 - Update http_proxy/ftp_proxy docs to show protocol://, for
Zac Medico [Sat, 20 Sep 2008 07:15:26 +0000 (07:15 -0000)]
Bug #238157 - Update http_proxy/ftp_proxy docs to show protocol://, for
compat with rubygems.

svn path=/main/trunk/; revision=11520

16 years agoDefine __all__ and clean up unused imports found by pyflakes.
Zac Medico [Fri, 19 Sep 2008 21:41:23 +0000 (21:41 -0000)]
Define __all__ and clean up unused imports found by pyflakes.

svn path=/main/trunk/; revision=11519

16 years agoDocument the --debug option. Thanks to Jeremy Olexa <darkside@g.o> suggesting.
Zac Medico [Fri, 19 Sep 2008 18:10:16 +0000 (18:10 -0000)]
Document the --debug option. Thanks to Jeremy Olexa <darkside@g.o> suggesting.

svn path=/main/trunk/; revision=11518

16 years agoImplement the new EAPI 2 blocker behavior, including !!atom sytax which
Zac Medico [Fri, 19 Sep 2008 03:28:20 +0000 (03:28 -0000)]
Implement the new EAPI 2 blocker behavior, including !!atom sytax which
forbids temporary simultaneous installation of conflicting packages.

svn path=/main/trunk/; revision=11517

16 years agoFix typo in from previous commit.
Zac Medico [Fri, 19 Sep 2008 01:55:11 +0000 (01:55 -0000)]
Fix typo in from previous commit.

svn path=/main/trunk/; revision=11516

16 years agoRemove everything related to the eapi* default phase functions since they
Zac Medico [Thu, 18 Sep 2008 21:01:35 +0000 (21:01 -0000)]
Remove everything related to the eapi* default phase functions since they
are not included in the current EAPI 2 draft.

svn path=/main/trunk/; revision=11515

16 years agoFix broken reference to self.files inside SpawnProcess._start().
Zac Medico [Mon, 15 Sep 2008 19:30:59 +0000 (19:30 -0000)]
Fix broken reference to self.files inside SpawnProcess._start().

svn path=/main/trunk/; revision=11514

16 years agoImprove error messages for issues with the SYNC variable inside action_sync().
Zac Medico [Mon, 15 Sep 2008 18:54:22 +0000 (18:54 -0000)]
Improve error messages for issues with the SYNC variable inside action_sync().

svn path=/main/trunk/; revision=11513

16 years agoRemove unneeded quotes from PYTHONPATH assignments and also fix one more
Zac Medico [Sat, 13 Sep 2008 23:30:24 +0000 (23:30 -0000)]
Remove unneeded quotes from PYTHONPATH assignments and also fix one more
potential redundant colon inside misc-functions.sh.

svn path=/main/trunk/; revision=11512

16 years agoFix PYTHONPATH adjustments to only insert a colon when necessary. This
Zac Medico [Sat, 13 Sep 2008 23:21:43 +0000 (23:21 -0000)]
Fix PYTHONPATH adjustments to only insert a colon when necessary. This
is necessary since having a stray colon causes python to interpret the
empty path entry as "." which triggers the following message if cwd
happens to contain a directory names "os":

 warning: Not importing directory 'os': missing __init__.py

Thanks to Joe Peterson <lavajoe@g.o> for reporting.

svn path=/main/trunk/; revision=11511

16 years agoBug #237526 - Use portage.util.grablines() for exception handling when
Zac Medico [Sat, 13 Sep 2008 18:10:15 +0000 (18:10 -0000)]
Bug #237526 - Use portage.util.grablines() for exception handling when
reading the unread file.

svn path=/main/trunk/; revision=11510

16 years agoDefine __all__ and remove unused imports found by pyflakes.
Zac Medico [Sat, 13 Sep 2008 17:38:40 +0000 (17:38 -0000)]
Define __all__ and remove unused imports found by pyflakes.

svn path=/main/trunk/; revision=11509

16 years agoMove the world file update code out of update_config_files() since it should
Zac Medico [Sat, 13 Sep 2008 05:53:18 +0000 (05:53 -0000)]
Move the world file update code out of update_config_files() since it should
not be relative to PORTAGE_CONFIGROOT. Thanks to grobian for reporting.

svn path=/main/trunk/; revision=11508

16 years agoDocument FEATURES=preserve-libs.
Zac Medico [Sat, 13 Sep 2008 02:47:34 +0000 (02:47 -0000)]
Document FEATURES=preserve-libs.

svn path=/main/trunk/; revision=11506

16 years agoAdjust chunk.section.depth and generate.section.toc.level so that the EAPI 2
Zac Medico [Thu, 11 Sep 2008 05:50:42 +0000 (05:50 -0000)]
Adjust chunk.section.depth and generate.section.toc.level so that the EAPI 2
draft docs appear on a single page which includes it's own table of contents.

svn path=/main/trunk/; revision=11503

16 years agoRemove docs for the proposed eapi* default phase functions since they are
Zac Medico [Thu, 11 Sep 2008 05:03:35 +0000 (05:03 -0000)]
Remove docs for the proposed eapi* default phase functions since they are
unpopular.

svn path=/main/trunk/; revision=11502

16 years agoRemove docs for the proposed unpack() gitweb snapshot extension since it's
Zac Medico [Thu, 11 Sep 2008 04:56:08 +0000 (04:56 -0000)]
Remove docs for the proposed unpack() gitweb snapshot extension since it's
unpopular.

svn path=/main/trunk/; revision=11501

16 years agoNew debugedit support for FEATURES=splitdebug, by Sven Wegener:
Zac Medico [Wed, 10 Sep 2008 20:46:05 +0000 (20:46 -0000)]
New debugedit support for FEATURES=splitdebug, by Sven Wegener:

This will create new-style buildid symlinks for the splitted debuginfo and also
a symlink to the binary that belongs to the debuginfo. Requires debugedit from
rpm 5. Old versions of debugedit ignore all unkown command line arguments, so
this is a no-op for them.

Information: http://fedoraproject.org/wiki/Releases/FeatureBuildId
New debugedit tarball: http://dev.gentoo.org/~swegener/distfiles/debugedit-5.0.0.tar.bz2

svn path=/main/trunk/; revision=11500

16 years agoDon't mention log files in $T for eqawarn messages since the logs are likely
Zac Medico [Sat, 6 Sep 2008 22:57:28 +0000 (22:57 -0000)]
Don't mention log files in $T for eqawarn messages since the logs are likely
to get removed and the user can just use the log from elog anyway. Thanks
to Jeremy Olexa <darkside@g.o> for the suggestion.

svn path=/main/trunk/; revision=11498

16 years agoIn the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ in
Zac Medico [Sat, 6 Sep 2008 21:23:17 +0000 (21:23 -0000)]
In the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ in
order to avoid duplicate warnings for splitdebug files. Thanks to Cardoe for
the suggestion.

svn path=/main/trunk/; revision=11497

16 years agoSplit the doman language code documentation into it's own section.
Zac Medico [Thu, 4 Sep 2008 22:44:03 +0000 (22:44 -0000)]
Split the doman language code documentation into it's own section.

svn path=/main/trunk/; revision=11495

16 years agoDocument EAPI 2 support in the unpack helper function for gitweb snapshots.
Zac Medico [Thu, 4 Sep 2008 22:39:05 +0000 (22:39 -0000)]
Document EAPI 2 support in the unpack helper function for gitweb snapshots.
A patch implementing this feature has been submitted by Daniel Robbins.

svn path=/main/trunk/; revision=11494

16 years agoAdd EAPI 2 documentation for customization of output file names in SRC_URI
Zac Medico [Thu, 4 Sep 2008 21:34:14 +0000 (21:34 -0000)]
Add EAPI 2 documentation for customization of output file names in SRC_URI
(bug #177863).

svn path=/main/trunk/; revision=11493

16 years agoNest the EAPI 2 "Dependencies" section inside a "Metadata" section.
Zac Medico [Thu, 4 Sep 2008 20:55:21 +0000 (20:55 -0000)]
Nest the EAPI 2 "Dependencies" section inside a "Metadata" section.

svn path=/main/trunk/; revision=11492

16 years agos/blocking/conflicting/ for consistency
Zac Medico [Thu, 4 Sep 2008 19:35:53 +0000 (19:35 -0000)]
s/blocking/conflicting/ for consistency

svn path=/main/trunk/; revision=11491

16 years agoDocument EAPI 2 blocker atom extensions (not yet implemented).
Zac Medico [Thu, 4 Sep 2008 19:22:59 +0000 (19:22 -0000)]
Document EAPI 2 blocker atom extensions (not yet implemented).

svn path=/main/trunk/; revision=11490

16 years agoNest the EAPI 2 "USE Dependencies" section inside a "Dependencies" section.
Zac Medico [Thu, 4 Sep 2008 18:50:58 +0000 (18:50 -0000)]
Nest the EAPI 2 "USE Dependencies" section inside a "Dependencies" section.

svn path=/main/trunk/; revision=11489

16 years agoAdjust toc.section.depth in the stylesheet so that deeper sections appear
Zac Medico [Thu, 4 Sep 2008 03:45:13 +0000 (03:45 -0000)]
Adjust toc.section.depth in the stylesheet so that deeper sections appear
in the table of contents.

svn path=/main/trunk/; revision=11488