summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* When a --resume list is rejected due to unsatisfied deps, display aZac Medico2008-05-031-3/+8
| | | | | | list of missing deps and which packages they belong to. svn path=/main/trunk/; revision=10143
* Don't clean out old resume lists when in --ask or --pretend mode.Zac Medico2008-05-031-5/+6
| | | | svn path=/main/trunk/; revision=10141
* When loadResumeCommand() rejects a resume list, give a more informativeZac Medico2008-05-031-6/+33
| | | | | | explanation. svn path=/main/trunk/; revision=10139
* Fix display_problems() logic some more.Zac Medico2008-05-031-3/+2
| | | | svn path=/main/trunk/; revision=10137
* Fix logic so display_problems() gets called every time display() does.Zac Medico2008-05-031-6/+1
| | | | svn path=/main/trunk/; revision=10136
* Improve --resume handling of saved "favorites" argument atoms:Zac Medico2008-05-031-27/+74
| | | | | | | | | | | * Save the favorites in oneshot mode too since they're still useful for restoring state upon --resume. * Add a depgraph._load_favorites() method to resume state from a previous select_files() call. This allows Package instances to be matched with DependencyArg instances during graph creation. svn path=/main/trunk/; revision=10134
* * Move circular deps and blocker displays to depgraph.display_problems().Zac Medico2008-05-031-64/+87
| | | | | | | * Always call display_problems() since calling it from inside display() can lead to unwanted recursion. svn path=/main/trunk/; revision=10132
* Similar to the circular dependency display, handle the unsatisfied blockerZac Medico2008-05-031-53/+25
| | | | | | | display inside _serialize_tasks() since that's a convenient place to bail out. svn path=/main/trunk/; revision=10130
* Also move mtimedb resume list validation earlier.Zac Medico2008-05-031-10/+10
| | | | svn path=/main/trunk/; revision=10124
* Move --resume options handling to the beginning of action_build() soZac Medico2008-05-031-41/+26
| | | | | | | that the current options are updated with the saved options as soon as possible. svn path=/main/trunk/; revision=10123
* Make --nodepa automatically disable --tree.Zac Medico2008-05-031-0/+24
| | | | svn path=/main/trunk/; revision=10121
* Fix depgraph.loadResumeCommand() to identify an unsatisfied dependencyZac Medico2008-05-031-4/+15
| | | | | | and invalidate the resume list in that case. svn path=/main/trunk/; revision=10119
* Delete the resume list(s) if there is an unsatisfied block.Zac Medico2008-05-031-1/+3
| | | | svn path=/main/trunk/; revision=10117
* Add --nodeps to the parallel-fetch --resume options since recalculation ofZac Medico2008-05-031-1/+2
| | | | | | deps is a a waste here. svn path=/main/trunk/; revision=10116
* Fix --resume mode to check for unsatisfied blockers and bail out whenZac Medico2008-05-031-0/+19
| | | | | | necessary. svn path=/main/trunk/; revision=10115
* * Check for masked packages in the --resume merge list and bailZac Medico2008-05-031-12/+60
| | | | | | | | | | | 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
* Add a PackageVirtualDbapi.__iter__() method and use it to iterate overZac Medico2008-05-021-4/+5
| | | | | | all installed packages in depgraph.validate_blockers(). svn path=/main/trunk/; revision=10112
* Use match_pkgs() to simplify package comparison.Zac Medico2008-05-021-3/+2
| | | | svn path=/main/trunk/; revision=10110
* Move the blocker cache validation into depgraph.validate_blockers().Zac Medico2008-05-021-24/+18
| | | | svn path=/main/trunk/; revision=10108
* In depgraph.validate_blockers(), discard any "uninstall" tasks scheduledZac Medico2008-05-021-0/+8
| | | | | | | by previous calls, since those tasks may not make sense given the current graph state. svn path=/main/trunk/; revision=10106
* When searching for a "sys-apps/portage" installation task, use match_pkgs()Zac Medico2008-05-021-8/+10
| | | | | | instead of sequential search. svn path=/main/trunk/; revision=10104
* Use Package.cp attribute instead of calling cpv_getkey().Zac Medico2008-05-021-7/+10
| | | | svn path=/main/trunk/; revision=10102
* Use Package instance attributes to clean up and simplifyZac Medico2008-05-021-48/+17
| | | | | | depgraph.validate_blockers(). svn path=/main/trunk/; revision=10100
* In depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriateZac Medico2008-05-021-2/+4
| | | | | | place. svn path=/main/trunk/; revision=10098
* In depgraph._complete_graph(), use cached Package instances insteadZac Medico2008-05-021-7/+2
| | | | | | of constructing new ones. svn path=/main/trunk/; revision=10096
* Validate resume list data some more.Zac Medico2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10094
* Clean up merge list handling:Zac Medico2008-05-021-52/+26
| | | | | | | | | | | | | | | * 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
* v2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed ↵Marius Mauch2008-05-021-0/+1
| | | | | | LibraryPackageMap class svn path=/main/trunk/; revision=10081
* do not consider sets to be installed that are about to be unmergedMarius Mauch2008-05-021-1/+2
| | | | svn path=/main/trunk/; revision=10080
* move cleaning of sets out of package loopMarius Mauch2008-05-021-2/+3
| | | | svn path=/main/trunk/; revision=10079
* properly remove sets from 'world' when unmergingMarius Mauch2008-05-021-0/+2
| | | | svn path=/main/trunk/; revision=10078
* add config option for package sets to not be recorded in 'world'Marius Mauch2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10077
* Fix broken variable references found by pyflakes.Zac Medico2008-05-021-4/+2
| | | | svn path=/main/trunk/; revision=10072
* Fix variable rename breakage: pkg -> pkg.cpvZac Medico2008-05-011-1/+1
| | | | svn path=/main/trunk/; revision=10065
* When adding blockers for installed packages to the graph, use cachedZac Medico2008-05-011-22/+14
| | | | | | Package instances instead of constructing new ones. svn path=/main/trunk/; revision=10062
* Sort blockers when caching them.Zac Medico2008-05-011-0/+1
| | | | svn path=/main/trunk/; revision=10054
* Don't add blockers to the graph more times than necessary.Zac Medico2008-05-011-0/+1
| | | | svn path=/main/trunk/; revision=10052
* * Add a Package.operation attribute and use it to distinguish "uninstall"Zac Medico2008-05-011-37/+27
| | | | | | operations. svn path=/main/trunk/; revision=10050
* Handle a KeyError when validating the blocker cache.Zac Medico2008-04-301-1/+6
| | | | svn path=/main/trunk/; revision=10045
* Fix broken comparison, compare with None instead of nonzero.Zac Medico2008-04-301-1/+1
| | | | svn path=/main/trunk/; revision=10043
* Fix logic to re-use blockers from the graph when populating the blocker cache.Zac Medico2008-04-301-0/+5
| | | | svn path=/main/trunk/; revision=10042
* * Fix dep_check() so that it doesn't expand virtual blockers since theZac Medico2008-04-301-11/+72
| | | | | | | | | | | | | | | | 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
* Fix "deep" logic in depgraph._complete_graph() so that it alwaysZac Medico2008-04-301-2/+4
| | | | | | properly recognizes whether or not "deep" was previously enabled. svn path=/main/trunk/; revision=10039
* Make unmerge() group packages by cat/pn when the order doesn't matter, soZac Medico2008-04-291-8/+30
| | | | | | the display appears like earlier versions of portage. svn path=/main/trunk/; revision=10037
* Prevent some more visible downgrades from possibly being missed (bug #219369).Zac Medico2008-04-291-1/+4
| | | | svn path=/main/trunk/; revision=10035
* Prevent some more visible downgrades from possibly being missed (bug #219369).Zac Medico2008-04-291-1/+4
| | | | svn path=/main/trunk/; revision=10034
* Handle a potential KeyError in depgraph.display() when in --resume modeZac Medico2008-04-281-4/+15
| | | | | | and a package scheduled for uninstall is no longer installed. svn path=/main/trunk/; revision=10032
* When a package scheduled for uninstall isn't installed anymore, moveZac Medico2008-04-281-4/+12
| | | | | | on to the next task. svn path=/main/trunk/; revision=10030
* Fix spelling.Zac Medico2008-04-281-1/+1
| | | | svn path=/main/trunk/; revision=10028
* Add a Package.pv_split attibute to optimize version comparisonZac Medico2008-04-281-17/+10
| | | | | | operators. svn path=/main/trunk/; revision=10026