portage.git
16 years agoAdd --nodeps to the parallel-fetch --resume options since recalculation of
Zac Medico [Sat, 3 May 2008 02:17:23 +0000 (02:17 -0000)]
Add --nodeps to the parallel-fetch --resume options since recalculation of
deps is a a waste here.

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

16 years agoFix --resume mode to check for unsatisfied blockers and bail out when
Zac Medico [Sat, 3 May 2008 02:14:08 +0000 (02:14 -0000)]
Fix --resume mode to check for unsatisfied blockers and bail out when
necessary.

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

16 years ago* Check for masked packages in the --resume merge list and bail
Zac Medico [Sat, 3 May 2008 01:42:25 +0000 (01:42 -0000)]
* Check for masked packages in the --resume merge list and bail
  out in that case (bug #199408).

* In depgraph.loadResumeCommand(), create a dependency graph from
  the resume list. This ensures that the merge list has it's
  dependencies satisfied. It also enables --tree display together
  with --resume.

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

16 years agoAdd a PackageVirtualDbapi.__iter__() method and use it to iterate over
Zac Medico [Fri, 2 May 2008 22:32:01 +0000 (22:32 -0000)]
Add a PackageVirtualDbapi.__iter__() method and use it to iterate over
all installed packages in depgraph.validate_blockers().

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

16 years agoUse match_pkgs() to simplify package comparison.
Zac Medico [Fri, 2 May 2008 22:11:25 +0000 (22:11 -0000)]
Use match_pkgs() to simplify package comparison.

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

16 years agoMove the blocker cache validation into depgraph.validate_blockers().
Zac Medico [Fri, 2 May 2008 21:47:50 +0000 (21:47 -0000)]
Move the blocker cache validation into depgraph.validate_blockers().

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

16 years agoIn depgraph.validate_blockers(), discard any "uninstall" tasks scheduled
Zac Medico [Fri, 2 May 2008 21:09:20 +0000 (21:09 -0000)]
In depgraph.validate_blockers(), discard any "uninstall" tasks scheduled
by previous calls, since those tasks may not make sense given the current
graph state.

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

16 years agoWhen searching for a "sys-apps/portage" installation task, use match_pkgs()
Zac Medico [Fri, 2 May 2008 20:30:01 +0000 (20:30 -0000)]
When searching for a "sys-apps/portage" installation task, use match_pkgs()
instead of sequential search.

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

16 years agoUse Package.cp attribute instead of calling cpv_getkey().
Zac Medico [Fri, 2 May 2008 20:16:06 +0000 (20:16 -0000)]
Use Package.cp attribute instead of calling cpv_getkey().

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

16 years agoUse Package instance attributes to clean up and simplify
Zac Medico [Fri, 2 May 2008 19:58:13 +0000 (19:58 -0000)]
Use Package instance attributes to clean up and simplify
depgraph.validate_blockers().

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

16 years agoIn depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriate
Zac Medico [Fri, 2 May 2008 19:20:29 +0000 (19:20 -0000)]
In depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriate
place.

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

16 years agoIn depgraph._complete_graph(), use cached Package instances instead
Zac Medico [Fri, 2 May 2008 19:02:46 +0000 (19:02 -0000)]
In depgraph._complete_graph(), use cached Package instances instead
of constructing new ones.

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

16 years agoValidate resume list data some more.
Zac Medico [Fri, 2 May 2008 18:27:16 +0000 (18:27 -0000)]
Validate resume list data some more.

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

16 years agoClean up merge list handling:
Zac Medico [Fri, 2 May 2008 17:47:48 +0000 (17:47 -0000)]
Clean up merge list handling:
* In depgraph.loadResumeCommand(), populate _serialized_tasks_cache so that
  it can be returned from depgraph.altlist().
* Handle --skipfirst instide depgraph.loadResumeCommand(), and fix it to skip
  the first "merge" task and never skip "uninstall" tasks.
* Always get the merge list from depgraph.altlist() instead of using
  the mtimedb directly. The list returned from depgraph.altlist()
  contains Package instances with cached metadata.
* Remove obsolete code from depgraph.display() and MergeTask.merge() since
  the merge list always comes from depgraph.altlist() now, and never directly
  from the mtimedb.

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

16 years agoUpdate documentation for package set configuration. Original patch by Arfrever Frehte...
Marius Mauch [Fri, 2 May 2008 10:46:47 +0000 (10:46 -0000)]
Update documentation for package set configuration. Original patch by Arfrever Frehtes Taifersar Arahesis

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

16 years agorename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a different syntax
Marius Mauch [Fri, 2 May 2008 10:04:20 +0000 (10:04 -0000)]
rename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a different syntax

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

16 years agofix typo
Marius Mauch [Fri, 2 May 2008 09:35:56 +0000 (09:35 -0000)]
fix typo

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

16 years agouse special symlink comparison code (original patch from prefix r9499)
Marius Mauch [Fri, 2 May 2008 09:28:37 +0000 (09:28 -0000)]
use special symlink comparison code (original patch from prefix r9499)

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

16 years agov2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed LibraryPac...
Marius Mauch [Fri, 2 May 2008 08:20:39 +0000 (08:20 -0000)]
v2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed LibraryPackageMap class

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

16 years agodo not consider sets to be installed that are about to be unmerged
Marius Mauch [Fri, 2 May 2008 05:09:48 +0000 (05:09 -0000)]
do not consider sets to be installed that are about to be unmerged

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

16 years agomove cleaning of sets out of package loop
Marius Mauch [Fri, 2 May 2008 05:00:46 +0000 (05:00 -0000)]
move cleaning of sets out of package loop

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

16 years agoproperly remove sets from 'world' when unmerging
Marius Mauch [Fri, 2 May 2008 04:57:52 +0000 (04:57 -0000)]
properly remove sets from 'world' when unmerging

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

16 years agoadd config option for package sets to not be recorded in 'world'
Marius Mauch [Fri, 2 May 2008 04:17:52 +0000 (04:17 -0000)]
add config option for package sets to not be recorded in 'world'

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

16 years agocheck if a given package set is defined more than once
Marius Mauch [Fri, 2 May 2008 03:24:30 +0000 (03:24 -0000)]
check if a given package set is defined more than once

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

16 years agoremove 'sets/' name-prefix for file-based package sets
Marius Mauch [Fri, 2 May 2008 03:23:38 +0000 (03:23 -0000)]
remove 'sets/' name-prefix for file-based package sets

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

16 years agoFix broken variable references found by pyflakes.
Zac Medico [Fri, 2 May 2008 03:23:36 +0000 (03:23 -0000)]
Fix broken variable references found by pyflakes.

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

16 years agoSkip group/owner tarsync options for tarsync if chown on /usr/portage
Zac Medico [Fri, 2 May 2008 02:56:45 +0000 (02:56 -0000)]
Skip group/owner tarsync options for tarsync if chown on /usr/portage
fails, since the user might still be able to sync even though the
chown call is not permitted.

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

16 years agocheck if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)
Marius Mauch [Fri, 2 May 2008 02:53:14 +0000 (02:53 -0000)]
check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)

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

