From 9309817ea967c5d87deb9cc639215d092a3d89de Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 22 Jul 2015 10:34:18 +0200 Subject: reproducible: only notify about reproducible -> ftbfs status changes in testing, as they happen to frequently in unstable --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index f054aa15..7ee72822 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -123,7 +123,7 @@ update_db_and_html() { local OLD_STATUS=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT status FROM results WHERE package_id='${SRCPKGID}'") # notification for changing status if [ "${OLD_STATUS}" = "reproducible" ] ; then - if [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] ; then + if [ "$STATUS" = "unreproducible" ] || ( [ "$STATUS" = "FTBFS" ] && [ "$SUITE" = "testing" ] ) ; then MESSAGE="${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}" echo "\n$MESSAGE" | tee -a ${RBUILDLOG} irc_message "$MESSAGE" -- cgit v1.2.3-70-g09d2