diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-08 07:43:00 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-08 07:43:00 +0000 |
commit | c3ba2ecd4edc2627969a120ebf92a25a85f87995 (patch) | |
tree | 61c83a488d7597d145ea4aba3fc8c008dd8ac8f2 /cnf | |
parent | Bug #308415 - Fix broken uri parameter passed to fetch () for some cases when (diff) | |
download | portage-idfetch-c3ba2ecd4edc2627969a120ebf92a25a85f87995.tar.gz portage-idfetch-c3ba2ecd4edc2627969a120ebf92a25a85f87995.tar.bz2 portage-idfetch-c3ba2ecd4edc2627969a120ebf92a25a85f87995.zip |
Produce a warning message if the timestamp of the portage tree is more than
30 days old, and make it adjustable via the PORTAGE_SYNC_STALE variable.
Thanks to Ned Ludd <solar@g.o> for the most of this code.
svn path=/main/trunk/; revision=15756
Diffstat (limited to 'cnf')
-rw-r--r-- | cnf/make.globals | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals index 76b48fbf..b1b2cf49 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -83,6 +83,10 @@ PORTAGE_RSYNC_RETRIES="3" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" +# The number of days after the last `emerge --sync` that a warning +# message should be produced. +PORTAGE_SYNC_STALE="30" + # Minimal CONFIG_PROTECT CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d" |