Commit b244398c authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

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>
parent 1fe8aa4a
...@@ -86,13 +86,16 @@ save_artifacts() { ...@@ -86,13 +86,16 @@ save_artifacts() {
echo "</p>" >> $HEADER echo "</p>" >> $HEADER
chmod 644 $HEADER chmod 644 $HEADER
# irc message # irc message
#if [ ! -z "$NOTIFY" ] ; then if [ ! -z "$NOTIFY" ] ; then
# local MESSAGE="Artifacts for ${SRCPACKAGE}, $STATUS in ${SUITE}/${ARCH}: $URL" local MESSAGE="Artifacts for ${SRCPACKAGE}, $STATUS in ${SUITE}/${ARCH}: $URL"
# if [ "$NOTIFY" = "diffoscope" ] ; then if [ "$NOTIFY" = "diffoscope" ] ; then
# MESSAGE="$MESSAGE (error running $DIFFOSCOPE)" irc_message debian-reproducible-changes "$MESSAGE (error running $DIFFOSCOPE)"
# fi MESSAGE="$MESSAGE (error running $DIFFOSCOPE)"
# irc_message debian-reproducible "$MESSAGE" else
#fi # somebody explicitly asked for artifacts, so give them the artifacts
irc_message debian-reproducible "$MESSAGE"
fi
fi
} }
cleanup_all() { cleanup_all() {
......
Supports Markdown
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