MM: ignore pub/archive when searching for new versions

Every time we tried to delete the s390 (without x) rawhide repository
from MirrorManager it was re-detected as there is still a very old s390
tree available under pub/archive. This tells MirrorManager to ignore
everything under pub/archive when searching for new versions, releases
and architectures.

Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
Adrian Reber 2020-03-28 11:16:09 +01:00 committed by Pierre-Yves Chibon
parent e28b0c3263
commit b64cf04b2e

View file

@ -166,7 +166,7 @@ CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400 --exclude=lost+found --no-
# 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', 'pub/fedora/linux/releases/test']
SKIP_PATHS_FOR_VERSION = ['pub/alt', 'pub/fedora/linux/releases/test', 'pub/archive']
###
# Configuration options used by the crons