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

Holger Levsen holger at alioth.debian.org
Mon May 11 09:27:45 UTC 2009


Author: holger
Date: 2009-05-11 09:27:45 +0000 (Mon, 11 May 2009)
New Revision: 400

Modified:
   piatti/home/piupartsm/bin/detect_well_known_errors
Log:
include number of affected packages per distro

Modified: piatti/home/piupartsm/bin/detect_well_known_errors
===================================================================
--- piatti/home/piupartsm/bin/detect_well_known_errors	2009-05-11 09:08:40 UTC (rev 399)
+++ piatti/home/piupartsm/bin/detect_well_known_errors	2009-05-11 09:27:45 UTC (rev 400)
@@ -35,6 +35,11 @@
 	echo 
 	echo "Please file bugs!"
 	echo
+        for distro in $DISTROS ; do 
+		COUNT=$(grep "/$distro/" $LOGS | cut -d "_" -f1|sort -u|wc -l)
+		echo "Affected packages in $distro: " $COUNT
+        done
+	echo
 	cat $LOGS | sed -e "s#/org/piuparts.debian.org/master/#http://piuparts.debian.org/#g" 
 	echo
 fi
@@ -54,10 +59,14 @@
 	echo "see http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails"
 	echo 
 	echo "Please file bugs!"
+	echo 
+        for distro in $DISTROS ; do 
+		COUNT=$(grep "/$distro/" $LOGS | cut -d "_" -f1|sort -u|wc -l)
+		echo "Affected packages in $distro: " $COUNT
+        done
 	echo
 	cat $LOGS | sed -e "s#/org/piuparts.debian.org/master/#http://piuparts.debian.org/#g" 
 	echo
 fi
 rm $LOGS
 
-




More information about the Piuparts-commits mailing list