From bc9a6532345108c8d8930c2173341620cc4ce8db Mon Sep 17 00:00:00 2001 From: brent s Date: Thu, 23 Jul 2020 14:39:47 -0400 Subject: [PATCH] updating to support configurable delay checking and rsync exit code ignoring --- example.config.xml | 21 ++++++++++++++++----- repomirror/constants.py | 4 ++-- repomirror/fetcher/rsync.py | 10 ++++++---- repomirror/sync.py | 20 +++++++++++++------- 4 files changed, 37 insertions(+), 18 deletions(-) diff --git a/example.config.xml b/example.config.xml index 1451cfe..7044500 100644 --- a/example.config.xml +++ b/example.config.xml @@ -69,16 +69,15 @@ links hard-links delete-after + perms delay-updates - copy-links safe-links delete-excluded - exclude - These arguments should be sane for most, if not all, rsync-driven repository mirroring. The last one (exclude) may - be removed in future versions. + These arguments should be sane for most, if not all, rsync-driven repository mirroring. If arguments are provided, the defaults are overwritten so if you need the above, be sure to specify them. - See the rsync man page (rsync(1)) for more details and a listing of supported flags on your system. + See the rsync man page (rsync(1)) for more details and a listing of supported flags on your system + (§ "OPTION SUMMARY", § "OPTIONS"). --> c + + exclude + +