summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Factor vdb loading code out of the depgraph constructor, since this procedureZac Medico2009-10-231-18/+44
| | | | | | | is slow and it generates spinner output, which isn't very nice behavior for a constructor. Now it's called on-demand by various methods when necessary. svn path=/main/trunk/; revision=14705
* Factor out duplicate "These are the packages that would be merged",Zac Medico2009-10-231-0/+62
| | | | | | "Calculating dependencies", and spinner cleanup code. svn path=/main/trunk/; revision=14704
* Add a --unordered-display option for use with --tree. This allows the displayZac Medico2009-10-231-2/+37
| | | | | | | to be optimized differently since the merge order is not preserved. Thanks to Sebastian Mingramm (few) for the initial patch. svn path=/main/trunk/; revision=14703
* Factor the --tree code out of depgraph.display().Zac Medico2009-10-231-136/+146
| | | | svn path=/main/trunk/; revision=14702
* Add support for display of nested sets in --depclean and --prune reverseZac Medico2009-10-191-5/+19
| | | | | | | dependency output. This also fixes a bug from the 'selected' set changes which could cause the system set to be disregarded in some cases. svn path=/main/trunk/; revision=14680
* Add a --use-ebuild-visibility option, for using unbuilt ebuild metadataZac Medico2009-10-181-1/+3
| | | | | | | in visibility checks for built ebuilds. Thanks to Sebastian Mingramm (few) for reporting the problem and testing the patch. svn path=/main/trunk/; revision=14665
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-161-11/+12
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-161-0/+1
| | | | | | display/logging. svn path=/main/trunk/; revision=14611
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-161-0/+3
| | | | svn path=/main/trunk/; revision=14610
* Fix ugly 'Candidates' --debug output.Zac Medico2009-10-091-1/+5
| | | | svn path=/main/trunk/; revision=14535
* Fix "TabError: inconsistent use of tabs and spaces in indentation" with ↵Arfrever Frehtes Taifersar Arahesis2009-10-091-1/+1
| | | | | | Python 3 which was introduced in r14522. svn path=/main/trunk/; revision=14524
* Bug #271551 - Inside depgraph.select_files(), avoid bailing out due to anZac Medico2009-10-091-0/+12
| | | | | | | ambiguous package name in cases when all but one of the resolved packages are virtual. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14522