aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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