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 <adrian@lisas.de>
This commit is contained in:
Adrian Reber 2020-03-20 08:44:27 +01:00 committed by Pierre-Yves Chibon
parent ee9b3796d0
commit 85608e51fc

View file

@ -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
###