From 803fb7c5fa2ecff9f159fdd01fbaf20e1822bd43 Mon Sep 17 00:00:00 2001 From: "brent s." Date: Thu, 23 Jul 2020 23:15:17 -0400 Subject: [PATCH] Automated commit (/opt/dev/infra/gitclass.py) --- README | 1 - example.config.xml | 21 +++++++++++---- repomirror/sync.py | 64 ++++++++++++++++++++++++++++++++-------------- 3 files changed, 61 insertions(+), 25 deletions(-) diff --git a/README b/README index d9d19a2..7801556 100644 --- a/README +++ b/README @@ -10,7 +10,6 @@ Features: * Changing of directory/file ownership per-distribution * Mount-checking per-distribution - a distribution will be skipped if its designated mountpoint is not mounted * Synchronization checks - timestamp files can be read and written and are used to determine if a sync should take place or not -** TODO: customizable "staleness" of repos (e.g. sync if timestamp X is older than timestamp Y on server) Configuration/Deployment: diff --git a/example.config.xml b/example.config.xml index 7044500..e8e1c5d 100644 --- a/example.config.xml +++ b/example.config.xml @@ -43,18 +43,22 @@ /srv/repos/arch/lastsync + /lastupdate - /lastsync + /lastsync - + +