From 238111fc2e75ccc77e1afeeb014891724642a676 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20R=2E=20Sede=C3=B1o?= Date: Thu, 3 Mar 2022 19:46:10 -0500 Subject: [PATCH] combine fedora and epel jobs into fedora-buffet --- fetch-scripts/{fedora => fedora-buffet} | 22 +++++----- fetch-scripts/fedora-epel | 54 ------------------------- 2 files changed, 12 insertions(+), 64 deletions(-) rename fetch-scripts/{fedora => fedora-buffet} (72%) delete mode 100644 fetch-scripts/fedora-epel diff --git a/fetch-scripts/fedora b/fetch-scripts/fedora-buffet similarity index 72% rename from fetch-scripts/fedora rename to fetch-scripts/fedora-buffet index 0c9ec40..73d6213 100644 --- a/fetch-scripts/fedora +++ b/fetch-scripts/fedora-buffet @@ -1,18 +1,19 @@ #!/bin/bash +# This script serves to sync the following modules from fedora-buffet: +# - fedora -> ${MIRRORDIR}/fedora +# - epel -> ${MIRRORDIR}/epel + +# To make quick-fedora-mirror happy, it does so through a bind mount, +# separate from the symlink farm at ${MIRRORDIR}. + # mirrors.mit.edu is on the IP ACL for fedora-buffet0 here # so we'll use it. Adjust these values if switching upstreams. RSYNCSOURCE=rsync://download-i2.fedoraproject.org MASTERMODULE=fedora-buffet0 PREBITFLIP=1 -# The remote module we want to sync from fedora-buffet[0]. -# Some call it fedora, others call it fedora-enchilada. -MODULE=fedora -# The local name for it. -MODULEDIR=fedora - -TIMEFILE="${MIRRORDIR}/.locks/fedora.timefile" +TIMEFILE="${MIRRORDIR}/.locks/fedora-buffet.timefile" QFM="./tools/fedora/quick-fedora-mirror" if ! [ -x "${QFM}" ]; then @@ -33,7 +34,7 @@ CONF="${TMPDIR}/qfm.conf" cat >"${CONF}" <"${CONF}" <