summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* depgraph: avoid atom hash collisions in dep_checkZac Medico2011-02-121-7/+8
| | | | | | | | Atoms are stored in the graph as (atom, id(atom)) tuples since each atom is considered to be a unique entity. For example, atoms that appear identical may behave differently in USE matching, depending on their unevaluated form. Also, specially generated virtual atoms may appear identical while having different _orig_atom attributes.
* depgraph: return virtual edges from select_atomsZac Medico2011-02-121-36/+42
|
* depgraph: don't distort edges for virtualsZac Medico2011-02-111-9/+19
| | | | | | | | In _add_pkg_dep_string(), _add_pkg() was called with generated Dependency instances that created fake/distorted edges in the graph for new-style virtuals (similar to those that were fixed in commit 5b16e0d800f34dc90cdd8c505172ad16b97f0af4). Now there won't be any such distorted edges.
* depgraph: fix distorted display of virtualsZac Medico2011-02-111-0/+13
| | | | | | | | As mentioned in bug #353933, comment #4, special new-style virtual atoms generated/distorted by _expand_new_virtuals() can prevent extract_affecting_use() from working properly. This is fixed by saving the original atoms so that the depgraph can map them back into place at the appropriate step in dependency evaluation.
* depgraph: avoid reinstall of identical binpkgZac Medico2011-02-111-0/+15
| | | | This will fix bug #354441.
* emerge: support ../ path argumentsZac Medico2011-02-081-1/+2
| | | | This will fix bug #354141.
* backtrack_depgraph: get_best_run for last runv2.2.0_alpha20Zac Medico2011-02-041-1/+2
| | | | | | | It's essential to feed back autounmask config changes, especially USE changes, in order to make the last run as successful as possible. This fixes a regression in the master branch, since commit 2186f87c22e0c4bdb86065855c2034bdbb66fa45.
* get_dep_chain: add "set" node typeZac Medico2011-02-041-2/+5
|
* depgraph: make downgrades trigger complete graphZac Medico2011-02-041-2/+21
| | | | | It's common for downgrades to break dependencies, as in bug #353613, so automatically trigger complete graph mode when a downgrade is found.
* depgraph: don't drop deps in _add_depZac Medico2011-02-041-29/+0
| | | | | | This will fix bug #353613. We remove a hunk of code that was meant to limit recursion, but is obsolete an buggy. The recursion limiting is now handled by _add_pkg and the _ignored_deps stack.
* REQUIRED_USE: display unsatisfied partZac Medico2011-02-031-1/+14
| | | | This will fix bug #353234.
* depgraph: use catsplit where appropriateZac Medico2011-02-021-2/+2
|
* depgraph: remove obsolete gpg exception handlersZac Medico2011-02-021-14/+0
|
* depgraph: skip backtrack for fatal errorsZac Medico2011-02-021-0/+10
|
* depgraph: rm obsolete AmbguousPackageName handlerZac Medico2011-02-021-21/+2
|
* REQUIRED_USE: no autounmask, so skip backtrackingZac Medico2011-02-021-4/+9
|
* REQUIRED_USE: handle unsatisfied like normal depZac Medico2011-02-021-17/+6
|
* Fix grammar in a comment.Zac Medico2011-02-021-1/+1
|
* REQUIRED_USE: add blank line after displayZac Medico2011-02-021-0/+1
|
* Make || choices independent of REQUIRED_USE.Zac Medico2011-02-021-36/+35
|
* _get_dep_chain: allow SetArg for first nodeZac Medico2011-02-011-14/+15
|
* Show "missed update" message for REQUIRED_USE.Zac Medico2011-02-011-7/+31
| | | | This will fix bug #353443.
* depgraph: display 'searching for similar names'Zac Medico2011-01-311-3/+11
| | | | It can take few seconds to search, so display a status message.
* Print near matches for cmd line atoms without matching ebuildSebastian Luther2011-01-311-0/+33
|
* Allow relative paths (starting with ./) on the cmd lineSebastian Luther2011-01-311-0/+7
| | | | bug 352208
* depgraph: fix get_dep_chain unicode handlingZac Medico2011-01-281-7/+8
|
* autounmask USE change comment: ensure that the first parent requires the changeSebastian Luther2011-01-281-16/+29
| | | | Fixes bug 350515.
* Show use conditionals in old style dep chainsSebastian Luther2011-01-281-126/+121
|
* depgraph: avoid duplicate ebuild visibility checkZac Medico2011-01-181-1/+1
|
* depgraph: don't reinstall for changed repoZac Medico2011-01-181-2/+19
|
* depgraph: avoid updates moreZac Medico2011-01-181-9/+14
| | | | | The fix from bug #351828 broke some of the update avoidance behavior from bug #275945, and this patch should restore it.
* Fix some poor installed/masked || choices.Zac Medico2011-01-181-12/+7
| | | | This will fix bug #351828. It's fallout from bug #350285.
* 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
|