summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-132-6/+14
| | | | | | 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
|
* egencache: --preserve-comments allow missing fileZac Medico2011-02-131-4/+26
| | | | This will fix bug #354687.
* 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).
* ebuild.1: update outdated BUILD_PREFIX docsZac Medico2011-02-131-2/+2
| | | | This will fix bug #354387.
* egencache: don't ignore as much with --tolerantZac Medico2011-02-131-3/+4
| | | | | | Errors returned from --update-use-local-desc and --update-changelogs are no longer ignored with --tolerant. This will fix part of bug #354687.
* 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-122-2/+7
| | | | 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.1: clarify docs for package argumentsv2.2.0_alpha23Zac Medico2011-02-081-4/+6
| | | | This will fix bug #354137.
* 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-073-3/+3
|
* paren_reduce: allow parens in atoms, for EAPI 4Zac Medico2011-02-072-1/+3
| | | | This will fix bug #354003.
* ebuild.5: fix spelling of "defaults"Zac Medico2011-02-071-1/+1
|
* 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.
* default_src_test: handle EAPI 4 emake failureZac Medico2011-02-061-4/+10
| | | | This will fix bug #353897.
* 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
|