summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Add tests for KEYWORDS masking.Zac Medico2011-10-012-1/+357
|
* KeywordsManager: support ~* in KEYWORDSZac Medico2011-10-011-6/+10
| | | | | | | | | | | | This allows ~* in KEYWORDS to be match by any unstable keyword in the user's configuration, similar to how * in KEYWORDS already matches any user configuration. Thanks to Daniel Robbins <drobbins@funtoo.org> for the suggestion. Also, the warning about * or -* in KEYWORDS is now gone, so that ebuilds from the funtoo tree will be usable without triggering warnings like this. If necessary, we can add ways to selectively enable these kinds of warnings via layout.conf and/or repos.conf.
* repos.conf: implement trust-authoritative-cacheZac Medico2011-09-301-1/+23
| | | | | | | | This controls whether or not the layout.conf "authoritative-cache = true" setting will be trusted for a particular repo. It can be enabled globally by setting "trust-authoritative-cache = true" in the [DEFAULT] section of repos.conf.
* Fix 'authoritative' spelling.Zac Medico2011-09-303-6/+6
|
* layout.conf: allow a repository to state the cache is authorativeBrian Harring2011-09-303-7/+13
| | | | | | | | | | | | | | | | By authorative, this means "the cache is accurate; skip validation". While a useful hint for a slight speedup in validation, the true gain is for repositories that are distributed in a fashion that doesn't preserve mtime; git primarily. Setting authorative-cache = true results in portage skipping mtime validation checks for the bundled cache, allowing for git vcs based repos to distribute a cache. BUG=chromium-os:21049 TEST=dump a cache into metadata/cache, touch it to now, set layout.conf to authorative-cache=true, verify it doesn't generate cache entries for that repo. Change-Id: I92423e679bc171d2411a18d6d3ac22e8ef457753
* depgraph: tweak virtual transition codeZac Medico2011-09-301-5/+5
| | | | | | This fixes a false --binpkg-respect-use warning that's triggered by erroneous USE/IUSE comparison between the new-style virtual and an old-style virtual match.
* depgraph: pull in new-style virtuals moreZac Medico2011-09-303-0/+63
| | | | | | | This causes new-style virtuals to get pulled in for virtuals that are already satisfied by installed old-style virtuals. This case is common, due to PROVIDE being (removed without revision bump) from lots of ebuilds.
* tweak "missed updates" code from last commitZac Medico2011-09-281-3/+3
|
* depgraph: verify "missed updates"Zac Medico2011-09-281-0/+4
| | | | | | Since the change involving slot conflict parent atoms in commit 6cea2091526659521d35be6c8dc7733f69f1a760, we want to check to make sure we don't display any false positives in the "missed updates".
* doebuild: allow_missing_manifests AttributeErrorZac Medico2011-09-281-1/+1
|
* Manifest.write(): tweak unlink logicZac Medico2011-09-271-2/+6
| | | | | | | This narrows the range of possible behaviors, such that the manifest will always be either written or unlinked, eliminating the possiblity that a stale manifest will ever be allowed to slip through without being overwritten or unlinked.
* manifest: controllable per repoBrian Harring2011-09-277-19/+45
| | | | | | | | | | | This adds three states to layout.conf key use-manifest; false, true, and strict. false means "don't use manifests at all" true means "use and generate manifests, but allow them to be missing" strict means "manifests must be used everywhere in this repo" BUG=chromium-os:11308 TEST=repoman manifest usage.
* depgraph: handle unicode exception for bug 384749Zac Medico2011-09-271-2/+3
|
* merge: handle \r in file names for bug #384597Zac Medico2011-09-271-3/+4
|
* porttree.py: remove unused variablesZac Medico2011-09-271-7/+5
|
* Cleanup unused variables / imports reported by pyflakes.David James2011-09-262-4/+1
| | | | Change-Id: I92890279dc69974da94cc9a8a5483ddd295512d4
* tests/emerge: call ebuild(1)Zac Medico2011-09-261-0/+9
|
* portdbapi.xmatch: fix unknown repo / return emptyZac Medico2011-09-241-1/+4
| | | | | We want to return an empty list for the match-* methods, otherwise an empty string.
* portdbapi: deprecate unused 'visible' methodZac Medico2011-09-241-7/+6
|
* portdbapi.xmatch: combine match-all with othersZac Medico2011-09-241-22/+3
| | | | This eliminates redundant code.
* portdbapi.xmatch: combine minimum-all/*-visibleZac Medico2011-09-241-25/+4
| | | | This eliminates redundant code.
* portdbapi.xmatch: combine *-visible codeZac Medico2011-09-241-13/+17
| | | | | This allows match-visible to avoid calling match-all, which allows it to avoid an extra loop over all repos.
* portdbapi.xmatch: optimize minimum-visibleZac Medico2011-09-241-10/+4
| | | | | | Also, make repoman cache IUSE, since that's required for _match_use to work effciently. This will eliminate lots of redundant aux_get calls for repoman, triggered by USE deps.
* dbapi: split _match_use from _iter_match_useZac Medico2011-09-241-47/+53
|
* portdbapi: tweak single-tree optimizationZac Medico2011-09-241-8/+21
| | | | | This optimizes aux_get and cp_list for cases where we only have a single tree, which is common for repoman and ebuild(1).
* portdbapi.xmatch: use _visible moreZac Medico2011-09-241-21/+4
|
* Invalidate 'no-herd', there will be no special herds.Michał Górny2011-09-241-4/+0
|
* portdbapi: split _visible from _iter_visibleZac Medico2011-09-241-33/+35
|
* portdbapi: move repo loop to _iter_visibleZac Medico2011-09-241-58/+65
| | | | | | This allows use to avoid using a set to eliminate duplicates, since we can break out of the repo loop as soon as a given cpv is found to be visible.
* pordbapi: split _iter_visible method from visibleZac Medico2011-09-241-10/+14
|
* portdbapi: combine gvisible and visible methodsZac Medico2011-09-241-29/+20
| | | | | There's no need to have separate methods, and this allows us to avoid using separate aux_get calls in each method.
* portdbapi.xmatch: deprecate *match-listZac Medico2011-09-231-9/+15
| | | | These don't mesh well with multi-repo support.
* portdbapi.xmatch: fix minimum-all for multi-repoZac Medico2011-09-231-7/+16
|
* Fix cp_list mytree argument for match-all.Zac Medico2011-09-231-1/+1
| | | | | This is a regression from commit 3d07f74a2fb2e0480e126335f6981218f60da824.
* portdbapi.xmatch: fix match-all for multi-repoZac Medico2011-09-231-7/+19
|
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2011-09-231-1/+1
|
* portdbapi.xmatch: deprecate list-visibleZac Medico2011-09-221-0/+5
|
* Fix Atom.with_repo() bugs.Zac Medico2011-09-221-5/+2
|
* Fix minimum/bestmatch-visible for multi-repo.Zac Medico2011-09-221-31/+52
|
* portdbapi: handle multi-repo visiblityZac Medico2011-09-221-16/+29
| | | | | | | This will fix bug #384063. The xmatch list-visible mode was previously used to cache a list of all visible cpvs for a given cp, but this is not useful when there can be duplicate cpvs with different visibility from multiple repos.
* Atom: add a with_repo method for adding a repoZac Medico2011-09-221-0/+12
|
* fetch: remove stray print for bug 383859Zac Medico2011-09-221-1/+0
|
* Test direct virtual circular dep for bug #384107.Zac Medico2011-09-221-0/+29
|
* Test || choice circular handling.Zac Medico2011-09-221-0/+32
|
* Tweak auto --binpkg-respect-use more.Zac Medico2011-09-221-2/+1
| | | | | | | | We don't want to check for --rebuilt-binaries here, unless --usepkg is also enabled. In fact, we can skip the --rebuilt-binaries check since people who really want to ensure that binary packages are used as much as possible will typically specify --usepkgonly (or --getbinpkgonly which implies --usepkgonly).
* Tweak automatic --binpkg-respect-use behavior.Zac Medico2011-09-213-7/+22
| | | | | | | | If --binpkg-respect-use is not explicitly specified, we enable the behavior automatically (like requested in bug #297549), as long as it doesn't strongly conflict with other options that have been specified. Strongly conflicting options currently include --usepkgonly and --rebuilt-binaries.
* Make --binpkg-respect-use=y the defaultSebastian Luther2011-09-211-4/+6
| | | | | Explicitly stating --binpkg-respect-use=y will disable the ignored binary warning. This will fix bug #297549.
* Warn about ignored binary packages with non matching USESebastian Luther2011-09-211-3/+44
|
* add install hooksBrian Harring2011-09-211-1/+2
|
* emerge: add --complete-graph-if-new-ver < y | n >Zac Medico2011-09-214-12/+89
| | | | | Trigger the --complete-graph behavior if an installed package version will change (upgrade or downgrade). This option is enabled by default.