Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | depgraph: fix and test --deep control of depth | Zac Medico | 2011-02-13 | 2 | -3/+94 |
| | | | | | Control over recursion depth hasn't behaved properly since commit 6503980e0e3bcfce9fbaff85c33d87f616e955a9. Now it is fixed and tested. | ||||
* | depgraph: make empty param imply deep = True | Zac Medico | 2011-02-13 | 1 | -3/+4 |
| | | | | | | | This won't change the existing depgraph behavior, but it will allow logic to be simplified in some cases such that solely the deep param needs to be consulted (rather than needing to consult both empty and deep params). | ||||
* | repoman: variable.usedwithhelpers ignore comments | Zac Medico | 2011-02-13 | 1 | -1/+1 |
| | | | | This will fix bug #354685. | ||||
* | depgraph: avoid atom hash collisions in dep_check | Zac Medico | 2011-02-13 | 2 | -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_atoms | Zac Medico | 2011-02-13 | 2 | -39/+46 |
| | |||||
* | emerge.1: cross-ref --newuse and --changed-use | Zac Medico | 2011-02-13 | 1 | -1/+4 |
| | | | | This will fix bug #354437. | ||||
* | depgraph: don't distort edges for virtuals | Zac Medico | 2011-02-13 | 1 | -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 virtuals | Zac Medico | 2011-02-13 | 2 | -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 binpkg | Zac Medico | 2011-02-13 | 1 | -0/+15 |
| | | | | This will fix bug #354441. | ||||
* | emerge: support ../ path arguments | Zac Medico | 2011-02-08 | 1 | -1/+2 |
| | | | | This will fix bug #354141. | ||||
* | expand_new_virtuals: fix pkg_use_enabled call | Zac Medico | 2011-02-08 | 1 | -4/+4 |
| | | | | AttributeError: 'tuple' object has no attribute 'use' | ||||
* | repoman.herdbase: tolerate expat ImportError | Zac Medico | 2011-02-08 | 2 | -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 ImportError | Zac Medico | 2011-02-08 | 1 | -2/+8 |
| | |||||
* | test_import_modules: exempt repoman.herdbase | Zac Medico | 2011-02-08 | 1 | -0/+1 |
| | | | | The repoman.herdbase module requires python with xml support. | ||||
* | cache.ebuild_xattr: don't import ENODATA globally | Zac Medico | 2011-02-08 | 1 | -6/+7 |
| | | | | ENODATA is undefined on FreeBSD. This will fix bug #354057. | ||||
* | expand_new_virtuals: handle None for myusev2.1.9.38 | Zac Medico | 2011-02-07 | 1 | -1/+5 |
| | |||||
* | expand_new_virtuals: fix last commit USE handling | Zac Medico | 2011-02-07 | 1 | -2/+5 |
| | |||||
* | Update dates in headers. | Zac Medico | 2011-02-07 | 2 | -2/+2 |
| | |||||
* | paren_reduce: allow parens in atoms, for EAPI 4 | Zac Medico | 2011-02-07 | 2 | -1/+3 |
| | | | | This will fix bug #354003. | ||||
* | expand_new_virtuals: fix logic from prev commit | Zac Medico | 2011-02-07 | 1 | -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 use | Zac Medico | 2011-02-07 | 1 | -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.1.9.37 | Zac Medico | 2011-02-06 | 1 | -8/+15 |
| | | | | This will fix bug #353836. | ||||
* | get_dep_chain: add "set" node typev2.1.9.36 | Zac Medico | 2011-02-04 | 1 | -2/+5 |
| | |||||
* | Revert "parse_metadata_use(): omit empty text tokens." | Zac Medico | 2011-02-04 | 1 | -2/+1 |
| | | | | | | This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa. Since split() never return empty tokens, this patch does nothing. | ||||
* | check_required_use: remove obsolete hunk | Zac Medico | 2011-02-04 | 1 | -9/+0 |
| | |||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-04 | 2 | -10/+23 |
| | |||||
* | REQUIRED_USE: fix single child conditionals disp | Zac Medico | 2011-02-04 | 1 | -4/+4 |
| | |||||
* | check_required_use: clarify operator logic | Zac Medico | 2011-02-04 | 2 | -8/+12 |
| | |||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-04 | 2 | -13/+36 |
| | |||||
* | depgraph: make downgrades trigger complete graph | Zac Medico | 2011-02-04 | 1 | -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 phases | Zac Medico | 2011-02-04 | 1 | -1/+3 |
| | |||||
* | ebuild(1): ensure REQUIRED_USE is satisfied | Zac Medico | 2011-02-04 | 1 | -2/+25 |
| | |||||
* | depgraph: don't drop deps in _add_dep | Zac Medico | 2011-02-04 | 1 | -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 Medico | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | REQUIRED_USE: more display tests | Zac Medico | 2011-02-03 | 1 | -0/+10 |
| | |||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-03 | 2 | -4/+48 |
| | |||||
* | parse_metadata_use(): omit empty text tokens. | Michał Górny | 2011-02-03 | 1 | -1/+2 |
| | |||||
* | REQUIRED_USE: fix parens display and test | Zac Medico | 2011-02-03 | 2 | -3/+36 |
| | |||||
* | REQUIRED_USE: display unsatisfied part | Zac Medico | 2011-02-03 | 3 | -8/+136 |
| | | | | This will fix bug #353234. | ||||
* | action_uninstall: allow repo with wildcard atom | Zac Medico | 2011-02-03 | 1 | -1/+1 |
| | |||||
* | bintree: cleanup/fix old binhost code more | Zac Medico | 2011-02-02 | 1 | -4/+2 |
| | |||||
* | depgraph: use catsplit where appropriate | Zac Medico | 2011-02-02 | 1 | -2/+2 |
| | |||||
* | bintree: clean up dict use in old binhost code | Zac Medico | 2011-02-02 | 1 | -2/+3 |
| | |||||
* | bintree: add missing del from previous commit | Zac Medico | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | bintree: remove unused __remotepkgs | Zac Medico | 2011-02-02 | 1 | -10/+5 |
| | |||||
* | depgraph: remove obsolete gpg exception handlers | Zac Medico | 2011-02-02 | 1 | -14/+0 |
| | |||||
* | depgraph: skip backtrack for fatal errors | Zac Medico | 2011-02-02 | 1 | -0/+10 |
| | |||||
* | depgraph: rm obsolete AmbguousPackageName handler | Zac Medico | 2011-02-02 | 1 | -21/+2 |
| | |||||
* | REQUIRED_USE: no autounmask, so skip backtracking | Zac Medico | 2011-02-02 | 1 | -3/+8 |
| | |||||
* | REQUIRED_USE: handle unsatisfied like normal dep | Zac Medico | 2011-02-02 | 1 | -17/+6 |
| |