From 793d20e3d12c06cffcbb2d1072f19926e1cb4bb5 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Aug 04 2020 23:07:02 +0000 Subject: Update close-old-ftbfs-bugz.sh for F33FTBF Also, debug output the package name to see the script is not stalled. Signed-off-by: Miro Hrončok --- diff --git a/scripts/close-old-ftbfs-bugz.sh b/scripts/close-old-ftbfs-bugz.sh index 9915581..112647f 100755 --- a/scripts/close-old-ftbfs-bugz.sh +++ b/scripts/close-old-ftbfs-bugz.sh @@ -3,8 +3,8 @@ set -e set -u set -o pipefail -tracker=${1:-1750908} -dist=${1:-fc32} +tracker=${1:-1803234} +dist=${1:-fc33} for line in $(bugzilla query --blocked $tracker --status NEW --outputformat "%{id}@%{component}@%{creation_time}"); do @@ -12,6 +12,7 @@ for line in $(bugzilla query --blocked $tracker --status NEW --outputformat "%{i bug=${line[0]} line=( ${line[1]/@/ } ) component=${line[0]} + echo $component >&2 creation_time=${line[1]} builds=$(koji list-builds --package $component --after "$creation_time" --state=COMPLETE --quiet) || continue # XXX any better way to filter builds by release?