[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-701-g79736e3

Andreas Beckmann debian at abeckmann.de
Thu Jun 14 10:09:02 UTC 2012


The following commit has been merged in the develop branch:
commit 51d74cec353b65ffe5a5952b26735775c00cce5c
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Jun 13 10:34:11 2012 +0200

    dwke: unclassified failures may have bug links
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/home/piupartsm/bin/detect_well_known_errors b/home/piupartsm/bin/detect_well_known_errors
index 7f1ef33..37d69c9 100755
--- a/home/piupartsm/bin/detect_well_known_errors
+++ b/home/piupartsm/bin/detect_well_known_errors
@@ -212,7 +212,11 @@ do
 			LATEST=$(tail -n 1 $LIST_PKG | cut -d "/" -f1)
 			LATESTFAIL=$(grep -v ^pass/ $LIST_PKG | tail -n 1)
 			if [ "$LATEST" != "pass" ] && [ "$LATESTFAIL" = "$LOG" ] ; then 
-				echo "<li><a href=\"$LOG\">$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
+				echo "<li><a href=\"$LOG\">$LOG</a>" >> $OUTPUT
+				echo "    (<a href=\"http://bugs.debian.org/$PACKAGE?dist=unstable\" target=\"_blank\">BTS</a>)" >> $OUTPUT
+				BUG=${LOG%.log}.bug
+				test ! -s "$BUG" || cat "$BUG" >> $OUTPUT
+				echo "</li>" >> $OUTPUT
 				COUNT=$((COUNT+1))
 			fi
 		done

-- 
piuparts git repository



More information about the Piuparts-commits mailing list