summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* 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-201-13/+6
|
* Use Package.use.force/mask attributes.Zac Medico2010-11-201-5/+3
| | | | This optimizes the fix for bug #345979.
* Fix use.mask set intersection from previous.Zac Medico2010-11-201-1/+1
|
* Fix interaction of use.mask/force with use deps.Zac Medico2010-11-201-10/+34
| | | | | This should fix the package selection issue bug #345979 which triggers invalid "masked by: [nothing]" messages.
* depgraph minimize_children: yield highest versionv2.2.0_alpha1Zac Medico2010-10-231-1/+4
|
* Separate conflict atoms for 'missed update'.Zac Medico2010-10-221-18/+30
| | | | This will fix bug #342157.
* Raise default backtrack limit for bug 337178Sebastian Luther2010-10-211-2/+2
| | | | | | | | The bug was solved in principle, but other conflicts could lead to all tries being used up too early. The default backtrack limit is changed from 5 to 10. The maximal depth of the backtrack graph is now half of the backtrack limit.
* 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
|