summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Show masking reasons for --binpkg-respect-use. Thanks to Sebastian LutherZac Medico2010-03-211-0/+2
| | | | | | (few) for this patch. svn path=/main/trunk/; revision=15840
* Only try to merge portage asap when the new version is different.v2.2_rc67Zac Medico2010-03-101-1/+3
| | | | svn path=/main/trunk/; revision=15813
* Only create implicit libc deps when the version changes.Zac Medico2010-03-091-1/+4
| | | | svn path=/main/trunk/; revision=15810
* Disable implicit libc deps for ROOT != "/" since it's probably not needed.Zac Medico2010-03-091-1/+1
| | | | svn path=/main/trunk/; revision=15809
* Merge libc asap for all roots instead of just ROOT="/".Zac Medico2010-03-091-6/+7
| | | | svn path=/main/trunk/; revision=15804
* Bug #307409 - Force --verbose mode when displaying circular deps.Zac Medico2010-03-081-1/+1
| | | | svn path=/main/trunk/; revision=15765
* Add new colors for binary packages in the merge list. Thanks to SebastianZac Medico2010-03-031-5/+13
| | | | | | Luther (few) for this patch. svn path=/main/trunk/; revision=15739
* Bug #306659 - For --rebuilt-binaries, only reinstall if binary packageZac Medico2010-03-021-2/+7
| | | | | | | BUILD_TIME is non-empty, in order to avoid cases like to bug #306659 where BUILD_TIME fields are missing in local and/or remote Packages file. svn path=/main/trunk/; revision=15513
* Bug #307235 - Inside depgraph._add_dep, discard child choices for deps thatZac Medico2010-03-011-0/+4
| | | | | | | will be not be processed immediately, since "complete" mode may select a different child later. svn path=/main/trunk/; revision=15503
* Move dep_expand and cpv_expand into portage.dbapi submodules.Zac Medico2010-02-251-1/+2
| | | | svn path=/main/trunk/; revision=15460
* Fix a logic error which causes blockers from installed packages to beZac Medico2010-02-241-1/+8
| | | | | | ignored in some cases. Thanks to Brian Dolbec (dol-sen) for reporting. svn path=/main/trunk/; revision=15446
* Use lazy import for the portage.dbapi module.Zac Medico2010-02-221-2/+3
| | | | svn path=/main/trunk/; revision=15419
* Use Atom.cp instead of dep_getkey.Zac Medico2010-02-191-7/+4
| | | | svn path=/main/trunk/; revision=15401
* Fix deprecated usage of dep_getkey.Zac Medico2010-02-191-1/+1
| | | | svn path=/main/trunk/; revision=15396
* Fix deprecated usage of dep_getkey.Zac Medico2010-02-191-3/+1
| | | | svn path=/main/trunk/; revision=15383
* Allow --rebuilt-binaries to trigger downgrades.Zac Medico2010-02-181-2/+1
| | | | svn path=/main/trunk/; revision=15373
* Only enable --rebuilt-binaries automatically if --update and --deep are alsoZac Medico2010-02-181-3/+1
| | | | | | enabled. svn path=/main/trunk/; revision=15372
* Update the spinner in depgraph._serialize_tasks when searching forZac Medico2010-02-181-0/+1
| | | | | | suitable uninstall tasks. svn path=/main/trunk/; revision=15369
* Add a comment about slowness in _serialize_tasks when there are lots ofZac Medico2010-02-181-0/+4
| | | | | | blockers to solve. svn path=/main/trunk/; revision=15366
* Add a --rebuilt-binaries[=n] option, causing automatic replacement ofZac Medico2010-02-181-2/+21
| | | | | | | | | | | | | installed packages with binary packages that have been rebuilt. Rebuilds are detected by comparison of BUILD_TIME package metadata. This option is enabled automatically when using binary packages, so rebuilt binaries are installed with a user's typical update command. This isn't possible with the existing @rebuild-binaries package set since that only works with --selective=n and therefore can't be used with a typical world update. The package set framework should support this type of behavior sometime in the future. svn path=/main/trunk/; revision=15364
* Add @rebuilt-binaries set which uses BUILD_TIME to pull in binary packagesZac Medico2010-02-171-5/+0
| | | | | | | that have a different build time from a currently installed package of the exact same version. svn path=/main/trunk/; revision=15363
* Bug #303567 - Merge libc asap, in order to account for implicit dependencies.Zac Medico2010-02-171-0/+9
| | | | svn path=/main/trunk/; revision=15362
* Ignore blockers in DEPEND of built packages when --with-bdeps is enabled.Zac Medico2010-02-101-6/+16
| | | | svn path=/main/trunk/; revision=15336
* Inside depgraph._validate_blockers(), do not consider blockers in DEPEND ofZac Medico2009-12-131-3/+13
| | | | | | | installed packages, since DEPEND is supposed to be irrelevant for packages after they are built. svn path=/main/trunk/; revision=15056
* Bug #280336, comment #2 - Clear the package selection cache when packagesv2.2_rc55Zac Medico2009-12-031-0/+1
| | | | | | | are added to the graph. This fixes incorrect choices that happen in some cases. svn path=/main/trunk/; revision=14922
* Bug #294945 - Fix blocker satistfied state handling inside depgraph, toZac Medico2009-11-281-4/+10
| | | | | | avoid a KeyError when displaying blockers. svn path=/main/trunk/; revision=14914
* Revert r14901 since it doesn't solve the problem (bug #294945).Zac Medico2009-11-281-5/+1
| | | | svn path=/main/trunk/; revision=14913
* Handle a KeyError in depgraph._ordered_tree_display(), reported on irc byZac Medico2009-11-271-1/+5
| | | | | | romildo. svn path=/main/trunk/; revision=14901
* Bug #293614 - When the backtracking limit is reached and there is a SLOTZac Medico2009-11-231-0/+8
| | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. svn path=/main/trunk/; revision=14875
* Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.2_rc51Zac Medico2009-11-211-46/+33
| | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. svn path=/main/trunk/; revision=14859
* Tweak logic from previous commit.Zac Medico2009-11-211-4/+4
| | | | svn path=/main/trunk/; revision=14858
* In depgraph._serialize_tasks(), ensure that unsolvable blockers can't beZac Medico2009-11-211-1/+3
| | | | | | accidentally marked as satisfied. svn path=/main/trunk/; revision=14857
* Fix blocker display to work properly with --tree --unordered-display.Zac Medico2009-11-211-10/+10
| | | | svn path=/main/trunk/; revision=14856
* Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks toZac Medico2009-11-201-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14855
* Bug #293730 - Fix bad || choices triggered in some cases insideZac Medico2009-11-201-1/+4
| | | | | | _dep_check_composite_db._visible() when --update is not enabled. svn path=/main/trunk/; revision=14854
* Disable backtracking in the depgraph constructor call when appropriate.Zac Medico2009-11-201-1/+1
| | | | svn path=/main/trunk/; revision=14853
* Check for updates masked by license for any installed packages that have beenZac Medico2009-11-171-2/+3
| | | | | | added to the graph (regardless of --deep or --complete-graph).. svn path=/main/trunk/; revision=14845
* In the code from bug #288083, only show one LICENSE masking message per slot.Zac Medico2009-11-151-0/+4
| | | | svn path=/main/trunk/; revision=14823
* Bug #288083 - Always warn about installed packages masked by license, sinceZac Medico2009-11-151-5/+50
| | | | | | | | the user likely wants to adjust ACCEPT_LICENSE. For updates masked by license, warn if --complete-graph or --deep is given, since otherwise it is likely a waste of time. svn path=/main/trunk/; revision=14822
* When displaying masking messages, show the 'dependency required by' messageZac Medico2009-11-071-1/+7
| | | | | | before the masking docs message. svn path=/main/trunk/; revision=14802
* Fix typo in comment.v2.2_rc49Zac Medico2009-11-071-1/+1
| | | | svn path=/main/trunk/; revision=14798
* Use writemsg instead of print, to send debug messages to stderr.Zac Medico2009-11-061-5/+8
| | | | svn path=/main/trunk/; revision=14784
* Bug #291142 - Fix some cases when a 'missed update' message might not beZac Medico2009-11-061-1/+14
| | | | | | displayed. svn path=/main/trunk/; revision=14780
* Use writemsg instead of print, to send debug messages to stderr.Zac Medico2009-11-061-7/+12
| | | | svn path=/main/trunk/; revision=14779
* Inside depgraph._complete_graph(), only pull in deps for the relevant rootZac Medico2009-11-041-0/+4
| | | | | | during remove operations. Thanks to acevery for reporting. svn path=/main/trunk/; revision=14775
* Don't call FakeVartree.sync() redundantly when backtracking.Zac Medico2009-11-021-1/+4
| | | | svn path=/main/trunk/; revision=14774
* Move FakeVartree population out of the constructor by calling the sync()Zac Medico2009-11-011-1/+5
| | | | | | | method explicitly. This allows the depgraph constructor avoid populating the FakeVartree, and delay it until depgraph._load_vdb() is called. svn path=/main/trunk/; revision=14773
* Fix --backtrack option handling.v2.2_rc48Zac Medico2009-10-311-1/+1
| | | | svn path=/main/trunk/; revision=14767
* Add a --backtrack=COUNT option to control how many times backtracking isZac Medico2009-10-311-1/+1
| | | | | | allowed, and reduce the default from 30 to 5. svn path=/main/trunk/; revision=14763