summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
* In unmerge(), flush the vardbapi aux_get() cache to disk before releasingZac Medico2008-05-181-0/+1
| | | | | | the vardb lock. (trunk r10361) svn path=/main/branches/2.1.2/; revision=10363
* Fix th logic from the previous commit. (trunk r10350)Zac Medico2008-05-171-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=10355
* Add back the "install new portage asap" behavior that got lost when thatZac Medico2008-05-171-0/+1
| | | | | | area of code was rewritten. (trunk r10349) svn path=/main/branches/2.1.2/; revision=10354
* Remove 'eselect compiler' references (trunk r10328)Zac Medico2008-05-131-6/+0
| | | | svn path=/main/branches/2.1.2/; revision=10331
* In the warning about eclasses in overlay overriding eclasses from PORTDIR,Zac Medico2008-05-121-1/+2
| | | | | | | also advise the user to add FEATURES="metadata-transfer" to make.conf. (trunk r10310) svn path=/main/branches/2.1.2/; revision=10311
* If the uninstall task did not need to be executed becauseZac Medico2008-05-101-2/+13
| | | | | | | | of an upgrade, display Blocker -> Upgrade edges since the corresponding Blocker -> Uninstall edges will not be shown. (trunk r10286) svn path=/main/branches/2.1.2/; revision=10287
* Always include satisfied blockers as an indicator that blockingZac Medico2008-05-101-6/+8
| | | | | | packages will be temporarily installed simultaneously. (trunk r10281) svn path=/main/branches/2.1.2/; revision=10282
* When selecting leaf nodes, if there is a mix of merge and uninstallZac Medico2008-05-101-2/+12
| | | | | | | | nodes, save the uninstall nodes from later since sometimes a merge node will render an install node unnecessary, and we want to avoid doing a separate uninstall task in that case. (trunk r10279) svn path=/main/branches/2.1.2/; revision=10280
* Fix another KeyError, reported in Bug #221107, comment #4. There's no needZac Medico2008-05-101-2/+0
| | | | | | | to remove uninstall tasks from scheduled_uninstalls, so just keep them in there. (trunk r10277) svn path=/main/branches/2.1.2/; revision=10278
* Bug #221053 - Save the resume list before verifying the ebuild ManifestsZac Medico2008-05-091-4/+7
| | | | | | | since it might be possible for the user to use --resume --skipfirst get past a non-essential package with a broken digest. (trunk r10275) svn path=/main/branches/2.1.2/; revision=10276
* Bug #221071 - Prevent display_problems() from redundantly displayingZac Medico2008-05-091-1/+9
| | | | | | the exact same merge list a second time. (trunk r10273) svn path=/main/branches/2.1.2/; revision=10274
* Bug #221107 - Fix depgraph._serialize_tasks() so that it doesn'tZac Medico2008-05-091-0/+6
| | | | | | | | try to schedule an uninstall task that's already been scheduled but hasn't been executed yet due to dependence on installation of blocking packages. (trunk r10271) svn path=/main/branches/2.1.2/; revision=10272
* Simplify code for derived Package attributes. (trunk r10266)Zac Medico2008-05-091-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10267
* For the "blockers" parameter that's passed into the dblink constructorZac Medico2008-05-091-5/+17
| | | | | | | now, make it a callable since it really shouldn't be called until the vdb lock has been acquired. (trunk r10264) svn path=/main/branches/2.1.2/; revision=10265
* If an uninstall task fails inside MergeTask.merge(), use an UninstallFailureZac Medico2008-05-091-5/+24
| | | | | | | exception to handle it instead of allowing unmerge() to call exit(). (trunk r10262) svn path=/main/branches/2.1.2/; revision=10263
* Use set.instersection() instead of a for loop. (trunk r10260)Zac Medico2008-05-091-4/+7
| | | | svn path=/main/branches/2.1.2/; revision=10261
* Allow scheduled uninstalls to be selected the same way as other leaf nodes.Zac Medico2008-05-091-8/+3
| | | | | | (trunk r10258) svn path=/main/branches/2.1.2/; revision=10259
* 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. (trunk r10256) svn path=/main/branches/2.1.2/; revision=10257
* 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
* 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 #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
* 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
* Cache results for Task.__hash__() calls. (trunk r10210)Zac Medico2008-05-051-2/+5
| | | | svn path=/main/branches/2.1.2/; revision=10211
* * 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