spam-o-matic: make composes less noisy

spam-o-matic does not understand rich deps, lets run it stioll but not
have its output emailed out as it is broken

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2018-02-20 16:28:35 -06:00
parent 1bc7668da7
commit d436118d7f

View File

@ -98,7 +98,8 @@ if [ "$RELEASE" = "rawhide" ]; then
else
TREENAME="F-$RELEASE"
fi
/usr/share/mash/spam-o-matic --treename="$TREENAME" "$DESTDIR/compose/Everything/" >"$DESTDIR/logs/depcheck"
# disable sending email for now as spam-o-matic does not understand Rich dependencies
/usr/share/mash/spam-o-matic --nomail --treename="$TREENAME" "$DESTDIR/compose/Everything/" >"$DESTDIR/logs/depcheck"
[ -z "$ARCH" ] && {
./releng/scripts/critpath.py --url file://$DESTDIR/compose/Everything/ -o $DESTDIR/logs/critpath.txt rawhide &> $DESTDIR/logs/critpath.log
@ -195,9 +196,11 @@ send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
# Tell everyone by email about the compose
# "$DESTDIR/logs/depcheck" lets not cat out depcheck for now as it does
# not understand rich dependencies
SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
for tomail in $TOMAIL ; do
cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \
cat $DESTDIR/logs/*verbose | \
mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
done