summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* rename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a ↵Marius Mauch2008-05-021-2/+2
| | | | | | different syntax svn path=/main/trunk/; revision=10085
* fix typoMarius Mauch2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10083
* use special symlink comparison code (original patch from prefix r9499)Marius Mauch2008-05-021-1/+18
| | | | svn path=/main/trunk/; revision=10082
* v2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed ↵Marius Mauch2008-05-024-138/+148
| | | | | | 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-022-0/+3
| | | | svn path=/main/trunk/; revision=10078
* add config option for package sets to not be recorded in 'world'Marius Mauch2008-05-023-1/+6
| | | | svn path=/main/trunk/; revision=10077
* check if a given package set is defined more than onceMarius Mauch2008-05-021-2/+10
| | | | svn path=/main/trunk/; revision=10075
* remove 'sets/' name-prefix for file-based package setsMarius Mauch2008-05-021-1/+1
| | | | svn path=/main/trunk/; revision=10073
* Fix broken variable references found by pyflakes.Zac Medico2008-05-021-4/+2
| | | | svn path=/main/trunk/; revision=10072
* check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)Marius Mauch2008-05-021-0/+28
| | | | svn path=/main/trunk/; revision=10069
* 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-302-11/+78
| | | | | | | | | | | | | | | | 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
* For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removalZac Medico2008-04-281-1/+2
| | | | | | phases are the ones that are skipped. svn path=/main/trunk/; revision=10024
* As suggested by Chr. Schaefer in bug #211833, comment #15, note thatZac Medico2008-04-281-17/+16
| | | | | | | removal of the environment.bz2 file is preferred since it may allow the removal phases to execute successfully. svn path=/main/trunk/; revision=10022
* Add comma to ("__weakref__",) so that it's a tuple instead of a string.Zac Medico2008-04-281-1/+1
| | | | | | Thanks to ferringb. svn path=/main/trunk/; revision=10020