From 23adf9ca69b8e5f2dca5ffe0aab66f109e697382 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sun, 30 Jan 2022 14:04:29 +0100 Subject: [PATCH] MM: Minor propagation script fixes Signed-off-by: Adrian Reber --- roles/mirrormanager/crawler/files/check_propagation.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/roles/mirrormanager/crawler/files/check_propagation.sh b/roles/mirrormanager/crawler/files/check_propagation.sh index bf3603659c..5e3d68a4b4 100755 --- a/roles/mirrormanager/crawler/files/check_propagation.sh +++ b/roles/mirrormanager/crawler/files/check_propagation.sh @@ -17,12 +17,8 @@ if [ $? -ne 0 ]; then fi # check propagation for the active branches -for version in `jq -r ".results[$i].version" < ${ACTIVE} | grep -v Rawhide`; do - if [[ ${version} -lt 28 ]]; then - ${CRAWLER} --category "Fedora Linux" --propagation --proppath updates/${version}/x86_64/repodata --threads 50 2>&1 | grep SHA256 > ${LOGBASE}/f${version}_updates-propagation.log.$( date +%s ) - else - ${CRAWLER} --category "Fedora Linux" --propagation --proppath updates/${version}/Everything/x86_64/repodata --threads 50 2>&1 | grep SHA256 > ${LOGBASE}/f${version}_updates-propagation.log.$( date +%s ) - fi +for version in `jq -r '.results[] | select ( .release_type == "updates" ) | .version' < ${ACTIVE}`; do + ${CRAWLER} --category "Fedora Linux" --propagation --proppath updates/${version}/Everything/x86_64/repodata --threads 50 2>&1 | grep SHA256 > ${LOGBASE}/f${version}_updates-propagation.log.$( date +%s ) done # check propagation for the development branch