aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-251-1/+1
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* fixpackages: don't use PORTAGE_CALLERZac Medico2011-10-151-4/+4
|
* Remove FEATURES=fixpackages support.v2.2.0_alpha67Zac Medico2011-10-111-2/+1
| | | | | | | This reduces the probability of users encountering issues related to package moves when they disable --dynamic-deps, and --package-moves=n can be set in EMERGE_DEFAULT_OPTS if package moves need to be temporarily avoided for some reason.
* Bug #336595 - Make dbapi.update_ents() calls quiet when appropriate inZac Medico2010-09-101-0/+4
| | | | _global_updates().
* global updates: Honor -q and don't repeat the legendSebastian Luther2010-09-101-11/+21
|
* use EROOT with WORLD_FILEFabian Groffen2010-09-041-1/+1
|
* * Make _world_repo_match() try to match both atoms, so it still worksZac Medico2010-08-011-9/+11
| | | | | if the world file and vdb are slighly out of sync wrt package moves. * Write world file updates at the earliest opportunity.
* Make update_config_files() take a dict of {repo_name: list} since it's moreZac Medico2010-08-011-4/+21
| | | | | | efficient this way, and this function can't be called separately for each repo if /etc/portage is under CONFIG_PROTECT (because it would produce separate updated files for each repo).
* Just return boolean to indicate whether or not updates have been performed,Zac Medico2010-07-311-10/+8
| | | | since that's all that the calling code currently needs.
* Move the mtimedb timestamps code out of an unnecessary loop.Zac Medico2010-07-311-2/+3
|
* Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.Zac Medico2010-07-311-3/+4
|
* Tweak global updates handling so that updates from $PORTDIR are appliedZac Medico2010-07-271-8/+25
| | | | | | | | | for all of the following cases: * package is missing repository metadata * package has repository metadata, but the source repository does not have a profiles/updates/ directory * package has repository metadata, but the source repository is not currently accessible via PORTDIR_OVERLAY
* Fix UnboundLocalError for do_upgrade_packagesmessage.Zac Medico2010-07-271-1/+1
|
* Fix UnboundLocalError for timestamps variable.Zac Medico2010-07-271-1/+1
|
* Make dbapi.update_ents() take a dict of {repo_name: list}, since it'sZac Medico2010-07-271-4/+13
| | | | most efficient to process all repos at once.
* Fallback to updates from PORTDIR if repository has no 'updates' dir.Michał Górny2010-07-271-0/+3
| | | | | | As a backwards-compatibility measure, if a particular repository doesn't come with an 'updates' directory, fallback to updates from dbapi.porttree_root.
* Limit repository-wide dbentry updates.Michał Górny2010-07-271-2/+2
| | | | | Update dbentries only when the repository the package comes from matches the repository update comes from.
* Support repository-wide updates.Michał Górny2010-07-271-117/+146
| | | | | | | Support reading repository-wide update files. Apply them as long as the 'repository' for vardb entry matches the repository update is originating from. For world and configuration files, use the best vardb match.
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Make _global_updates() silently return if ROOT != "/" and make fixpackagesZac Medico2010-03-031-3/+7
| | | | | | | | bail out with an error message in this case which suggests to instead use emaint --fix movebin and/or moveinst. This prevents useless/ugly global updates messages that flood the terminal when ROOT != "/". svn path=/main/trunk/; revision=15728
* Make _global_updates ensure that the binarytree is only populated with localZac Medico2010-02-281-0/+4
| | | | | | | packages (getbinpkgs=0), and fix binarytree.populate() to behave properly when called more than once. svn path=/main/trunk/; revision=15487
* Move portage._global_updates to a submodule.Zac Medico2010-02-271-0/+152
svn path=/main/trunk/; revision=15475