From 2ba79cd801f3a87fb6f785a8e9fdf0f6a2508cb2 Mon Sep 17 00:00:00 2001 From: brent s Date: Sun, 14 Jun 2020 00:53:12 -0400 Subject: [PATCH] about to change up a lot of stuff... --- sample.config.xml | 86 ++++++++++++++++++++---- utils/find_fastest_upstream/archlinux.py | 59 ++++++++++++++++ utils/find_fastest_upstream/centos.py | 0 utils/find_fastest_upstream/classes.py | 39 +++++++++++ utils/find_fastest_upstream/constants.py | 1 + utils/find_fastest_upstream/test.py | 20 ++++++ 6 files changed, 192 insertions(+), 13 deletions(-) create mode 100755 utils/find_fastest_upstream/archlinux.py create mode 100755 utils/find_fastest_upstream/centos.py create mode 100644 utils/find_fastest_upstream/classes.py create mode 100644 utils/find_fastest_upstream/constants.py create mode 100755 utils/find_fastest_upstream/test.py diff --git a/sample.config.xml b/sample.config.xml index c9ea1e2..4e4c692 100644 --- a/sample.config.xml +++ b/sample.config.xml @@ -6,57 +6,108 @@ xmlns="https://git.square-r00t.net/RepoMirror/" xsi:schemaLocation="https://git.square-r00t.net/RepoMirror/ http://schema.xml.r00t2.io/projects/repomirror.xsd"> + + + root + root + /srv/repos/arch/. - /srv/http/arch.lastcheck + /srv/http/arch.lastcheck - /srv/http/arch.lastsync + /srv/repos/arch/lastsync - /lastupdate + /lastupdate - /lastsync + /lastsync / - 7000 + + + archive + delete-after + + info + + c + rsync arch.mirror.constant.com 873 /archlinux/ + + 7000