summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-141-0/+5
|
* Optimize uninstall selection in serialize_tasks.Zac Medico2010-10-141-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-141-2/+2
| | | | | Hopefully this helps for bug #340983, similar to how it did for bug #291142.
* Fix repo in 'masked installed' message.Zac Medico2010-10-111-1/+1
| | | | | | This code hardcoded 'installed' as the repo, which was both awkward and confusing, in terms of ensuring correct code and meaninful messages.
* Fix backtrack max_retries calculation.v2.2_rc92Zac Medico2010-10-101-1/+1
|
* Ensure backtrack loop termination.Zac Medico2010-10-101-1/+5
|
* Tweak --backtrack debug message.Zac Medico2010-10-101-6/+4
| | | | The message should now be consistent with older portage.
* Use tries instead of depth for --backtrack.Zac Medico2010-10-101-7/+12
| | | | | | Also, ensure that we fall back to legacy non-backtracking behavior if backtracking fails for some reason. This is intended to solve regressions reported in forum thread #847890.
* depgraph: Remove obsolete 'Missing binary' code.Zac Medico2010-10-101-14/+2
|
* Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2010-10-101-2/+2
|
* Allow repo in more Atom instances.Zac Medico2010-10-081-4/+8
|
* Add debug output for backtracking limit.Zac Medico2010-10-081-0/+5
|
* Allow repo atoms more often in InternalPackageSetZac Medico2010-10-071-3/+5
|
* Allow repo since parents can be sets or args.Zac Medico2010-10-061-2/+3
|
* Fix a typo in a comment.v2.2_rc90Zac Medico2010-10-061-1/+1
|
* Optimize slot conflict backtracking for #337178.Zac Medico2010-10-061-0/+13
| | | | | | | | This borrows logic from commit fc33f34e3d060b57e03204fb427b01971f8dafff which fixes bug #337178 in the 2.1.9 branch. With this change, BacktrackingTestCase.testBacktrackingGoodVersionFirst() is solved with one less backtracking step.
* Add fallback backtrack_data, in case logic fails.Zac Medico2010-10-061-6/+20
| | | | | | This adds some safety in the depgraph._add_pkg() slot conflict code, in case the new logic fails somehow (it shouldn't, but given all the complexities, who knows?). Also, add some more debug output.
* 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
|