summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Tolerate InvalidDependString exceptions when checking visibility ofZac Medico2008-05-081-1/+2
| | | | | | installed packages. (trunk r102240 svn path=/main/branches/2.1.2/; revision=10226
* Fix spelling of "SATISFIED". Thanks to Arfrever. (trunk r10222)Zac Medico2008-05-071-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10223
* In install_mask(), discard stderr messages from the 'find' commandZac Medico2008-05-061-1/+1
| | | | | | | since some tokens from INSTALL_MASK can trigger lots of warnings and errors that are irrelevant for our purposes. (trunk r10220) svn path=/main/branches/2.1.2/; revision=10221
* Make satisfied blockers "darkblue" by default. (trunk r10218)Zac Medico2008-05-062-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10219
* For consistency with the merge list display, show "block" insteadZac Medico2008-05-061-1/+1
| | | | | | of "blocker" in the summary. (trunk r10216) svn path=/main/branches/2.1.2/; revision=10217
* Display satisfied blockers in green and show a small "b" instead of aZac Medico2008-05-063-10/+34
| | | | | | | big "B" (similar to "f" for satisfied fetch restrictions). (trunk r10214) svn path=/main/branches/2.1.2/; revision=10215
* Use find -path -or -name to match basenames of files in INSTALL_MASKZac Medico2008-05-051-1/+2
| | | | | | as suggested by solar in bug #219286, comment #8. (trunk r10212) svn path=/main/branches/2.1.2/; revision=10213
* Cache results for Task.__hash__() calls. (trunk r10210)Zac Medico2008-05-051-2/+5
| | | | svn path=/main/branches/2.1.2/; revision=10211
* Use vardbapi._excluded_dirs to filter results inside cp_list(). (trunk r10208)Zac Medico2008-05-051-5/+2
| | | | svn path=/main/branches/2.1.2/; revision=10209
* Add -MERGING-.* to vardbapi._excluded_dirs. (trunk r10206)Zac Medico2008-05-051-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10207
* * In vardbapi.cpv_all() use catpkgsplit() for validation since that's whatZac Medico2008-05-051-4/+10
| | | | | | | | | with cp_all() uses. * Use the listdir() dirsonly=1 parameter to avoid unnecessary stat calls via os.path.isdir() (trunk r10204) svn path=/main/branches/2.1.2/; revision=10205
* Handle a potential InvalidData exception in vardbapi.cp_all(). (trunk r10202)Zac Medico2008-05-051-1/+5
| | | | svn path=/main/branches/2.1.2/; revision=10203
* Add "package" to EBUILD_PHASES since it's possible for einfo to be calledZac Medico2008-05-051-1/+2
| | | | | | by install_mask() during that phase. (trunk r10198) svn path=/main/branches/2.1.2/; revision=10199
* Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binaryZac Medico2008-05-052-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. (trunk r10195) svn path=/main/branches/2.1.2/; revision=10197
* * Fix --buildpkgonly logic to avoid an unwanted code path.Zac Medico2008-05-051-2/+1
| | | | | | | * Remove unnecessary mtimedb.pop("resume", None) call. (trunk r10194) svn path=/main/branches/2.1.2/; revision=10196
* Bug #220171 - Filter out 'lost+found' directories in vardbapi.cpv_all()Zac Medico2008-05-051-1/+9
| | | | | | | in order to avoid fatal 'Permission denied' errors. Currently, CVS and names beginning with '.' are also filtered. (trunk r10192) svn path=/main/branches/2.1.2/; revision=10193
* Use writemsg() to warn about InvalidDependString exceptions that mayZac Medico2008-05-051-2/+10
| | | | | | occur for installed packages. (trunk r10190) svn path=/main/branches/2.1.2/; revision=10191
* Use a separate digraph to preserve irrelevant blocker relationships thatZac Medico2008-05-051-2/+13
| | | | | | | are removed from depgraph._blocker_parents since the irrelevant blockers are still needed for the blocker cache. (trunk r10188) svn path=/main/branches/2.1.2/; revision=10189
* Fix misplaced variable. (trunk r10186)Zac Medico2008-05-051-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10187
* In the package uninstall sanity check, use RDEPEND from the currentlyZac Medico2008-05-042-22/+57
| | | | | | | running 'sys-apps/portage' instance to create a set of protected atoms. (trunk r10184) svn path=/main/branches/2.1.2/; revision=10185
* Similar to the sys-apps/portage protection, also add protection againstZac Medico2008-05-041-3/+24
| | | | | | | inappropriately uninstalling either app-shells/bash or dev-lang/python. (trunk r10171) svn path=/main/branches/2.1.2/; revision=10172
* Do more validation of resume data from the mtimedb. (trunk r10165)Zac Medico2008-05-041-6/+18
| | | | svn path=/main/branches/2.1.2/; revision=10166
* When a --resume list is rejected due to unsatisfied deps, display aZac Medico2008-05-041-3/+8
| | | | | | | list of missing deps and which packages they belong to. (trunk r10143) svn path=/main/branches/2.1.2/; revision=10164
* In order to fix --tree display behave normally in --resume mode,Zac Medico2008-05-041-4/+22
| | | | | | | properly add to the digraph all packages matched by arguments. (trunk r10162) svn path=/main/branches/2.1.2/; revision=10163
* Fix misplaced variable used as parameter to _load_favorites(). (trunk r10160)Zac Medico2008-05-041-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10161
* Make favorites handling in depgraph.select_files() consistent withZac Medico2008-05-041-2/+4
| | | | | | SetArg handling when the "system" set is added along with "world". svn path=/main/branches/2.1.2/; revision=10159
* Fix package counters in depgraph.display() so they're only incrementedZac Medico2008-05-041-5/+7
| | | | | | for "ordered" display nodes. (trunk r10157) svn path=/main/branches/2.1.2/; revision=10158
* Fix some unwanted interaction between --tree display and unsatisfiedZac Medico2008-05-041-0/+9
| | | | | | blockers in depgraph.display(). (trunk r10155) svn path=/main/branches/2.1.2/; revision=10156
* Remove obsolete tuple() usage inside depgraph.display(). (trunk r10153)Zac Medico2008-05-041-3/+1
| | | | svn path=/main/branches/2.1.2/; revision=10154
* Fix spelling of _show_unsatisfied_blockers(). (trunk r10151)Zac Medico2008-05-041-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10152
* In BlockerData._load(), salvage as much cache as possible when someZac Medico2008-05-041-15/+26
| | | | | | seems to be corrupt. (trunk r10149) svn path=/main/branches/2.1.2/; revision=10150
* Validate all the data types inside BlockerCache._load() so thatZac Medico2008-05-041-0/+34
| | | | | | any corruption is detected as soon as possible. (trunk r10147) svn path=/main/branches/2.1.2/; revision=10148
* When a resume list is rejected, display the invalid resume list dataZac Medico2008-05-031-1/+17
| | | | | | | in case the user is interested. This is enabled with --verbose or --debug. (trunk r10145) svn path=/main/branches/2.1.2/; revision=10146
* Return early from create_world_atom() if an atom matching the packageZac Medico2008-05-031-0/+2
| | | | | | can't be found for some reason. svn path=/main/branches/2.1.2/; revision=10144
* Don't clean out old resume lists when in --ask or --pretend mode.Zac Medico2008-05-031-5/+6
| | | | | | (trunk r10141) svn path=/main/branches/2.1.2/; revision=10142
* When loadResumeCommand() rejects a resume list, give a more informativeZac Medico2008-05-031-6/+33
| | | | | | explanation. (trunk r10139) svn path=/main/branches/2.1.2/; revision=10140
* Fix display_problems() logic some more. (trunk r10135:10137)Zac Medico2008-05-031-6/+0
| | | | svn path=/main/branches/2.1.2/; revision=10138
* Improve --resume handling of saved "favorites" argument atoms:Zac Medico2008-05-031-28/+76
| | | | | | | | | | | | * 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. (trunk r10134) svn path=/main/branches/2.1.2/; revision=10135
* * Move circular deps and blocker displays to depgraph.display_problems().Zac Medico2008-05-031-64/+87
| | | | | | | | * Always call display_problems() since calling it from inside display() can lead to unwanted recursion. (trunk r10132) svn path=/main/branches/2.1.2/; revision=10133
* Similar to the circular dependency display, handle the unsatisfied blockerZac Medico2008-05-031-55/+26
| | | | | | | display inside _serialize_tasks() since that's a convenient place to bail out. (trunk r10130) svn path=/main/branches/2.1.2/; revision=10131
* Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>Zac Medico2008-05-031-4/+4
| | | | | | for this patch. (trunk r10127) svn path=/main/branches/2.1.2/; revision=10129
* Bug #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks toZac Medico2008-05-031-2/+6
| | | | | | RB <aoz.syn@gmail.com> for this patch. (trunk r10126) svn path=/main/branches/2.1.2/; revision=10128
* Move --resume options handling to the beginning of action_build() soZac Medico2008-05-031-51/+36
| | | | | | | that the current options are updated with the saved options as soon as possible. (trunk r10122:10124) svn path=/main/branches/2.1.2/; revision=10125
* Make --nodeps automatically disable --tree. (trunk r10121)Zac Medico2008-05-031-0/+24
| | | | svn path=/main/branches/2.1.2/; revision=10122
* Fix depgraph.loadResumeCommand() to identify an unsatisfied dependencyZac Medico2008-05-031-4/+15
| | | | | | and invalidate the resume list in that case. (trunk r10119) svn path=/main/branches/2.1.2/; revision=10120
* * Check for masked packages in the --resume merge list and bailZac Medico2008-05-031-13/+83
| | | | | | | | | | | | | | | | | | | | | 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. * Fix --resume mode to check for unsatisfied blockers and bail out when necessary. * Add --nodeps to the parallel-fetch --resume options since recalculation of deps is a a waste here. * Delete the resume list(s) if there is an unsatisfied block. (trunk r10113:10117) svn path=/main/branches/2.1.2/; revision=10118
* Add a PackageVirtualDbapi.__iter__() method and use it to iterate overZac Medico2008-05-021-4/+5
| | | | | | all installed packages in depgraph.validate_blockers(). (trunk r10112) svn path=/main/branches/2.1.2/; revision=10113
* Use match_pkgs() to simplify package comparison. (trunk r10110)Zac Medico2008-05-021-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=10111
* Move the blocker cache validation into depgraph.validate_blockers().Zac Medico2008-05-021-24/+18
| | | | | | (trunk r10108) svn path=/main/branches/2.1.2/; revision=10109
* 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. (trunk r10106) svn path=/main/branches/2.1.2/; revision=10107