churchyard added a new comment to an issue you are following:
``
Here's a draft:
```bash
tracker=${1:-1674516}
date="${2:-2019-07-24 09:40:00.000000}"
for line in $(bugzilla query --blocked $tracker --status NEW,ASSIGNED,POST,MODIFIED
--outputformat "%{id}:%{component}"); do
bug_component=( ${line/:/ } )
bug=${bug_component[0]}
component=${bug_component[1]}
# XXX any better way to get rid of epel and fc29 builds?
builds=$(koji list-builds --package $component --after "$date"
--state=COMPLETE --quiet | egrep "fc(30|31)" | cut -f1 -d' ' | tr
'\n' ' ')
if [ -z "$builds" ]; then
echo "Let's retire $component"
if false; then
fedpkg clone $component
(cd $component && fedpkg retire "This package fails to build from
source waaaay to long, bye bye!")
rm -rf $component
bugzilla modify --status CLOSED --close EOL --comment "The package was
retired." $bug
fi
else
echo "The following builds were made: $builds"
if false; then
bugzilla modify --status CLOSED --close WORKSFORME --comment "The following
builds were made: $builds" $bug
fi
fi
done
```
``
To reply, visit the link below or just reply to this email
https://pagure.io/releng/issue/8522