From 16ae79420a63c498514e39abcc4a1cd5a53b3a22 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 31 Jul 2015 15:08:24 +0000 Subject: reproducible: build: do not notify the world when a package go in or out depwait --- bin/reproducible_build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c1d30a08..e05cd5c8 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -122,7 +122,7 @@ update_db_and_html() { fi 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 [ "${OLD_STATUS}" = "reproducible" ] && [ "$STATUS" != "depwait" ] ; then if [ "$STATUS" = "unreproducible" ] || ( [ "$STATUS" = "FTBFS" ] && [ "$SUITE" = "testing" ] ) ; then MESSAGE="${REPRODUCIBLE_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}" echo "\n$MESSAGE" | tee -a ${RBUILDLOG} @@ -133,7 +133,9 @@ update_db_and_html() { fi fi fi - if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ]; then + if [ "$OLD_STATUS" != "$STATUS" ] && [ "$NOTIFY_MAINTAINER" -eq 1 ] && \ + [ "$OLD_STATUS" != "depwait" ] && [ "$STATUS" != "depwait" ] && \ + [ "$OLD_STATUS" != "404" ] && [ "$STATUS" != "404" ]; then echo "More information on $REPRODUCIBLE_URL/$SUITE/$ARCH/$SRCPACKAGE, feel free to reply to this email to get more help." | \ mail -s "$SRCPACKAGE changed in $SUITE: $OLD_STATUS -> $STATUS" \ -a "From: Reproducible builds folks " \ -- cgit v1.2.3-54-g00ecf