summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Backtracker reverses backtrack_data now.Zac Medico2010-10-061-4/+3
| | | | | | | Since commit 9ff5e9731142d389373ea6ebc949919c3b637110, Backtracker._feedback_slot_conflict() adds nodes in the order of backtrack_data and this order is then reversed when the nodes are popped from _unexplored_nodes.
* Remove unused variable.Zac Medico2010-10-051-1/+0
|
* Fix _iter_match_pkgs installed multislot breakageZac Medico2010-10-051-7/+4
|
* Use Atom.without_use in _show_unsatisfied_dep().Zac Medico2010-10-051-1/+2
|
* Use match-all-cpv-only in _show_unsatisfied_dep.Zac Medico2010-10-051-8/+4
|
* Don't allow_wildcard in _iter_match_pkgs.Zac Medico2010-10-051-1/+1
|
* Mask packages that don't satisfy all atoms.Sebastian Luther2010-10-051-19/+21
| | | | This also fixes a logic error in resolver/backtracking/Backtracker._feedback_slot_conflict()
* Fix _show_unsatisfied_dep to pass repo to _pkg().Zac Medico2010-10-041-0/+2
|
* Add note about depgraph/portdbapi caching.Zac Medico2010-10-041-0/+3
|
* Optimize depgraph/portdbapi cache handling.Zac Medico2010-10-041-1/+8
|
* Skip redundant cpv_exists in _iter_match_pkgs().Zac Medico2010-10-041-2/+0
|
* Clarify repo code in depgraph._pkg().Zac Medico2010-10-041-3/+6
|
* Cache InternalPackageSet in _iter_match_pkgs().Zac Medico2010-10-041-2/+4
|
* Clean up repo handling for depgraph pkg_cache.Zac Medico2010-10-041-35/+18
|
* Optimize slot conflict backtracking for #337178.Zac Medico2010-10-041-0/+14
| | | | | | | | This borrows logic from commit fc33f34e3d060b57e03204fb427b01971f8dafff which fixes bug #337178 in the 2.1.9 branch. With this change, BacktrackingTestCase.testBacktrackingGoodVersionFirst() is solved with fewer backtracking steps.
* Bug #339606 - Fix broken 'missed update' message.Zac Medico2010-10-031-4/+16
|
* Prune circular nested sets from the digraph.Zac Medico2010-10-021-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'
* Use _pkg_visibility_check in _loadResumeCommand.Zac Medico2010-10-011-1/+1
|
* 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.
* Bug #339316 - Fix --resume to handle repo masks.Zac Medico2010-10-011-3/+17
|
* Tweak depgraph._show_unsatisfied_dep() display for AtomArg instances.Zac Medico2010-09-291-2/+11
|
* Add basic repo atom support for emerge --resume.Zac Medico2010-09-281-10/+20
|
* Fix breakage in depgraph._serialize_tasks() blocker handling dueZac Medico2010-09-271-5/+9
| | | | to addition of repo to Package._hash_key.
* Fix depgraph._pkg() to not raise PackageNotFound when myrepo is NoneZac Medico2010-09-271-1/+3
| | | | and a package is found, so --resume works.
* Omit repo from mtimedb resume mergelist entries since the formatZac Medico2010-09-271-4/+8
| | | | is intended to be frozen.
* reposyntax: Fix backtrace caused by cache changesSebastian Luther2010-09-261-3/+3
|
* reposyntax: Handle the "give me a Package for an ebuild from any repo" case ↵Sebastian Luther2010-09-261-7/+23
| | | | better
* reposyntax: Print cpv from all repos for "masked by" messagesSebastian Luther2010-09-261-50/+64
|
* Fix breakage from the last commitSebastian Luther2010-09-261-1/+1
|
* reposyntax: Next try at fixing the package cacheSebastian Luther2010-09-261-1/+15
|
* reposyntax: Get the Package cache to work againSebastian Luther2010-09-261-1/+1
|
* Fix breakage with old style virtuals from the last commitSebastian Luther2010-09-261-10/+10
|
* reposyntax: Fix ignored slot spec if the same cpv is in several repos with ↵Sebastian Luther2010-09-261-0/+3
| | | | different SLOT
* reposyntax: Add support all over the placeSebastian Luther2010-09-261-43/+48
|
* backtracking: Take all branches in case of slot collisionsv2.2_rc88Sebastian Luther2010-09-261-98/+83
|
* 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.
* Make depgraph._pkg_visibility_check() when --autounmask is notZac Medico2010-09-171-0/+3
| | | | enabled.