16 years agoBug #219837 - Adjust date calculations some more and show an
Zac Medico [Fri, 2 May 2008 02:27:37 +0000 (02:27 -0000)]
Bug #219837 - Adjust date calculations some more and show an
informative ewarn message when bailing out due to a newer
snapshot being unavailable.

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

16 years agoFix variable rename breakage: pkg -> pkg.cpv
Zac Medico [Thu, 1 May 2008 20:33:03 +0000 (20:33 -0000)]
Fix variable rename breakage: pkg -> pkg.cpv

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

16 years agoWhen adding blockers for installed packages to the graph, use cached
Zac Medico [Thu, 1 May 2008 19:15:26 +0000 (19:15 -0000)]
When adding blockers for installed packages to the graph, use cached
Package instances instead of constructing new ones.

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

16 years agoDetect an old version of tarsync and use bzip2 compression in that case.
Zac Medico [Thu, 1 May 2008 07:26:36 +0000 (07:26 -0000)]
Detect an old version of tarsync and use bzip2 compression in that case.

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

16 years agoSort blockers when caching them.
Zac Medico [Thu, 1 May 2008 05:42:55 +0000 (05:42 -0000)]
Sort blockers when caching them.

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

16 years agoDon't add blockers to the graph more times than necessary.
Zac Medico [Thu, 1 May 2008 05:30:55 +0000 (05:30 -0000)]
Don't add blockers to the graph more times than necessary.

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

16 years ago* Add a Package.operation attribute and use it to distinguish "uninstall"
Zac Medico [Thu, 1 May 2008 04:17:34 +0000 (04:17 -0000)]
* Add a Package.operation attribute and use it to distinguish "uninstall"
  operations.

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

