summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
...
* depgraph: use Package.masks for installedZac Medico2011-01-021-5/+3
| | | | | In some cases we do special masking checks for installed packages, and Package.masks is a convenient way to do it.
* depclean: account for more masksZac Medico2011-01-021-0/+14
| | | | | | Account for packages with masks (like KEYWORDS masks) that are usually ignored in visibility checks for installed packages, in order to handle cases like bug #350285.
* depgraph: Optimize --newuse with Package attrs.Zac Medico2010-12-241-4/+4
|
* saveNomergeFavorites: remove unecessary varsZac Medico2010-12-201-4/+3
|
* saveNomergeFavorites: fix possible root confusionZac Medico2010-12-201-0/+5
|
* paren_enclose: preserve atom USE conditionalsZac Medico2010-12-191-2/+4
| | | | | | | The depgraph sometimes uses paren_enclose to temporarily convert parts of use_reduce output to a plain string. In these cases, we want to preserve atom USE conditionals, since these sometimes make a difference for IUSE checks during package matching (as in bug #348389).
* depgraph: remove redundant IUSE checkZac Medico2010-12-031-4/+0
|
* fix missing_enabled/disabled logic for bug 345979Zac Medico2010-12-031-6/+6
|
* depgraph: fix logic more for bug 345979v2.1.9.25Zac Medico2010-11-271-4/+14
|
* depgraph: fix logic in code for bug 345979Zac Medico2010-11-271-7/+6
|
* depgraph: check unevaluated USE dep IUSE earlierZac Medico2010-11-261-7/+7
|
* depgraph: tweak USE match logic for bug 345979Zac Medico2010-11-261-21/+25
| | | | | | This should fix handling of some corner cases in which use.force or use.mask might not have been handled correctly, and removes some redundant IUSE related checks.
* show_unsatisfied_dep: include ROOT if it's not /Zac Medico2010-11-261-0/+2
|
* Use Package.use.force/mask attributes.Zac Medico2010-11-231-13/+6
|
* Use Package.use.force/mask attributes.Zac Medico2010-11-231-5/+3
| | | | This optimizes the fix for bug #345979.
* Fix use.mask set intersection from previous.Zac Medico2010-11-231-1/+1
|
* Fix interaction of use.mask/force with use deps.Zac Medico2010-11-231-10/+34
| | | | | This should fix the package selection issue bug #345979 which triggers invalid "masked by: [nothing]" messages.
* depgraph minimize_children: yield highest versionv2.1.9.22Zac Medico2010-10-231-1/+4
|
* Raise default backtrack limit from 5 to 10.Zac Medico2010-10-221-1/+1
|
* Separate conflict atoms for 'missed update'.Zac Medico2010-10-221-17/+30
| | | | This will fix bug #342157.
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-10-151-2/+2
|
* Fix a typo in a comment.Zac Medico2010-10-151-1/+1
|
* Optimize uninstall selection more.Zac Medico2010-10-151-0/+5
|
* Optimize uninstall selection in serialize_tasks.Zac Medico2010-10-151-4/+11
| | | | | | This increases performance dramatically in cases when there are hundreds of blockers to solve, like when when upgrading to a new slot of kde-meta.
* Prefer ~ and =* atoms in missed update display.Zac Medico2010-10-151-2/+2
| | | | | Hopefully this helps for bug #340983, similar to how it did for bug #291142.
* depgraph: Remove obsolete 'Missing binary' code.Zac Medico2010-10-111-12/+1
|
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2010-10-111-1/+1
|
* Merge slot conflict backtracking from master.Zac Medico2010-10-061-36/+61
| | | | | This include the ability to mask packages that don't satisfy all parent atoms, from commit 9ff5e9731142d389373ea6ebc949919c3b637110.
* Remove unused variable.Zac Medico2010-10-061-1/+0
|
* Fix _iter_match_pkgs installed multislot breakageZac Medico2010-10-061-7/+4
|
* Use Atom.without_use in _show_unsatisfied_dep().Zac Medico2010-10-061-1/+1
|
* Prune circular nested sets from the digraph.Zac Medico2010-10-061-1/+16
| | | | | | | | | | | | | This prevents the following traceback which was reported in forum thread 847007: File "pym/_emerge/depgraph.py", line 3694, in _merge_order_bias mygraph.order.sort(key=cmp_sort_key(cmp_merge_preference)) File "pym/portage/util/__init__.py", line 808, in __lt__ return self._cmp_func(self._obj, other._obj) < 0 File "pym/_emerge/depgraph.py", line 3675, in cmp_merge_preference if node1.operation == 'uninstall': AttributeError: 'SetArg' object has no attribute 'operation'
* Enable depgraph._load_vdb() with --buildpkgonly.Zac Medico2010-10-011-2/+1
| | | | | | The --buildpkgonly option does not negate the need for _load_vdb(), at least not with the --resume option since otherwise the select_pkg_from_graph() method fails to select installed packages.
* Tweak depgraph._show_unsatisfied_dep() display for AtomArg instances.Zac Medico2010-09-301-2/+11
|
* Fix breakage in depgraph._serialize_tasks() blocker handling dueZac Medico2010-09-301-5/+9
| | | | to addition of repo to Package._hash_key.
* Bug #337178 - Fix slot conflict backtracking to mask the higherZac Medico2010-09-271-10/+36
| | | | | | | | | | version if appropriate. Generally, we mask the higher version since this solves common cases in which a lower version is needed so that all dependencies will be satisfied (bug #337178). However, if existing_node happens to be installed then we mask that since this is a common case that is triggered when --update is not enabled.
* Revert one more change from bug #337178: parent_atoms is supposedZac Medico2010-09-261-1/+1
| | | | to refer to the new pkg, not the one to_be_masked.
* Revert slot conflict behavior backtracking behavior changes fromZac Medico2010-09-261-5/+6
| | | | | | | | bug #337178 and comment about reasoning for behavior. We always mask existing_node since _select_package tries to avoid slot conflicts when possible and therefore a conflict typically means that existing_node was a poor choice.
* Fix confusing messages shown byZac Medico2010-09-261-6/+6
| | | | | | | | | | | depgraph._show_missed_update_slot_conflicts() since the fix from bug #337178. When depgraph._add_pkg() was fixed to mask the higher version in 4bc78ab0b563697b98527eebcdfe474863383cf0, we didn't adjust the parent_atoms variable so that it would contain parent atoms from the versions being masked. This resulted in confusing messages from depgraph._show_missed_update_slot_conflicts().
* Tests: add resolver/test_output: Make sure we don't backtrace in the merge ↵Sebastian Luther2010-09-201-16/+12
| | | | list printer
* Move mergelist printing into resolver/output.pySebastian Luther2010-09-201-799/+4
|
* Always mask the higher version when backtracking due to a slot conflictSebastian Luther2010-09-191-4/+10
|
* Fix depgraph._complete_graph() to preserve initial_arg_list when itZac Medico2010-09-191-4/+6
| | | | updates args with _set_args().
* Fix incorrect depgraph_sets reference in depgraph._load_favorites().v2.2_rc84Zac Medico2010-09-181-1/+1
|
* Invert SetArg conditional in depgraph._set_args(), for clarity.Zac Medico2010-09-181-3/+4
|
* Add multiple $ROOT support to depgraph._iter_atoms_for_pkg().Zac Medico2010-09-181-91/+84
|
* Fix breakage in population of dynamic_config._set_atoms since theZac Medico2010-09-181-2/+5
| | | | fix from bug #337540.
* Fix --autounmask get_dep_chain() function to traverse nested sets.Zac Medico2010-09-181-7/+20
|
* Never traverse the same node twice when showing parents inZac Medico2010-09-181-1/+3
| | | | depgraph._show_unsatisfied_dep().
* When depgraph._show_unsatisfied_dep() displays parents, traverse nestedZac Medico2010-09-181-7/+15
| | | | sets.