diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-07-31 15:08:24 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-01 12:21:04 +0000 |
commit | 16ae79420a63c498514e39abcc4a1cd5a53b3a22 (patch) | |
tree | 874dad6356ba6f9224fbed669bb420c5df95328b | |
parent | 609d68de146dca473180486aee94fff0430c9560 (diff) | |
download | jenkins.debian.net-16ae79420a63c498514e39abcc4a1cd5a53b3a22.tar.xz |
reproducible: build: do not notify the world when a package go in or out depwait
-rwxr-xr-x | bin/reproducible_build.sh | 6 |
1 files 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 <reproducible-builds@lists.alioth.debian.org>" \ |