16 years agoBug #219837 - Adjust date calculations to improve accuracy.
Zac Medico [Wed, 30 Apr 2008 18:25:10 +0000 (18:25 -0000)]
Bug #219837 - Adjust date calculations to improve accuracy.

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

16 years agoHandle a KeyError when validating the blocker cache.
Zac Medico [Wed, 30 Apr 2008 09:00:24 +0000 (09:00 -0000)]
Handle a KeyError when validating the blocker cache.

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

16 years agoFix broken comparison, compare with None instead of nonzero.
Zac Medico [Wed, 30 Apr 2008 08:46:34 +0000 (08:46 -0000)]
Fix broken comparison, compare with None instead of nonzero.

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

16 years agoFix logic to re-use blockers from the graph when populating the blocker cache.
Zac Medico [Wed, 30 Apr 2008 08:40:58 +0000 (08:40 -0000)]
Fix logic to re-use blockers from the graph when populating the blocker cache.

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

16 years ago* Fix dep_check() so that it doesn't expand virtual blockers since the
Zac Medico [Wed, 30 Apr 2008 08:30:11 +0000 (08:30 -0000)]
* Fix dep_check() so that it doesn't expand virtual blockers since the
  un-expanded virtual atom is more useful for maintaining a cache of
  blocker atoms.

* Expand virtual blockers in depgraph.validate_blockers(), since it's
  not done by dep_check() anymore.

* If blocker data from the graph is available, use it to validate the
  blocker cache and update the cache if it seems invalid.

* Make BlockerCache._load() more tolerant to installs/uninstalls so
  so that cache isn't rebuilt every time.

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

16 years agoFix "deep" logic in depgraph._complete_graph() so that it always
Zac Medico [Wed, 30 Apr 2008 00:09:25 +0000 (00:09 -0000)]
Fix "deep" logic in depgraph._complete_graph() so that it always
properly recognizes whether or not "deep" was previously enabled.

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

16 years agoMake unmerge() group packages by cat/pn when the order doesn't matter, so
Zac Medico [Tue, 29 Apr 2008 18:02:09 +0000 (18:02 -0000)]
Make unmerge() group packages by cat/pn when the order doesn't matter, so
the display appears like earlier versions of portage.

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

