From 961952ed56deeeccdf49f40a517775ca3f622d2e Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 16 Jun 2020 15:44:50 -0400 Subject: [PATCH] time to test. --- sample.config.xml => example.config.xml | 18 ++- repomirror/config.py | 2 +- repomirror/constants.py | 22 ++-- repomirror/fetcher/_base.py | 7 +- repomirror/fetcher/rsync.py | 16 +-- repomirror/logger.py | 4 +- repomirror/sync.py | 152 ++++++++++++++++++------ repomirror/test.py | 22 ---- reposync.py | 4 +- 9 files changed, 155 insertions(+), 92 deletions(-) rename sample.config.xml => example.config.xml (91%) delete mode 100755 repomirror/test.py mode change 100644 => 100755 reposync.py diff --git a/sample.config.xml b/example.config.xml similarity index 91% rename from sample.config.xml rename to example.config.xml index db68d96..73ec7ac 100644 --- a/sample.config.xml +++ b/example.config.xml @@ -1,6 +1,7 @@ delay-updates copy-links safe-links - delete-extended + delete-excluded exclude These arguments should be sane for most, if not all, rsync-driven repository mirroring. The last one (exclude) may @@ -86,9 +87,9 @@ archive delete-after - info + info @@ -121,11 +122,6 @@ Required; the *remote* path part of the URI. The leading / is necessary. A trailing one will be assumed. --> /archlinux/ - - 7000