[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: build: do not notify the world when a package go in or out depwait

Holger Levsen holger at moszumanska.debian.org
Sat Aug 1 12:24:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 16ae79420a63c498514e39abcc4a1cd5a53b3a22
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Fri Jul 31 15:08:24 2015 +0000

    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 c1d30a0..e05cd5c 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 at lists.alioth.debian.org>" \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list