summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* REQUIRED_USE: when unsatisfied, show current USEZac Medico2011-01-041-3/+5
|
* composite_db: use ebuild visibility for installedZac Medico2011-01-041-1/+16
| | | | This will fix bug #350488.
* fix indentation from commit f29d351990f0a3dd6183ec888ba8b0ff522c0875Zac Medico2011-01-031-1/+1
|
* Fix spelling of unsatisfied from previous commit.Zac Medico2011-01-031-1/+1
|
* REQUIRED_USE: always show requirementsZac Medico2011-01-031-16/+43
| | | | | | | | | This fixes a case in which the user would receive a "masked by: REQUIRED_USE violated" message without any more information about the specific requirements. Now, unsatisfied REQUIRED_USE is never treated as a mask, since it really is nothing like a mask. It's much more like an unsatisfied USE dependency, so we need to handle it in a similar way.
* depgraph: fix bug #350254 and test itZac Medico2011-01-031-1/+2
|
* depgraph: prefer highest priority repo more oftenZac Medico2011-01-021-0/+10
| | | | | | Prefer the highest priority repo, even when the ebuild from the higher priority repo requires USE adjustments due to USE deps or REQUIRED_USE. This will fix bug #350254.
* Try to avoid downgrade due to unsat REQUIRED_USE.Zac Medico2011-01-021-0/+1
|
* depclean: account for more masksZac Medico2011-01-021-1/+6
| | | | | | 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: 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
|
* Refactor depgraph merge list display code.Brian Dolbec2010-12-221-5/+6
|
* saveNomergeFavorites: remove unecessary varsZac Medico2010-12-201-8/+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).
* loadResumeCommand: select first matched packageZac Medico2010-12-121-0/+1
| | | | | We need to break out of the loop after the first match here, since the first package comes from the highest priority repo.
* depgraph: remove redundant IUSE checkZac Medico2010-11-291-4/+0
|
* fix missing_enabled/disabled logic for bug 345979Zac Medico2010-11-291-6/+6
|
* depgraph: fix logic more for bug 345979v2.2.0_alpha6Zac 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-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.