summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Update date headers for modified files.v2.2.0_alpha24Zac Medico2011-02-154-4/+4
|
* depgraph: fix virtual code to handle unsatisfiedZac Medico2011-02-141-2/+2
|
* depgraph: --deep=0 is equivalent to no deep paramZac Medico2011-02-141-2/+3
|
* depgraph: --nodeps overrides --complete-graphZac Medico2011-02-141-0/+1
|
* Recognize git-2.eclass when reinstalling self.Zac Medico2011-02-144-7/+16
|
* Recognize git-2.eclass as a live eclass.Zac Medico2011-02-141-0/+1
|
* depgraph: fix KeyError in select_atomsZac Medico2011-02-141-0/+2
| | | | This happens if depstring evaluates to nothing.
* get_dep_chain: fix broken parent_arg referenceZac Medico2011-02-131-1/+1
| | | | Broken since commit b4f98ec5a1eb2e010a455b19db5bef8d61def241.
* depgraph: normalize indentationZac Medico2011-02-131-5/+4
|
* depgraph: ignore fewer depsZac Medico2011-02-131-2/+6
| | | | | This restores some desired logic that was left out of commit 5655b4dcfe5e9dae5e9d6352d791c3d04953baf7.
* depgraph: remove redundant "empty" param checksZac Medico2011-02-131-7/+4
| | | | | Since commit 878f166c5a06b0ab6c5a34dd658c878cc7605fe7, empty implies deep = True, so these checks are redundant.
* depgraph: --nodeps overrides --deepZac Medico2011-02-131-2/+5
|
* get_dep_chain: fix unsatisfied_dependency logicZac Medico2011-02-131-2/+5
| | | | | | Always prefer parents for which the parent atom is unsatisfied by the child node. This seems to be the intention of the code, though it may not have behaved correctly due to continuation of the parent loop.
* Fix unhandled FileNotFound from previous commit.Zac Medico2011-02-131-1/+1
| | | | | There is an existing handler for EnvironmentError, so raise that instead of FileNotFound.
* Add support for grabbing Packages files using external programs.David James2011-02-132-4/+18
| | | | | | | | | | | | | If the user specifies FETCHCOMMAND_*, Portage should honor this when grabbing Packages files. This allows users to setup support for grabbing Packages files from other protocols. BUG=chrome-os-partner:2026 TEST=Try downloading prebuilts from gs:// when FETCHCOMMAND_GS is setup in make.conf Change-Id: I96b239819351633dd02d608954e81a1c363a4687 Review URL: http://codereview.chromium.org/6458015
* get_dep_chain: prefer parents in merge listZac Medico2011-02-131-10/+20
| | | | This will fix bug #354747.
* Display: tweak output and docs for bug 58416Zac Medico2011-02-131-2/+5
| | | | | | Now the masking display is disabled by the --quiet option if the --verbose option is not enabled simultaneously. Also, docs are updated as per bug 58416, comment #11 and #12.
* ResolverDepthTestCase: add more casesZac Medico2011-02-131-0/+46
|
* depgraph: fix and test depth control for virtualsZac Medico2011-02-132-16/+67
|
* ResolverDepthTestCase: test new-style virtualsZac Medico2011-02-131-0/+90
|
* ResolverDepthTestCase: add more casesZac Medico2011-02-131-2/+29
|
* depgraph: tweak depth calculation for virtualsZac Medico2011-02-131-3/+12
| | | | | | Recursively traversed virtual dependencies, and their direct dependencies, are considered to have the same depth as direct dependencies.
* depgraph: fix and test --deep control of depthZac Medico2011-02-132-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 = TrueZac Medico2011-02-131-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 commentsZac Medico2011-02-121-1/+1
| | | | This will fix bug #354685.
* 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
|