openSUSE-release-tools/run-maintbot
Ludwig Nussel a590787e33 new review bots factory-source and maintbot
factory-source checks if submissions contain sources already accepted in
Factory. maintbot makes sure maintenance submissions are authored by the
Factory package maintainer.

Both are based on a new generic ReviewBot.py class that can serve as
common framework for review bots.
2014-11-25 14:36:22 +01:00

12 lines
361 B
Bash
Executable File

#!/bin/bash
: ${interval:=1800}
while date; do
echo "maintbot ..."
sudo -u "maintbot" ./check_maintenance_incidents.py "$@" review
echo "factory-source ..."
sudo -u "factory-source" ./check_source_in_factory.py "$@" review
read -t "$interval" -p "done. sleeping. press enter to check immediately"
[ "$?" -eq 0 ] || echo
[ "$REPLY" != 'q' ] || break
done