summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix debug message wording of "to due".Zac Medico2012-06-231-1/+1
|
* slot_abi_mask_built: fix __eq__ for backtrackingv2.2.0_alpha111Zac Medico2012-06-221-2/+2
|
* Slot conflict "abi" backtrack nodes non-terminal.Zac Medico2012-06-221-1/+5
|
* Fix success_without_autounmask logic wrt rebuildsZac Medico2012-06-221-14/+20
|
* depgraph: fix broken _complete_mode assignmentZac Medico2012-06-221-1/+1
|
* _slot_abi_update_probe: respect --excludeZac Medico2012-06-221-0/+10
|
* depgraph: fix bugs in force_reinstall handlingZac Medico2012-06-221-49/+37
|
* Enable /etc/portage/sets for stable, bug #384061.Zac Medico2012-06-221-2/+9
|
* Add experimental EAPI 4-slot-abi support.Zac Medico2012-06-221-9/+303
| | | | Refer to 4-slot-abi.docbook for a full description.
* depgraph._complete_graph: old virt sanity checkZac Medico2012-06-201-3/+5
|
* depgraph._iter_atoms_for_pkg: fix for --rebuild-*Zac Medico2012-06-191-7/+17
| | | | | | The SetArg instances that are generated for --rebuild-if-* behvior need to be passed into _set_args() in order for _iter_atoms_for_pkg to be aware of these arguments.
* depgraph: optimize slot conflict backtrack orderZac Medico2012-06-191-2/+6
|
* depgraph: defer slot conflict backtrackingZac Medico2012-06-181-91/+75
| | | | | | Defer slot conflict backtracking until after _complete_graph is used to complete the graph, so that all relevant reverse dependencies are available for making informed backtracking decisions.
* depgraph._add_pkg: preserve previous pkg depthZac Medico2012-06-171-0/+2
|
* depgraph: use package sets for rebuild/reinstallZac Medico2012-06-171-5/+21
|
* _process_slot_conflicts: do one slot at a timeZac Medico2012-06-161-36/+37
| | | | | This allows us to avoid redundant processing of slots that have already been processed by a previous call.
* depgraph: split out _handle_slot_conflict methodZac Medico2012-06-161-120/+129
|
* depgraph: simplify _select_pkg_highest_availableZac Medico2012-06-161-8/+0
| | | | | | This hunk of code is no longer needed since the content of _highest_pkg_cache is discarded each time a package is added to the graph.
* depgraph: _autounmask in _highest_pkg_cache keyZac Medico2012-06-161-1/+1
|
* Add USE + license autounmask for bug #420847.Zac Medico2012-06-151-2/+7
|
* depgraph: pass use_reduce result to dep_checkZac Medico2012-06-081-34/+24
| | | | This allows us to avoid extraneous use_reduce/paren_enclose calls.
* Use any() to optimize intersection operations.Zac Medico2012-05-301-18/+16
|
* _wildcard_set: specify allow_repo=FalseZac Medico2012-05-301-2/+2
| | | | | This make is behave as it did prior to the change in Atom constructor behavior in commit 587cce4816afc7d57b3edf0be6c0670ec0be89c9.
* depgraph: send output to stderr when appropriateZac Medico2012-05-141-70/+48
| | | | | | This also removes the stderr -> stdout redirect from display_problems, since the app-portage/autounmask program is no longer supported, and that will fix bug #406867.
* depgraph: minimize match_from_list operationsZac Medico2012-05-131-58/+64
| | | | | | In _iter_match_pkgs, call match_from_list on one cpv at a time, in order to avoid unnecessary match_from_list comparisons on versions that are never yielded from this method.
* Don't write or trust cache for unsupported EAPIs.Zac Medico2012-05-101-2/+0
| | | | | | Since we're supposed to be able to efficiently obtain the EAPI from _parse_eapi_ebuild_head, we don't need to write or trust cache entries for unsupported EAPIs.
* Show unsatisfied REQUIRED_USE for bug #415125.Zac Medico2012-05-091-4/+9
|
* composite_db._visible: fix AttributeErrorZac Medico2012-05-021-1/+1
|
* dbapi: account for unevaluated_atom in cachesZac Medico2012-04-201-2/+3
| | | | | This will fix bug 412391. This is analogous to the bug fixed in commit 5438bb29c996d777b6343515995176912a7c137f.
* depgraph._complete_graph: fix for --root-depsv2.2.0_alpha100Zac Medico2012-04-051-1/+2
|
* depgraph._validate_blockers: optimize --root-depsZac Medico2012-04-051-0/+5
|
* depgraph._load_vdb: optimize --root-depsZac Medico2012-04-051-0/+4
|
* emerge: suggest dispatch-conf for bug #398843Zac Medico2012-03-271-3/+3
|
* Replace @returns with @return.Zac Medico2012-03-271-3/+3
|
* Revert "depgraph: reset pkgsettings after setcpv"Zac Medico2012-03-191-1/+0
| | | | | | This reverts commit 884993c7f4b9e7e9ede690f5fab81742915fc942. Calling reset is expensive and is not really needed since commit 3ca5f0cc08d233a3e229e78b573c7aab7d46cb9c.
* depgraph: reset pkgsettings after setcpvZac Medico2012-03-191-0/+1
| | | | | This should prevent doebuild_environment from incorrectly using the CATEGORY from the previous setcpv call, as reported in bug #408817.
* autounmask: Avoid unmasking live versions if possibleSebastian Luther2012-02-261-8/+25
| | | | | | | | | | | | | | | | | | | | Before this patch the allowed changes were: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords + masks With this patch: 1. USE 2. USE + ~arch + license 3. USE + ~arch + license + missing keywords 4. USE + ~arch + license + masks 5. USE + ~arch + license + missing keywords + masks This avoids unmasking live versions, which are typically masked and have missing keywords to be avoided if there is a regular masked version available.
* Reorganize how autounmask allows changes to be madeSebastian Luther2012-02-261-52/+57
| | | | This patch does not change emerge's behaviour.
* autounmask: Fix USE change messages to display the correct parentSebastian Luther2012-02-241-0/+4
| | | | Fixes bug 399863.
* display_autounmask: highlight config changesZac Medico2012-02-101-4/+12
| | | | | | As suggested here: http://archives.gentoo.org/gentoo-dev/msg_06a47ad55977f4d16bfe18769c6c38b8.xml
* Fix --changed-use interaction with bug 297549.Zac Medico2012-01-201-8/+16
| | | | | | | | The automatic --binpkg-respect-use code (from bug #297549) was inappropriately overriding --changed-use and triggering behavior like --newuse, as reported here: http://archives.gentoo.org/gentoo-dev/msg_6070ab87737d7e16a5cec2a72c9111fd.xml
* depgraph: account for unevaluated_atom in cacheZac Medico2012-01-121-1/+1
|
* depgraph: unevaluated parent atom in debug outputZac Medico2012-01-121-2/+5
|
* depgraph.py: remove unused variablesZac Medico2011-12-231-3/+1
|
* Display EROOT when ROOT != "/".Zac Medico2011-12-191-5/+5
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-181-35/+10
|
* _show_unsatisfied_dep: avoid invalid, bug #394995Zac Medico2011-12-171-3/+11
|
* fix logic from last commitZac Medico2011-12-041-1/+2
|
* depgraph: fix case insensitive search for unsatZac Medico2011-12-041-3/+11
| | | | | | | This fixes an interaction between the code from commits 9ce6da43ab90c4dab97ebf3b8339e5dbc113a0a8 and cbe44d92ff13b8a22f5b4215b73078ce600c6bf4, so that we don't discard matches that are identical except for differnces in upper/lower case.
* _get_dep_chain: fix KeyError, bug #392059Zac Medico2011-11-271-13/+22
| | | | | | | This fixes a regression since commit 57cc4e3e8991e7c4394d1dff7698aa62ed2a286b, which make a faulty assumption that the digraph contained all of the edges contained in parent_atoms.