16 years agoPrevent some more visible downgrades from possibly being missed (bug #219369).
Zac Medico [Tue, 29 Apr 2008 03:13:32 +0000 (03:13 -0000)]
Prevent some more visible downgrades from possibly being missed (bug #219369).

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

16 years agoPrevent some more visible downgrades from possibly being missed (bug #219369).
Zac Medico [Tue, 29 Apr 2008 03:02:20 +0000 (03:02 -0000)]
Prevent some more visible downgrades from possibly being missed (bug #219369).

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

16 years agoHandle a potential KeyError in depgraph.display() when in --resume mode
Zac Medico [Mon, 28 Apr 2008 22:22:52 +0000 (22:22 -0000)]
Handle a potential KeyError in depgraph.display() when in --resume mode
and a package scheduled for uninstall is no longer installed.

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

16 years agoWhen a package scheduled for uninstall isn't installed anymore, move
Zac Medico [Mon, 28 Apr 2008 21:15:27 +0000 (21:15 -0000)]
When a package scheduled for uninstall isn't installed anymore, move
on to the next task.

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

16 years agoFix spelling.
Zac Medico [Mon, 28 Apr 2008 20:44:19 +0000 (20:44 -0000)]
Fix spelling.

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

16 years agoAdd a Package.pv_split attibute to optimize version comparison
Zac Medico [Mon, 28 Apr 2008 20:29:04 +0000 (20:29 -0000)]
Add a Package.pv_split attibute to optimize version comparison
operators.

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

16 years agoFor bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removal
Zac Medico [Mon, 28 Apr 2008 17:33:38 +0000 (17:33 -0000)]
For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removal
phases are the ones that are skipped.

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

16 years agoAs suggested by Chr. Schaefer in bug #211833, comment #15, note that
Zac Medico [Mon, 28 Apr 2008 17:20:42 +0000 (17:20 -0000)]
As suggested by  Chr. Schaefer in bug #211833, comment  #15, note that
removal of the environment.bz2 file is preferred since it may allow the
removal phases to execute successfully.

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

16 years agoAdd comma to ("__weakref__",) so that it's a tuple instead of a string.
Zac Medico [Mon, 28 Apr 2008 06:00:11 +0000 (06:00 -0000)]
Add comma to ("__weakref__",) so that it's a tuple instead of a string.
Thanks to ferringb.

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

16 years agoTry to format the elog message better for bug #211833, separating
Zac Medico [Mon, 28 Apr 2008 03:35:41 +0000 (03:35 -0000)]
Try to format the elog message better for bug #211833, separating
paragraphs for easier reading.

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

16 years agoUse write_atomic() for manifest updates.
Zac Medico [Mon, 28 Apr 2008 02:34:27 +0000 (02:34 -0000)]
Use write_atomic() for manifest updates.

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

16 years agoFix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicate
Zac Medico [Mon, 28 Apr 2008 02:03:08 +0000 (02:03 -0000)]
Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicate
cpv or slot are handled correctly.

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

16 years agoBug #211833 - When an ebuild removal phase fails, notify the user that
Zac Medico [Mon, 28 Apr 2008 01:22:17 +0000 (01:22 -0000)]
Bug #211833 - When an ebuild removal phase fails, notify the user that
removal of environment.bz2 file will cause the ebuild to be sourced and
eclasses from the current portage tree will be used when necessary.

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

16 years agoAdd missing slot comparison when looking for higher slot in
Zac Medico [Mon, 28 Apr 2008 01:02:31 +0000 (01:02 -0000)]
Add missing slot comparison when looking for higher slot in
_iter_atoms_for_pkg().

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

16 years agoBug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atoms
Zac Medico [Mon, 28 Apr 2008 00:52:44 +0000 (00:52 -0000)]
Bug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atoms
only match the highest visible slot.

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

16 years agoFix the EbuildQuote check to ignore "echo" and the elog functions since
Zac Medico [Sun, 27 Apr 2008 21:25:20 +0000 (21:25 -0000)]
Fix the EbuildQuote check to ignore "echo" and the elog functions since
people might not want quotes in those cases.

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

16 years ago* Remove the only remaining sys.exit() calls inside the depgraph class.
Zac Medico [Sun, 27 Apr 2008 20:52:22 +0000 (20:52 -0000)]
* Remove the only remaining sys.exit() calls inside the depgraph class.
* Fix _unknown_internal_error() to work with zero arguments.

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

16 years agoNever uninstall sys-apps/portage except through replacement.
Zac Medico [Sun, 27 Apr 2008 20:15:57 +0000 (20:15 -0000)]
Never uninstall sys-apps/portage except through replacement.

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

16 years agoBug #219369 - Enable automatic upgrage or downgrade to a version
Zac Medico [Sun, 27 Apr 2008 19:52:09 +0000 (19:52 -0000)]
Bug #219369 - Enable automatic upgrage or downgrade to a version
with visible KEYWORDS when the installed version is masked by
KEYWORDS, but never reinstall the same exact version only due to
a KEYWORDS mask.

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

16 years agofix logic error
Marius Mauch [Sun, 27 Apr 2008 09:19:20 +0000 (09:19 -0000)]
fix logic error

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

16 years agoactually use rpath for the internal lib check
Marius Mauch [Sun, 27 Apr 2008 08:56:53 +0000 (08:56 -0000)]
actually use rpath for the internal lib check

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

16 years agosome minor code fixes
Marius Mauch [Sun, 27 Apr 2008 08:22:29 +0000 (08:22 -0000)]
some minor code fixes

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

16 years agoTake the classes that initialize variables in __slots__ with keyword
Zac Medico [Sun, 27 Apr 2008 07:22:58 +0000 (07:22 -0000)]
Take the classes that initialize variables in __slots__ with keyword
constructor arguments and make them all derive from a new SlotObject
class.

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

16 years agoCreate a digraph.difference_update() method and use it to amortize the
Zac Medico [Sun, 27 Apr 2008 06:31:11 +0000 (06:31 -0000)]
Create a digraph.difference_update() method and use it to amortize the
cost of removing nodes from the digraph.order list.

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

16 years agoRemove unnecessary "mydbapi" variable in depgraph.display().
Zac Medico [Sun, 27 Apr 2008 00:43:46 +0000 (00:43 -0000)]
Remove unnecessary "mydbapi" variable in depgraph.display().

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

16 years agoBug #172812 - When a package needs to be uninstalled in advance rather
Zac Medico [Sun, 27 Apr 2008 00:10:17 +0000 (00:10 -0000)]
Bug #172812 - When a package needs to be uninstalled in advance rather
than through replacement, show the corresponding [blocks] entries in the
displayed list. In order to show more structure in the --tree display,
expand Package -> Uninstall edges into Package -> Blocker -> Uninstall
edges. Also, create edges between a package's own blockers and it's
Uninstall task since it's blockers become irrelevant as soon as it's
uninstalled.

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

16 years agoAdd a PackageVirtualDbapi.copy() method.
Zac Medico [Sat, 26 Apr 2008 20:23:58 +0000 (20:23 -0000)]
Add a PackageVirtualDbapi.copy() method.

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

16 years agoUse digraphs to clean up blocker reference counting in the depgraph.
Zac Medico [Sat, 26 Apr 2008 20:16:02 +0000 (20:16 -0000)]
Use digraphs to clean up blocker reference counting in the depgraph.

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

16 years agoDon't assume that altlist() will succeed inside display_problems().
Zac Medico [Sat, 26 Apr 2008 05:13:39 +0000 (05:13 -0000)]
Don't assume that altlist() will succeed inside display_problems().

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

16 years ago* Add a Blocker class to use instead of tuples.
Zac Medico [Sat, 26 Apr 2008 03:55:41 +0000 (03:55 -0000)]
* Add a Blocker class to use instead of tuples.
* Fix the Task constructor to properly traverse __slots__ of all inherited
  classes.

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

16 years agoadd LibraryPackageMap replacement using NEEDED.2 files
Marius Mauch [Sat, 26 Apr 2008 01:10:52 +0000 (01:10 -0000)]
add LibraryPackageMap replacement using NEEDED.2 files

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

16 years agoRefactor the way that depgraph.altlist(), _complete_graph(), and
Zac Medico [Fri, 25 Apr 2008 22:26:23 +0000 (22:26 -0000)]
Refactor the way that depgraph.altlist(), _complete_graph(), and
validate_blockers() interact with eachother. This simplifies things
by eliminating the need for recursive calls to validate_blockers().

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

16 years agoBug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files.
Zac Medico [Fri, 25 Apr 2008 18:39:18 +0000 (18:39 -0000)]
Bug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files.
Thanks to Manuel Nickschas <sputnick@quassel-irc.org> for fixing this.

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

16 years agos/be only/only be/
Zac Medico [Fri, 25 Apr 2008 06:33:50 +0000 (06:33 -0000)]
s/be only/only be/

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

16 years agoremove debug output
Marius Mauch [Fri, 25 Apr 2008 03:41:11 +0000 (03:41 -0000)]
remove debug output

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

16 years agoas NEEDED files don't conain enough formation for e.g. preserve-libsto work properly...
Marius Mauch [Fri, 25 Apr 2008 03:39:58 +0000 (03:39 -0000)]
as NEEDED files don't conain enough formation for e.g. preserve-libsto work properly and we don't want to change the format of existing files create another file including additional information

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

16 years agoAdd some more spinner.update() calls in possibly time consuming loops.
Zac Medico [Fri, 25 Apr 2008 03:16:58 +0000 (03:16 -0000)]
Add some more spinner.update() calls in possibly time consuming loops.

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

16 years agoremove unused function
Marius Mauch [Fri, 25 Apr 2008 03:00:58 +0000 (03:00 -0000)]
remove unused function

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

16 years agoBug #172812 - If any Uninstall tasks need to be executed in order
Zac Medico [Fri, 25 Apr 2008 01:53:44 +0000 (01:53 -0000)]
Bug #172812 - If any Uninstall tasks need to be executed in order
to avoid a conflict, complete the graph with any dependencies that
may have been initially neglected (to ensure that unsafe Uninstall
tasks are properly identified and blocked from execution).

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

16 years agoUpdate description of "complete" depgraph param.
Zac Medico [Thu, 24 Apr 2008 20:43:16 +0000 (20:43 -0000)]
Update description of "complete" depgraph param.

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

16 years agoRename the "consistent" depgraph parameter to "complete" since what it
Zac Medico [Thu, 24 Apr 2008 20:40:11 +0000 (20:40 -0000)]
Rename the "consistent" depgraph parameter to "complete" since what it
really means is that the graph will be complete in the sense that no
known dependencies are neglected.

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

16 years agoAdd a note about automatic uninstallation to solve blockers.
Zac Medico [Thu, 24 Apr 2008 03:58:29 +0000 (03:58 -0000)]
Add a note about automatic uninstallation to solve blockers.

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

16 years agoFix interaction between automatic uninstall and options like --pretend,
Zac Medico [Thu, 24 Apr 2008 03:17:26 +0000 (03:17 -0000)]
Fix interaction between automatic uninstall and options like --pretend,
--fetchonly, and --buildpkgonly.

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

16 years agoHandle potential InvalidDependString exceptions when match packages to
Zac Medico [Thu, 24 Apr 2008 02:55:58 +0000 (02:55 -0000)]
Handle potential InvalidDependString exceptions when match packages to
system and world atoms in depgraph.altlist().

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

16 years agoFix broken mtimedb resume list handling for automatic uninstall tasks.
Zac Medico [Thu, 24 Apr 2008 02:48:45 +0000 (02:48 -0000)]
Fix broken mtimedb resume list handling for automatic uninstall tasks.

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

16 years agoCombine --nodeps spinner logic.
Zac Medico [Thu, 24 Apr 2008 02:31:09 +0000 (02:31 -0000)]
Combine --nodeps spinner logic.

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

16 years agoBug #172812 - When automatically uninstalling packages, build the next
Zac Medico [Thu, 24 Apr 2008 02:21:27 +0000 (02:21 -0000)]
Bug #172812 - When automatically uninstalling packages, build the next
package in the merge list before executing scheduled uninstall tasks.

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

16 years agoSplit out a _dequeue_uninstall_tasks() method.
Zac Medico [Thu, 24 Apr 2008 02:09:04 +0000 (02:09 -0000)]
Split out a _dequeue_uninstall_tasks() method.

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

16 years agoReset the state variables for leaf node selection in depgraph.altlist()
Zac Medico [Thu, 24 Apr 2008 01:49:25 +0000 (01:49 -0000)]
Reset the state variables for leaf node selection in depgraph.altlist()
when appropriate.

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

16 years agoBug #172812 - Protect packages from being removed from the world file
Zac Medico [Wed, 23 Apr 2008 23:58:20 +0000 (23:58 -0000)]
Bug #172812 - Protect packages from being removed from the world file
during automatic uninstallation.

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

16 years agoBug #172812 - Document new automatic uninstallation behavior in the
Zac Medico [Wed, 23 Apr 2008 23:53:01 +0000 (23:53 -0000)]
Bug #172812 - Document new automatic uninstallation behavior in the
"Conflict Avoidance" section.

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

16 years agos/unmerge/uninstall/ for consistency.
Zac Medico [Wed, 23 Apr 2008 23:04:28 +0000 (23:04 -0000)]
s/unmerge/uninstall/ for consistency.

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

16 years agoBug #172812 - Automatically uninstall packages to avoid blocker conflicts.
Zac Medico [Wed, 23 Apr 2008 22:37:51 +0000 (22:37 -0000)]
Bug #172812 - Automatically uninstall packages to avoid blocker conflicts.
The intention is to only uninstall packages that would be removed by
--depclean (after the updates) anyway. To prevent automatic uninstallation
of packages that the user probably wants to keep, the following types of
packages will not be automatically unmerged:

* Installed packages that have been pulled into the current dependency graph.
  Note that this check is not necessarily complete unless the --complete-graph
  option is enabled, making other sanity checks necessary.

* Installed packages matched by atoms from the system set. For safety,
  these are unmerged after being replaced by another version.

* Installed packages matched by atoms from the world set, if there is no
  matching replacement in the current dependency graph.

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

16 years agoBug #172812 - Add an Uninstall class derived from the Package class, for
Zac Medico [Tue, 22 Apr 2008 23:40:34 +0000 (23:40 -0000)]
Bug #172812 - Add an Uninstall class derived from the Package class, for
packages that may need to be uninstalled to avoid conflicts.

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

16 years agoMake dir_get_metadata() retry if a httplib.ResponseNotReady exception
Zac Medico [Tue, 22 Apr 2008 18:29:51 +0000 (18:29 -0000)]
Make dir_get_metadata() retry if a httplib.ResponseNotReady exception
occurs.

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

16 years agoSwap --nospinner and --oneshot for alphabetical ordering.
Zac Medico [Mon, 21 Apr 2008 19:43:55 +0000 (19:43 -0000)]
Swap --nospinner and --oneshot for alphabetical ordering.

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

16 years agoBug #218439 - Improve alignment in short emerge --help options output.
Zac Medico [Mon, 21 Apr 2008 19:41:20 +0000 (19:41 -0000)]
Bug #218439 - Improve alignment in short emerge --help options output.

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

16 years agoIn show_slot_collision_notice(), refer to the problem as a "slot conflict"
Zac Medico [Mon, 21 Apr 2008 18:54:38 +0000 (18:54 -0000)]
In show_slot_collision_notice(), refer to the problem as a "slot conflict"
since that's how I'm refering to it in the docs.

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