Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Move circular deps and blocker displays to depgraph.display_problems(). | Zac Medico | 2008-05-03 | 1 | -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 blocker | Zac Medico | 2008-05-03 | 1 | -53/+25 |
| | | | | | | | display inside _serialize_tasks() since that's a convenient place to bail out. svn path=/main/trunk/; revision=10130 | ||||
* | Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com> | Zac Medico | 2008-05-03 | 1 | -4/+4 |
| | | | | | | for this patch. svn path=/main/trunk/; revision=10127 | ||||
* | Buf #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks to | Zac Medico | 2008-05-03 | 1 | -2/+6 |
| | | | | | | RB <aoz.syn@gmail.com> for this patch. svn path=/main/trunk/; revision=10126 | ||||
* | Also move mtimedb resume list validation earlier. | Zac Medico | 2008-05-03 | 1 | -10/+10 |
| | | | | svn path=/main/trunk/; revision=10124 | ||||
* | Move --resume options handling to the beginning of action_build() so | Zac Medico | 2008-05-03 | 1 | -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 Medico | 2008-05-03 | 1 | -0/+24 |
| | | | | svn path=/main/trunk/; revision=10121 | ||||
* | Fix depgraph.loadResumeCommand() to identify an unsatisfied dependency | Zac Medico | 2008-05-03 | 1 | -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 Medico | 2008-05-03 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=10117 | ||||
* | Add --nodeps to the parallel-fetch --resume options since recalculation of | Zac Medico | 2008-05-03 | 1 | -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 when | Zac Medico | 2008-05-03 | 1 | -0/+19 |
| | | | | | | necessary. svn path=/main/trunk/; revision=10115 | ||||
* | * Check for masked packages in the --resume merge list and bail | Zac Medico | 2008-05-03 | 1 | -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 over | Zac Medico | 2008-05-02 | 1 | -4/+5 |
| | | | | | | all installed packages in depgraph.validate_blockers(). svn path=/main/trunk/; revision=10112 | ||||
* | Use match_pkgs() to simplify package comparison. | Zac Medico | 2008-05-02 | 1 | -3/+2 |
| | | | | svn path=/main/trunk/; revision=10110 | ||||
* | 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 | ||||
* | Update documentation for package set configuration. Original patch by ↵ | Marius Mauch | 2008-05-02 | 1 | -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 Mauch | 2008-05-02 | 2 | -4/+4 |
| | | | | | | 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 | 5 | -139/+149 |
| | | | | | | 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 | 4 | -2/+11 |
| | | | | 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 | ||||
* | Skip group/owner tarsync options for tarsync if chown on /usr/portage | Zac Medico | 2008-05-02 | 1 | -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 Mauch | 2008-05-02 | 1 | -0/+28 |
| | | | | svn path=/main/trunk/; revision=10069 | ||||
* | Bug #219837 - Adjust date calculations some more and show an | Zac Medico | 2008-05-02 | 1 | -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.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 | ||||
* | Detect an old version of tarsync and use bzip2 compression in that case. | Zac Medico | 2008-05-01 | 1 | -3/+9 |
| | | | | svn path=/main/trunk/; revision=10056 | ||||
* | 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 | ||||
* | Bug #219837 - Adjust date calculations to improve accuracy. | Zac Medico | 2008-04-30 | 1 | -3/+7 |
| | | | | svn path=/main/trunk/; revision=10047 | ||||
* | 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 |