summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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
* In depgraph._serialize_tasks(), filter "nomerge" nodes at a more appropriateZac Medico2008-05-021-2/+4
| | | | | | place. (trunk r10098) svn path=/main/branches/2.1.2/; revision=10099
* In depgraph._complete_graph(), use cached Package instances insteadZac Medico2008-05-021-7/+2
| | | | | | of constructing new ones. (trunk r10096) svn path=/main/branches/2.1.2/; revision=10097
* Validate resume list data some more. (trunk r10094)Zac Medico2008-05-021-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10095
* Clean up merge list handling:Zac Medico2008-05-021-52/+26
| | | | | | | | | | | | | | | | * In depgraph.loadResumeCommand(), populate _serialized_tasks_cache so that it can be returned from depgraph.altlist(). * Handle --skipfirst instide depgraph.loadResumeCommand(), and fix it to skip the first "merge" task and never skip "uninstall" tasks. * Always get the merge list from depgraph.altlist() instead of using the mtimedb directly. The list returned from depgraph.altlist() contains Package instances with cached metadata. * Remove obsolete code from depgraph.display() and MergeTask.merge() since the merge list always comes from depgraph.altlist() now, and never directly from the mtimedb. (trunk r10092) svn path=/main/branches/2.1.2/; revision=10093
* Fix broken variable references found by pyflakes. (trunk r10072)Zac Medico2008-05-021-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10074
* Fix variable rename breakage: pkg -> pkg.cpv (trunk r10065)Zac Medico2008-05-011-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10066
* When adding blockers for installed packages to the graph, use cachedZac Medico2008-05-011-22/+14
| | | | | | Package instances instead of constructing new ones. (trunk r10062) svn path=/main/branches/2.1.2/; revision=10063
* Sort blockers when caching them. (trunk r10054)Zac Medico2008-05-011-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10055
* Don't add blockers to the graph more times than necessary. (trunk r10052)Zac Medico2008-05-011-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10053
* * Add a Package.operation attribute and use it to distinguish "uninstall"Zac Medico2008-05-011-37/+27
| | | | | | operations. (trunk r10050) svn path=/main/branches/2.1.2/; revision=10051
* Handle a KeyError when validating the blocker cache. (trunk r10045)Zac Medico2008-04-301-1/+6
| | | | svn path=/main/branches/2.1.2/; revision=10046
* * Fix dep_check() so that it doesn't expand virtual blockers since theZac Medico2008-04-301-11/+77
| | | | | | | | | | | | | | | | | un-expanded virtual atom is more useful for maintaining a cache of blocker atoms. * Expand virtual blockers in depgraph.validate_blockers(), since it's not done by dep_check() anymore. * If blocker data from the graph is available, use it to validate the blocker cache and update the cache if it seems invalid. * Make BlockerCache._load() more tolerant to installs/uninstalls so so that cache isn't rebuilt so often. (trunk r10040:10043) svn path=/main/branches/2.1.2/; revision=10044
* Fix "deep" logic in depgraph._complete_graph() so that it alwaysZac Medico2008-04-301-2/+4
| | | | | | | properly recognizes whether or not "deep" was previously enabled. (trunk r10039) svn path=/main/branches/2.1.2/; revision=10040
* Make unmerge() group packages by cat/pn when the order doesn't matter, soZac Medico2008-04-291-6/+29
| | | | | | the display appears like earlier versions of portage. (trunk r10037) svn path=/main/branches/2.1.2/; revision=10038
* Prevent some more visible downgrades from possibly being missed (bug #219369).Zac Medico2008-04-291-2/+8
| | | | | | (trunk r10033:10035) svn path=/main/branches/2.1.2/; revision=10036
* Handle a potential KeyError in depgraph.display() when in --resume modeZac Medico2008-04-281-4/+15
| | | | | | and a package scheduled for uninstall is no longer installed. (trunk r10032) svn path=/main/branches/2.1.2/; revision=10033
* When a package scheduled for uninstall isn't installed anymore, moveZac Medico2008-04-281-4/+12
| | | | | | on to the next task. (trunk r10030) svn path=/main/branches/2.1.2/; revision=10031
* Fix spelling. (trunk r10028)Zac Medico2008-04-281-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10029
* Add a Package.pv_split attibute to optimize version comparisonZac Medico2008-04-281-17/+10
| | | | | | operators. (trunk r10026) svn path=/main/branches/2.1.2/; revision=10027
* Add comma to ("__weakref__",) so that it's a tuple instead of a string.Zac Medico2008-04-281-1/+1
| | | | | | Thanks to ferringb. (trunk r10020) svn path=/main/branches/2.1.2/; revision=10021
* Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicateZac Medico2008-04-281-0/+6
| | | | | | cpv or slot are handled correctly. (trunk r10014) svn path=/main/branches/2.1.2/; revision=10015
* Bug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atomsZac Medico2008-04-281-8/+59
| | | | | | only match the highest visible slot. (trunk r10006:10008) svn path=/main/branches/2.1.2/; revision=10012
* * Remove the only remaining sys.exit() calls inside the depgraph class.Zac Medico2008-04-281-5/+9
| | | | | | | * Fix _unknown_internal_error() to work with zero arguments. (trunk r10005) svn path=/main/branches/2.1.2/; revision=10010
* Never uninstall sys-apps/portage except through replacement. (trunk r10003)Zac Medico2008-04-271-0/+4
| | | | svn path=/main/branches/2.1.2/; revision=10004