From 8dca6df7ea64ecb7b52b7dd7fc6eb48f24cad863 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 10 Aug 2017 15:57:21 +0200 Subject: reproducible debian: notify #d-r-changes for unreproducible -> FTBFS Signed-off-by: Mattia Rizzolo Signed-off-by: Holger Levsen --- bin/reproducible_build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 2746c066..07483e28 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -134,9 +134,9 @@ update_db_and_html() { query_db "SELECT status FROM results WHERE package_id='${SRCPKGID}'") # irc+mail notifications for changing status in unstable and experimental if [ "$SUITE" = "unstable" ] || [ "$SUITE" = "experimental" ] ; then - if [ "${OLD_STATUS}" = "reproducible" ] && [ "$STATUS" != "depwait" ] && \ - ( [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] ) ; then - MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}" + if ([ "$OLD_STATUS" = "reproducible" ] && ( [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] )) || \ + ([ "$OLD_STATUS" = "unreproducible" ] && [ "$STATUS" = "FTBFS" ] ); then + MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : ${OLD_STATUS} ➤ ${STATUS}" log_info "$MESSAGE" irc_message debian-reproducible-changes "$MESSAGE" fi -- cgit v1.2.3-70-g09d2