[Piuparts-commits] rev 758 - piatti/home/piupartsm/bin

Holger Levsen holger at alioth.debian.org
Sat Nov 13 15:53:40 UTC 2010


Author: holger
Date: 2010-11-13 15:53:39 +0000 (Sat, 13 Nov 2010)
New Revision: 758

Modified:
   piatti/home/piupartsm/bin/detect_well_known_errors
Log:
add links to bts next to the logfiles

Modified: piatti/home/piupartsm/bin/detect_well_known_errors
===================================================================
--- piatti/home/piupartsm/bin/detect_well_known_errors	2010-11-13 15:25:34 UTC (rev 757)
+++ piatti/home/piupartsm/bin/detect_well_known_errors	2010-11-13 15:53:39 UTC (rev 758)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright 2009 Holger Levsen (holger at layer-acht.org)
+# Copyright 2009-2010 Holger Levsen (holger at layer-acht.org)
 # 
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by the
@@ -62,7 +62,7 @@
 				if [ "${problem%_error.conf}_error.conf" == "$problem" ] ; then 
 					LATESTFAIL=$(ls -tr1 --color=none $MASTER/$SECTION/fail/${PACKAGE}_* $MASTER/$SECTION/bugged/${PACKAGE}_*  2>/dev/null|tail -1|cut -d "/" -f7-8)
 					if [ "$LATEST" != "pass" ] && [ "$LATESTFAIL" == "$LOG" ] ; then 
-						echo "<li><a href='/$SECTION/$LOG'>$LOG</a></li>" >> $OUTPUT
+						echo "<li><a href='/$SECTION/$LOG'>$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
 						echo "$LOG" >> ${KNOWNLOGS[$NR]}
 						let "COUNT += 1"
 					fi
@@ -70,7 +70,7 @@
 					# this is an issue, not an error
 					LATESTSUCCESS=$(ls -tr1 --color=none $MASTER/$SECTION/pass/${PACKAGE}_* 2>/dev/null|tail -1|cut -d "/" -f7-8)
 					if [ "$LATEST" == "pass" ] && [ "$LATESTSUCCESS" == "$LOG" ] ; then 
-						echo "<li><a href='/$SECTION/$LOG'>$LOG</a></li>" >> $OUTPUT
+						echo "<li><a href='/$SECTION/$LOG'>$LOG</a> (<a href=\"http://bugs.debian.org/$PACKAGE\" target=\"_blank\">BTS</a>)</li>" >> $OUTPUT
 						echo "$LOG" >> ${KNOWNLOGS[$NR]}
 						let "COUNT += 1"
 					fi 




More information about the Piuparts-commits mailing list