From 85608e51fc2cd01cdbc8f003f6fad8c65e8f08cb Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 20 Mar 2020 08:44:27 +0100 Subject: [PATCH] mirrormanager: ignore certain paths for version detection MirrorManager sometimes detects version numbers of test releases which it should not detect or list. The newest version of MirrorManager has limited filter ability for paths that should be ignored. Signed-off-by: Adrian Reber --- roles/mirrormanager/frontend2/templates/mirrormanager2.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index de2c6bf355..8cca46bcfa 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -164,6 +164,10 @@ CHECK_SESSION_IP = True # # --no-human-readable: because rsync made things pretty by default in 3.1.x CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400 --exclude=lost+found --no-human-readable' +# This is a list of directories which MirrorManager will ignore while guessing +# the version and architecture from a path. +SKIP_PATHS_FOR_VERSION = ['pub/alt'] + ### # Configuration options used by the crons ###