summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* depgraph: avoid atom hash collisions in dep_checkZac Medico2011-02-122-15/+24
| | | | | | | | 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-122-39/+46
|
* emerge.1: cross-ref --newuse and --changed-useZac Medico2011-02-121-1/+4
| | | | This will fix bug #354437.
* 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-112-0/+19
| | | | | | | | 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.
* expand_new_virtuals: fix pkg_use_enabled callZac Medico2011-02-081-4/+4
| | | | AttributeError: 'tuple' object has no attribute 'use'
* repoman.herdbase: tolerate expat ImportErrorZac Medico2011-02-082-3/+9
| | | | | | We tolerate global scope import failures for optional modules, so that ImportModulesTestCase can succeed (or possibly alert us about unexpected import failures).
* portage.debug: handle threading ImportErrorZac Medico2011-02-081-2/+8
|
* test_import_modules: exempt repoman.herdbaseZac Medico2011-02-081-0/+1
| | | | The repoman.herdbase module requires python with xml support.
* cache.ebuild_xattr: don't import ENODATA globallyZac Medico2011-02-071-6/+7
| | | | ENODATA is undefined on FreeBSD. This will fix bug #354057.
* expand_new_virtuals: handle None for myusev2.2.0_alpha22Zac Medico2011-02-071-1/+5
|
* expand_new_virtuals: fix last commit USE handlingZac Medico2011-02-071-2/+5
|
* Update dates in headers.Zac Medico2011-02-072-2/+2
|
* paren_reduce: allow parens in atoms, for EAPI 4Zac Medico2011-02-072-1/+3
| | | | This will fix bug #354003.
* expand_new_virtuals: fix logic from prev commitZac Medico2011-02-071-1/+5
| | | | | | We need to evaluate conditionals for dependency matching purposes, though the unevaluated atom will still be available later for other purposes.
* expand_new_virtuals: save atom unevaluated useZac Medico2011-02-071-2/+2
| | | | | | | | This leads to a better unsatisfied USE message than the one reported in bug 353933, comment #3. TODO: Fix it so that these generated atoms don't break depgraph._get_dep_chain(), due to not being identical to the original atoms and therefore breaking extract_affecting_use().
* cache.sqlite: handle sqlite ImportErrorv2.2.0_alpha21Zac Medico2011-02-061-8/+15
| | | | This will fix bug #353836.
* 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
|
* Revert "parse_metadata_use(): omit empty text tokens."Zac Medico2011-02-041-2/+1
| | | | | | This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa. Since split() never return empty tokens, this patch does nothing.
* check_required_use: remove obsolete hunkZac Medico2011-02-041-9/+0
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-042-10/+23
|
* REQUIRED_USE: fix single child conditionals dispZac Medico2011-02-041-4/+4
|
* check_required_use: clarify operator logicZac Medico2011-02-042-8/+12
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-042-13/+36
|
* 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.
* ebuild(1): skip REQUIRED_USE for some phasesZac Medico2011-02-041-1/+3
|
* ebuild(1): ensure REQUIRED_USE is satisfiedZac Medico2011-02-041-2/+25
|
* 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.
* Remove from list by index, not search.Zac Medico2011-02-031-1/+1
|
* REQUIRED_USE: more display testsZac Medico2011-02-031-0/+10
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-032-4/+48
|
* parse_metadata_use(): omit empty text tokens.Michał Górny2011-02-031-1/+2
|
* REQUIRED_USE: fix parens display and testZac Medico2011-02-032-3/+36
|
* REQUIRED_USE: display unsatisfied partZac Medico2011-02-033-8/+136
| | | | This will fix bug #353234.
* action_uninstall: allow repo with wildcard atomZac Medico2011-02-031-1/+1
|
* bintree: cleanup/fix old binhost code moreZac Medico2011-02-021-4/+2
|
* depgraph: use catsplit where appropriateZac Medico2011-02-021-2/+2
|
* bintree: clean up dict use in old binhost codeZac Medico2011-02-021-2/+3
|
* bintree: add missing del from previous commitZac Medico2011-02-021-1/+1
|
* bintree: remove unused __remotepkgsZac Medico2011-02-021-10/+5
|
* 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
|
* Display: simplify alignment for mask statusZac Medico2011-02-021-15/+11
|