summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the fix for bug #220341 better by checking all selected packages forZac Medico2008-05-091-3/+5
| | | | | | matching cpv rather than just the last one. svn path=/main/trunk/; revision=10256
* 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. svn path=/main/trunk/; revision=10254
* 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>. svn path=/main/trunk/; revision=10252
* 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. svn path=/main/trunk/; revision=10250
* Remove stale uninstall tasks from scheduled_uninstalls when necessary.Zac Medico2008-05-081-0/+2
| | | | svn path=/main/trunk/; revision=10246
* Remove unnecessary BlockerDB and BlockerCache _installed_pkgs attributes.Zac Medico2008-05-081-6/+4
| | | | svn path=/main/trunk/; revision=10241
* Don't save "uninstall" tasks in the resume list since they'll be regeneratedZac Medico2008-05-081-4/+2
| | | | | | by dependency calculations upon resume. svn path=/main/trunk/; revision=10239
* 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. svn path=/main/trunk/; revision=10237
* Bug #220775 - Source isolated-functions.sh before trying to call vecho.Zac Medico2008-05-081-0/+1
| | | | svn path=/main/trunk/; revision=10235
* 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. svn path=/main/trunk/; revision=10233
* 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. svn path=/main/trunk/; revision=10231
* Fix findInstalledBlockers() to check for blockers in both directions.Zac Medico2008-05-081-16/+40
| | | | svn path=/main/trunk/; revision=10229
* Instead of doing automatic uninstalls in advance, install conflictingZac Medico2008-05-084-44/+233
| | | | | | | | | | | | | | | 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. svn path=/main/trunk/; revision=10225
* Tolerate InvalidDependString exceptions when checking visibility ofZac Medico2008-05-071-1/+2
| | | | | | installed packages. svn path=/main/trunk/; revision=10224
* Fix spelling of "SATISFIED". Thanks to Arfrever.Zac Medico2008-05-071-1/+1
| | | | svn path=/main/trunk/; revision=10222
* 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. svn path=/main/trunk/; revision=10220
* Make satisfied blockers "darkblue" by default.Zac Medico2008-05-062-2/+2
| | | | svn path=/main/trunk/; revision=10218
* For consistency with the merge list display, show "block" insteadZac Medico2008-05-061-1/+1
| | | | | | of "blocker" in the summary. svn path=/main/trunk/; revision=10216
* 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). svn path=/main/trunk/; revision=10214
* 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. svn path=/main/trunk/; revision=10212
* Cache results for Task.__hash__() calls.Zac Medico2008-05-051-2/+5
| | | | svn path=/main/trunk/; revision=10210
* Use vardbapi._excluded_dirs to filter results inside cp_list().Zac Medico2008-05-051-4/+1
| | | | svn path=/main/trunk/; revision=10208
* Add -MERGING-.* to vardbapi._excluded_dirs.Zac Medico2008-05-051-1/+1
| | | | svn path=/main/trunk/; revision=10206
* * In vardbapi.cpv_all() use catpkgsplit() for validation since that's whatZac Medico2008-05-051-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 Medico2008-05-051-2/+6
| | | | svn path=/main/trunk/; revision=10202
* fix preserve_libs logic to properly account for the current package instancev2.2_pre6Marius Mauch2008-05-051-11/+20
| | | | svn path=/main/trunk/; revision=10200
* 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. svn path=/main/trunk/; revision=10198
* 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. svn path=/main/trunk/; revision=10195
* * Fix --buildpkgonly logic to avoid an unwanted code path.Zac Medico2008-05-051-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 Medico2008-05-051-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 mayZac Medico2008-05-051-2/+10
| | | | | | occur for installed packages. svn path=/main/trunk/; revision=10190
* 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. svn path=/main/trunk/; revision=10188
* Fix misplaced variable.Zac Medico2008-05-051-1/+1
| | | | svn path=/main/trunk/; revision=10186
* 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. svn path=/main/trunk/; revision=10184
* actually remove libraries that aren't strictly needed from the preservation ↵Marius Mauch2008-05-041-1/+5
| | | | | | candidate list svn path=/main/trunk/; revision=10182
* remove NEEDED from list of metadata variables (and associated special ↵Marius Mauch2008-05-041-9/+2
| | | | | | handling) as it's no longer used svn path=/main/trunk/; revision=10180
* remove obsolete classMarius Mauch2008-05-041-42/+0
| | | | svn path=/main/trunk/; revision=10179
* 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. svn path=/main/trunk/; revision=10171
* Do more validation of resume data from the mtimedb.Zac Medico2008-05-041-6/+18
| | | | svn path=/main/trunk/; revision=10165
* 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. svn path=/main/trunk/; revision=10162
* Fix misplaced variable used as parameter to _load_favorites().Zac Medico2008-05-041-1/+1
| | | | svn path=/main/trunk/; revision=10160
* Fix package counters in depgraph.display() so they're only incrementedZac Medico2008-05-041-5/+7
| | | | | | for "ordered" display nodes. svn path=/main/trunk/; revision=10157
* Fix some unwanted interaction between --tree display and unsatisfiedZac Medico2008-05-041-0/+6
| | | | | | blockers in depgraph.display(). svn path=/main/trunk/; revision=10155
* Remove obsolete tuple() usage inside depgraph.display().Zac Medico2008-05-041-3/+1
| | | | svn path=/main/trunk/; revision=10153
* Fix spelling of _show_unsatisfied_blockers().Zac Medico2008-05-041-2/+2
| | | | svn path=/main/trunk/; revision=10151
* In BlockerData._load(), salvage as much cache as possible when someZac Medico2008-05-041-15/+26
| | | | | | seems to be corrupt. svn path=/main/trunk/; revision=10149
* Validate all the data types inside BlockerCache._load() so thatZac Medico2008-05-041-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 dataZac Medico2008-05-031-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 aZac Medico2008-05-031-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 Medico2008-05-031-5/+6
| | | | svn path=/main/trunk/; revision=10141