summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-242-11/+5
| | | | | | 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.
* portageq best_visible: use match-all-cpv-onlyZac Medico2011-09-231-2/+4
|
* 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.
* install_hooks: fix variable name for PORTAGE_CONFIGROOTFabian Groffen2011-09-231-1/+1
| | | | | in addition, omit the leading slash, since PORTAGE_CONFIGROOT contains a trailing slash
* portdbapi.xmatch: fix match-all for multi-repoZac Medico2011-09-231-7/+19
|
* man/emerge.1: fix spelling of behaviorZac Medico2011-09-231-2/+2
|
* Revert "unpack: handle non-gz files from deb2targz"Zac Medico2011-09-231-5/+1
| | | | | This reverts commit dd7c57ecb90949ce3306394cfe262566b87351ca. We'll do this in a new EAPI, as discussed in bug #384147.
* unpack: handle non-gz files from deb2targzZac Medico2011-09-231-1/+5
| | | | This will fix bug #384147.
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2011-09-231-1/+1
|
* Fix 'shopt: +s: invalid shell option name' error.Arfrever Frehtes Taifersar Arahesis2011-09-231-1/+1
|
* portdbapi.xmatch: deprecate list-visibleZac Medico2011-09-222-1/+6
|
* 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
|
* portageq best_visible: multi-repo supportZac Medico2011-09-221-12/+34
| | | | This will fix bug #384063.
* 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-212-1/+17
|
* emerge: add --complete-graph-if-new-ver < y | n >Zac Medico2011-09-215-12/+93
| | | | | Trigger the --complete-graph behavior if an installed package version will change (upgrade or downgrade). This option is enabled by default.
* Point users to the man page instead of duplicating it in --helpSebastian Luther2011-09-212-814/+5
|
* autounmask: Always use unresticted atoms for license and USE changesSebastian Luther2011-09-213-20/+16
| | | | See bug 379333.
* Reject inconsistent backtrack parametersSebastian Luther2011-09-203-5/+68
| | | | | | | If backtracking masks a package that caused another package to be masked, we declare this backtracking node as invalid. The backtracker should be able to find another node that gives a valid solution if one exists. This fixes bug 375573.
* Document ** keyword for --autounmask-keep-masks.Zac Medico2011-09-192-3/+3
|
* Suggest --autounmask-keep-masks for ** keyword.Zac Medico2011-09-191-2/+5
|
* Suggest --autounmask-keep-masks instead of --autounmask=nSebastian Luther2011-09-191-7/+3
| | | | | | | Currently emerge suggests --autounmask=n if any configuration change is proposed. With this patch it will print a suggestion only for mask changes, as these are the changes people complain most about. It will suggest --autounmask-keep-masks in this case.
* autounmask: Add --autounmask-keep-masks optionSebastian Luther2011-09-195-1/+65
| | | | | | Disables creation of p.unmask entries to allow users to insist on their masks and hope for another conflict resolution (i.e. missed update). This fixes bug 372485.
* autounmask: Add --autounmask-unrestricted-atoms optionSebastian Luther2011-09-194-16/+53
| | | | | | | | The default behavior of --autounmask is now changed back to the original one, namely to use '=' operators. The --autounmask-unrestricted-atoms option allows the use of '>=' operators whenever possible. This addresses the issues raised in bugs 372405, 374331 and 379333.
* bin/ebuild: simplify PORTDIR_OVERLAY queryv2.2.0_alpha59Zac Medico2011-09-181-5/+1
| | | | | There's no need to query os.environ here, because portage.settings will inherit the value automatically.