From f4b9d802ea149a5c121ba8d00be8b177bca7aafd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Feb 2007 23:42:12 +0000 Subject: [PATCH] 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 --- cnf/make.globals | 2 +- pym/emerge/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: -- 2.26.2