Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the blocker cache validation into depgraph.validate_blockers(). | Zac Medico | 2008-05-02 | 1 | -24/+18 |
| | | | | svn path=/main/trunk/; revision=10108 | ||||
* | In depgraph.validate_blockers(), discard any "uninstall" tasks scheduled | Zac Medico | 2008-05-02 | 1 | -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 Medico | 2008-05-02 | 1 | -8/+10 |
| | | | | | | instead of sequential search. svn path=/main/trunk/; revision=10104 | ||||
* | Use Package.cp attribute instead of calling cpv_getkey(). | Zac Medico | 2008-05-02 | 1 | -7/+10 |
| | | | | svn path=/main/trunk/; revision=10102 | ||||
* | Use Package instance attributes to clean up and simplify | Zac Medico | 2008-05-02 | 1 | -48/+17 |
| | | | | | | depgraph.validate_blockers(). svn path=/main/trunk/; revision=10100 | ||||
* | In depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriate | Zac Medico | 2008-05-02 | 1 | -2/+4 |
| | | | | | | place. svn path=/main/trunk/; revision=10098 | ||||
* | In depgraph._complete_graph(), use cached Package instances instead | Zac Medico | 2008-05-02 | 1 | -7/+2 |
| | | | | | | of constructing new ones. svn path=/main/trunk/; revision=10096 | ||||
* | Validate resume list data some more. | Zac Medico | 2008-05-02 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10094 | ||||
* | Clean up merge list handling: | Zac Medico | 2008-05-02 | 1 | -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 Mauch | 2008-05-02 | 1 | -2/+2 |
| | | | | | | different syntax svn path=/main/trunk/; revision=10085 | ||||
* | fix typo | Marius Mauch | 2008-05-02 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10083 | ||||
* | use special symlink comparison code (original patch from prefix r9499) | Marius Mauch | 2008-05-02 | 1 | -1/+18 |
| | | | | svn path=/main/trunk/; revision=10082 | ||||
* | v2 of FEATURES=preserved-libs, using LinkageMap instead of the now removed ↵ | Marius Mauch | 2008-05-02 | 4 | -138/+148 |
| | | | | | | LibraryPackageMap class svn path=/main/trunk/; revision=10081 | ||||
* | do not consider sets to be installed that are about to be unmerged | Marius Mauch | 2008-05-02 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=10080 | ||||
* | move cleaning of sets out of package loop | Marius Mauch | 2008-05-02 | 1 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=10079 | ||||
* | properly remove sets from 'world' when unmerging | Marius Mauch | 2008-05-02 | 2 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=10078 | ||||
* | add config option for package sets to not be recorded in 'world' | Marius Mauch | 2008-05-02 | 3 | -1/+6 |
| | | | | svn path=/main/trunk/; revision=10077 | ||||
* | check if a given package set is defined more than once | Marius Mauch | 2008-05-02 | 1 | -2/+10 |
| | | | | svn path=/main/trunk/; revision=10075 | ||||
* | remove 'sets/' name-prefix for file-based package sets | Marius Mauch | 2008-05-02 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10073 | ||||
* | Fix broken variable references found by pyflakes. | Zac Medico | 2008-05-02 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=10072 | ||||
* | check if PORTAGE_TMPDIR is mounted readonly/noexec (bug #219957) | Marius Mauch | 2008-05-02 | 1 | -0/+28 |
| | | | | svn path=/main/trunk/; revision=10069 | ||||
* | Fix variable rename breakage: pkg -> pkg.cpv | Zac Medico | 2008-05-01 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10065 | ||||
* | When adding blockers for installed packages to the graph, use cached | Zac Medico | 2008-05-01 | 1 | -22/+14 |
| | | | | | | Package instances instead of constructing new ones. svn path=/main/trunk/; revision=10062 | ||||
* | Sort blockers when caching them. | Zac Medico | 2008-05-01 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=10054 | ||||
* | Don't add blockers to the graph more times than necessary. | Zac Medico | 2008-05-01 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=10052 | ||||
* | * Add a Package.operation attribute and use it to distinguish "uninstall" | Zac Medico | 2008-05-01 | 1 | -37/+27 |
| | | | | | | operations. svn path=/main/trunk/; revision=10050 | ||||
* | Handle a KeyError when validating the blocker cache. | Zac Medico | 2008-04-30 | 1 | -1/+6 |
| | | | | svn path=/main/trunk/; revision=10045 | ||||
* | Fix broken comparison, compare with None instead of nonzero. | Zac Medico | 2008-04-30 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10043 | ||||
* | Fix logic to re-use blockers from the graph when populating the blocker cache. | Zac Medico | 2008-04-30 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=10042 | ||||
* | * Fix dep_check() so that it doesn't expand virtual blockers since the | Zac Medico | 2008-04-30 | 2 | -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 always | Zac Medico | 2008-04-30 | 1 | -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, so | Zac Medico | 2008-04-29 | 1 | -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 Medico | 2008-04-29 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=10035 | ||||
* | Prevent some more visible downgrades from possibly being missed (bug #219369). | Zac Medico | 2008-04-29 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=10034 | ||||
* | Handle a potential KeyError in depgraph.display() when in --resume mode | Zac Medico | 2008-04-28 | 1 | -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, move | Zac Medico | 2008-04-28 | 1 | -4/+12 |
| | | | | | | on to the next task. svn path=/main/trunk/; revision=10030 | ||||
* | Fix spelling. | Zac Medico | 2008-04-28 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10028 | ||||
* | Add a Package.pv_split attibute to optimize version comparison | Zac Medico | 2008-04-28 | 1 | -17/+10 |
| | | | | | | operators. svn path=/main/trunk/; revision=10026 | ||||
* | For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removal | Zac Medico | 2008-04-28 | 1 | -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 that | Zac Medico | 2008-04-28 | 1 | -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 Medico | 2008-04-28 | 1 | -1/+1 |
| | | | | | | Thanks to ferringb. svn path=/main/trunk/; revision=10020 | ||||
* | Try to format the elog message better for bug #211833, separating | Zac Medico | 2008-04-28 | 1 | -12/+29 |
| | | | | | | paragraphs for easier reading. svn path=/main/trunk/; revision=10018 | ||||
* | Use write_atomic() for manifest updates. | Zac Medico | 2008-04-28 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=10016 | ||||
* | Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicate | Zac Medico | 2008-04-28 | 1 | -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 that | Zac Medico | 2008-04-28 | 1 | -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 in | Zac Medico | 2008-04-28 | 1 | -2/+3 |
| | | | | | | _iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10008 | ||||
* | Bug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atoms | Zac Medico | 2008-04-28 | 1 | -8/+58 |
| | | | | | | only match the highest visible slot. svn path=/main/trunk/; revision=10007 | ||||
* | Fix the EbuildQuote check to ignore "echo" and the elog functions since | Zac Medico | 2008-04-27 | 1 | -1/+4 |
| | | | | | | people might not want quotes in those cases. svn path=/main/trunk/; revision=10006 | ||||
* | * Remove the only remaining sys.exit() calls inside the depgraph class. | Zac Medico | 2008-04-27 | 1 | -5/+9 |
| | | | | | | * Fix _unknown_internal_error() to work with zero arguments. svn path=/main/trunk/; revision=10005 | ||||
* | Never uninstall sys-apps/portage except through replacement. | Zac Medico | 2008-04-27 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=10003 |