From: Zac Medico Date: Thu, 22 Feb 2007 23:42:12 +0000 (-0000) Subject: For bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and... X-Git-Tag: v2.2_pre1~1658 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4b9d802ea149a5c121ba8d00be8b177bca7aafd;p=portage.git For bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and delete them on the receiver. svn path=/main/trunk/; revision=6047 --- diff --git a/cnf/make.globals b/cnf/make.globals index d10aaf8e0..45ffea680 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -54,7 +54,7 @@ PORTAGE_RSYNC_RETRIES="3" # Number of seconds rsync will wait before timing out. #RSYNC_TIMEOUT="180" -PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" +PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" # Minimal CONFIG_PROTECT CONFIG_PROTECT="/etc" diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index c0072d2f8..61bd4836b 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -3798,6 +3798,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): "--exclude='/distfiles'", # Exclude distfiles from consideration "--exclude='/local'", # Exclude local from consideration "--exclude='/packages'", # Exclude packages from consideration + "--filter=H_**/files/digest-*" # Exclude manifest1 digests and delete on the receiving side ]) else: