Commit 5649bf35 authored by Mattia Rizzolo's avatar Mattia Rizzolo Committed by Holger Levsen

reproducible debian: _build.sh: fix IRC notifications when somebody asks for artifacts

this code was disabled one year ago when we didn't have #d-r-changes,
now that we have it let's send error notifications to #d-r-changes, and
notifications explicitly asked to #d-r
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 4b990955
......@@ -86,13 +86,16 @@ save_artifacts() {
echo "</p>" >> $HEADER
chmod 644 $HEADER
# irc message
#if [ ! -z "$NOTIFY" ] ; then
# local MESSAGE="Artifacts for ${SRCPACKAGE}, $STATUS in ${SUITE}/${ARCH}: $URL"
# if [ "$NOTIFY" = "diffoscope" ] ; then
# MESSAGE="$MESSAGE (error running $DIFFOSCOPE)"
# fi
# irc_message debian-reproducible "$MESSAGE"
#fi
if [ ! -z "$NOTIFY" ] ; then
local MESSAGE="Artifacts for ${SRCPACKAGE}, $STATUS in ${SUITE}/${ARCH}: $URL"
if [ "$NOTIFY" = "diffoscope" ] ; then
irc_message debian-reproducible-changes "$MESSAGE (error running $DIFFOSCOPE)"
MESSAGE="$MESSAGE (error running $DIFFOSCOPE)"
else
# somebody explicitly asked for artifacts, so give them the artifacts
irc_message debian-reproducible "$MESSAGE"
fi
fi
}
cleanup_all() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment