summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug #220775 - Source isolated-functions.sh before trying to call vecho.Zac Medico2008-05-081-0/+1
| | | | | | (trunk r10235) svn path=/main/branches/2.1.2/; revision=10236
* Bug #220689 - Fix package selection logic so that it doesn't trigger theZac Medico2008-05-081-10/+0
| | | | | | code path from bug 219369 in some unwanted cases. (trunk r10233) svn path=/main/branches/2.1.2/; revision=10234
* Fix findInstalledBlockers() to check for blockers in both directions.Zac Medico2008-05-081-16/+40
| | | | | | (trunk r10229) svn path=/main/branches/2.1.2/; revision=10230
* Fix namespace breakage.Zac Medico2008-05-081-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10228
* Instead of doing automatic uninstalls in advance, install conflictingZac Medico2008-05-081-40/+169
| | | | | | | | | | | | | | | | | packages first and then do the uninstall afterwards. This requires special handling for file collisions occur, but it's preferred because it ensures that package files remain installed in a usable state whenever possible. When file collisions occur between conflicting packages, the contents entries for those files are removed from the packages that are scheduled for uninstallation. This prevents uninstallation operations from removing overlapping files that have been claimed by conflicting packages. (trunk r10225) svn path=/main/branches/2.1.2/; revision=10227
* 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
* 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
* 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-061-10/+26
| | | | | | | 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
* Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binaryZac Medico2008-05-051-0/+3
| | | | | | | | 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
* 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-041-22/+56
| | | | | | | 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
* When searching for a "sys-apps/portage" installation task, use match_pkgs()Zac Medico2008-05-021-8/+10
| | | | | | instead of sequential search. (trunk r10104) svn path=/main/branches/2.1.2/; revision=10105
* Use Package.cp attribute instead of calling cpv_getkey(). (trunk r10102)Zac Medico2008-05-021-7/+10
| | | | svn path=/main/branches/2.1.2/; revision=10103
* Use Package instance attributes to clean up and simplifyZac Medico2008-05-021-48/+17
| | | | | | depgraph.validate_blockers(). (trunk r10100) svn path=/main/branches/2.1.2/; revision=10101