summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimize BlockerDB.findInstalledBlockers() so that it doesn't unnecessarilyZac Medico2008-05-091-7/+8
| | | | | | try to match packages against an empty set of blocker atoms. (trunk r10254) svn path=/main/branches/2.1.2/; revision=10255
* Bug #220987 - Fix UnboundLocalError for 'skip' that only occurs whenZac Medico2008-05-081-0/+1
| | | | | | | using alternate ROOT. Thanks to Ryan Tandy <tarpman@gmail.com>. (trunk r10252) svn path=/main/branches/2.1.2/; revision=10253
* Make some confmem behavior modifications in order to try and make itZac Medico2008-05-081-1/+23
| | | | | | | | | | | | | | | less confusing for people who have forgotten about the --noconfmem option or are completely unaware of it. Thanks to Joe Peterson <lavajoe@gentoo.org> for suggesting these: * Always behave like --noconfmem is enabled for downgrades. * Purge confmem entries when a package is unmerged rather than replaced. (trunk r10250) svn path=/main/branches/2.1.2/; revision=10251
* Remove stale uninstall tasks from scheduled_uninstalls when necessary.Zac Medico2008-05-081-0/+2
| | | | | | (trunk r10246) svn path=/main/branches/2.1.2/; revision=10247
* Remove unnecessary BlockerDB and BlockerCache _installed_pkgs attributes.Zac Medico2008-05-081-6/+4
| | | | | | (trunk r10241) svn path=/main/branches/2.1.2/; revision=10242
* Don't save "uninstall" tasks in the resume list since they'll be regeneratedZac Medico2008-05-081-4/+2
| | | | | | by dependency calculations upon resume. (trunk r10239) svn path=/main/branches/2.1.2/; revision=10240
* Bug #220341 - USE=multislot can make an installed package appear as ifZac Medico2008-05-081-0/+12
| | | | | | | | | | it doesn't satisfy a slot dependency. Rebuilding the ebuild won't do any good as long as USE=multislot is enabled since the newly built package still won't have the expected slot. Therefore, assume that such SLOT dependencies are already satisfied rather than forcing a rebuild. (trunk r10237) svn path=/main/branches/2.1.2/; revision=10238
* 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
* Don't use try/finally to close atomic_ofstream since we don't want toZac Medico2008-05-081-18/+16
| | | | | | call close() on this stream if an error occurs. (trunk r10231) svn path=/main/branches/2.1.2/; revision=10232
* 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-083-47/+235
| | | | | | | | | | | | | | | | | 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
* 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