summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Update documentation for package set configuration. Original patch by ↵Marius Mauch2008-05-021-11/+39
| | | | | | Arfrever Frehtes Taifersar Arahesis svn path=/main/trunk/; revision=10086
* rename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a ↵Marius Mauch2008-05-022-4/+4
| | | | | | 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-025-139/+149
| | | | | | 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-024-2/+11
| | | | 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
* Skip group/owner tarsync options for tarsync if chown on /usr/portageZac Medico2008-05-021-1/+4
| | | | | | | fails, since the user might still be able to sync even though the chown call is not permitted. svn path=/main/trunk/; revision=10070
* check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957)Marius Mauch2008-05-021-0/+28
| | | | svn path=/main/trunk/; revision=10069
* Bug #219837 - Adjust date calculations some more and show anZac Medico2008-05-021-15/+53
| | | | | | | informative ewarn message when bailing out due to a newer snapshot being unavailable. svn path=/main/trunk/; revision=10067
* 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
* Detect an old version of tarsync and use bzip2 compression in that case.Zac Medico2008-05-011-3/+9
| | | | svn path=/main/trunk/; revision=10056
* 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
* Bug #219837 - Adjust date calculations to improve accuracy.Zac Medico2008-04-301-3/+7
| | | | svn path=/main/trunk/; revision=10047
* 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
* Try to format the elog message better for bug #211833, separatingZac Medico2008-04-281-12/+29
| | | | | | paragraphs for easier reading. svn path=/main/trunk/; revision=10018
* Use write_atomic() for manifest updates.Zac Medico2008-04-281-4/+2
| | | | svn path=/main/trunk/; revision=10016
* Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicateZac Medico2008-04-281-0/+6
| | | | | | cpv or slot are handled correctly. svn path=/main/trunk/; revision=10014
* Bug #211833 - When an ebuild removal phase fails, notify the user thatZac Medico2008-04-281-1/+8
| | | | | | | 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
* Add missing slot comparison when looking for higher slot inZac Medico2008-04-281-2/+3
| | | | | | _iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10008