Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * In vardbapi.cpv_all() use catpkgsplit() for validation since that's what | Zac Medico | 2008-05-05 | 1 | -3/+9 | |
| | | | | | | | | with cp_all() uses. * Use the listdir() dirsonly=1 parameter to avoid unnecessary stat calls via os.path.isdir(). svn path=/main/trunk/; revision=10204 | |||||
* | Handle a potential InvalidData exception in vardbapi.cp_all(). | Zac Medico | 2008-05-05 | 1 | -2/+6 | |
| | | | | svn path=/main/trunk/; revision=10202 | |||||
* | fix preserve_libs logic to properly account for the current package instancev2.2_pre6 | Marius Mauch | 2008-05-05 | 1 | -11/+20 | |
| | | | | svn path=/main/trunk/; revision=10200 | |||||
* | Add "package" to EBUILD_PHASES since it's possible for einfo to be called | Zac Medico | 2008-05-05 | 1 | -1/+2 | |
| | | | | | | by install_mask() during that phase. svn path=/main/trunk/; revision=10198 | |||||
* | Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binary | Zac Medico | 2008-05-05 | 2 | -0/+8 | |
| | | | | | | | | packages. Also, filter INSTALL_MASK when saving or loading environment.bz2. This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them too. svn path=/main/trunk/; revision=10195 | |||||
* | * Fix --buildpkgonly logic to avoid an unwanted code path. | Zac Medico | 2008-05-05 | 1 | -2/+1 | |
| | | | | | | * Remove unnecessary mtimedb.pop("resume", None) call. svn path=/main/trunk/; revision=10194 | |||||
* | Bug #220171 - Filter out 'lost+found' directories in vardbapi.cpv_all() | Zac Medico | 2008-05-05 | 1 | -1/+9 | |
| | | | | | | | in order to avoid fatal 'Permission denied' errors. Currently, CVS and names beginning with '.' are also filtered. svn path=/main/trunk/; revision=10192 | |||||
* | Use writemsg() to warn about InvalidDependString exceptions that may | Zac Medico | 2008-05-05 | 1 | -2/+10 | |
| | | | | | | occur for installed packages. svn path=/main/trunk/; revision=10190 | |||||
* | Use a separate digraph to preserve irrelevant blocker relationships that | Zac Medico | 2008-05-05 | 1 | -2/+13 | |
| | | | | | | | are removed from depgraph._blocker_parents since the irrelevant blockers are still needed for the blocker cache. svn path=/main/trunk/; revision=10188 | |||||
* | Fix misplaced variable. | Zac Medico | 2008-05-05 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=10186 | |||||
* | In the package uninstall sanity check, use RDEPEND from the currently | Zac Medico | 2008-05-04 | 2 | -22/+57 | |
| | | | | | | running 'sys-apps/portage' instance to create a set of protected atoms. svn path=/main/trunk/; revision=10184 | |||||
* | actually remove libraries that aren't strictly needed from the preservation ↵ | Marius Mauch | 2008-05-04 | 1 | -1/+5 | |
| | | | | | | candidate list svn path=/main/trunk/; revision=10182 | |||||
* | remove NEEDED from list of metadata variables (and associated special ↵ | Marius Mauch | 2008-05-04 | 1 | -9/+2 | |
| | | | | | | handling) as it's no longer used svn path=/main/trunk/; revision=10180 | |||||
* | remove obsolete class | Marius Mauch | 2008-05-04 | 1 | -42/+0 | |
| | | | | svn path=/main/trunk/; revision=10179 | |||||
* | Similar to the sys-apps/portage protection, also add protection against | Zac Medico | 2008-05-04 | 1 | -3/+24 | |
| | | | | | | inappropriately uninstalling either app-shells/bash or dev-lang/python. svn path=/main/trunk/; revision=10171 | |||||
* | Do more validation of resume data from the mtimedb. | Zac Medico | 2008-05-04 | 1 | -6/+18 | |
| | | | | svn path=/main/trunk/; revision=10165 | |||||
* | In order to fix --tree display behave normally in --resume mode, | Zac Medico | 2008-05-04 | 1 | -4/+22 | |
| | | | | | | properly add to the digraph all packages matched by arguments. svn path=/main/trunk/; revision=10162 | |||||
* | Fix misplaced variable used as parameter to _load_favorites(). | Zac Medico | 2008-05-04 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=10160 | |||||
* | Fix package counters in depgraph.display() so they're only incremented | Zac Medico | 2008-05-04 | 1 | -5/+7 | |
| | | | | | | for "ordered" display nodes. svn path=/main/trunk/; revision=10157 | |||||
* | Fix some unwanted interaction between --tree display and unsatisfied | Zac Medico | 2008-05-04 | 1 | -0/+6 | |
| | | | | | | blockers in depgraph.display(). svn path=/main/trunk/; revision=10155 | |||||
* | Remove obsolete tuple() usage inside depgraph.display(). | Zac Medico | 2008-05-04 | 1 | -3/+1 | |
| | | | | svn path=/main/trunk/; revision=10153 | |||||
* | Fix spelling of _show_unsatisfied_blockers(). | Zac Medico | 2008-05-04 | 1 | -2/+2 | |
| | | | | svn path=/main/trunk/; revision=10151 | |||||
* | In BlockerData._load(), salvage as much cache as possible when some | Zac Medico | 2008-05-04 | 1 | -15/+26 | |
| | | | | | | seems to be corrupt. svn path=/main/trunk/; revision=10149 | |||||
* | Validate all the data types inside BlockerCache._load() so that | Zac Medico | 2008-05-04 | 1 | -0/+34 | |
| | | | | | | any corruption is detected as soon as possible. svn path=/main/trunk/; revision=10147 | |||||
* | When a resume list is rejected, display the invalid resume list data | Zac Medico | 2008-05-03 | 1 | -1/+17 | |
| | | | | | | | in case the user is interested. This is enabled with --verbose or --debug. svn path=/main/trunk/; revision=10145 | |||||
* | When a --resume list is rejected due to unsatisfied deps, display a | Zac Medico | 2008-05-03 | 1 | -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 Medico | 2008-05-03 | 1 | -5/+6 | |
| | | | | svn path=/main/trunk/; revision=10141 | |||||
* | When loadResumeCommand() rejects a resume list, give a more informative | Zac Medico | 2008-05-03 | 1 | -6/+33 | |
| | | | | | | explanation. svn path=/main/trunk/; revision=10139 | |||||
* | Fix display_problems() logic some more. | Zac Medico | 2008-05-03 | 1 | -3/+2 | |
| | | | | svn path=/main/trunk/; revision=10137 | |||||
* | Fix logic so display_problems() gets called every time display() does. | Zac Medico | 2008-05-03 | 1 | -6/+1 | |
| | | | | svn path=/main/trunk/; revision=10136 | |||||
* | Improve --resume handling of saved "favorites" argument atoms: | Zac Medico | 2008-05-03 | 1 | -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 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 |