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

Holger Levsen holger at alioth.debian.org
Mon May 11 09:47:12 UTC 2009


Author: holger
Date: 2009-05-11 09:47:12 +0000 (Mon, 11 May 2009)
New Revision: 401

Modified:
   piatti/home/piupartsm/bin/detect_well_known_errors
Log:
add warning about false positives

Modified: piatti/home/piupartsm/bin/detect_well_known_errors
===================================================================
--- piatti/home/piupartsm/bin/detect_well_known_errors	2009-05-11 09:27:45 UTC (rev 400)
+++ piatti/home/piupartsm/bin/detect_well_known_errors	2009-05-11 09:47:12 UTC (rev 401)
@@ -25,7 +25,7 @@
 
 LOGS=`mktemp`
 for distro in $DISTROS ; do 
-	rgrep "not owned" $MASTER/$distro/fail|grep -v "owned by"|grep usr/local/|cut -d " " -f1|sed -e "s#log:#log#"|sort -u 2>/dev/null >> $LOGS
+	rgrep "not owned" $MASTER/$distro/fail|grep usr/local/|cut -d " " -f1|sed -e "s#log:#log#"|sort -u 2>/dev/null >> $LOGS
 done
 if [ -s $LOGS ] ; then 
 	echo
@@ -51,10 +51,15 @@
 
 LOGS=`mktemp`
 for distro in $DISTROS ; do 
-	rgrep "not owned" $MASTER/$distro/fail|grep -v "owned by"|grep -v usr/local/|cut -d " " -f1|sed -e "s#log:#log#"|sort -u 2>/dev/null >> $LOGS
+	rgrep "not owned" $MASTER/$distro/fail|grep -v "/usr/share/mime/"|grep -v usr/local/|cut -d " " -f1|sed -e "s#log:#log#"|sort -u 2>/dev/null >> $LOGS
 done
 if [ -s $LOGS ] ; then 
+	echo "WARNING: this list might contain false positives."
+	echo "One group of them are packages with files in /usr/share/mime - those are"
+	echo "bugs from shared-mime-info (#527063) and have been ignored for this list."
+	echo "WARNING: there are probably others like this as well."
 	echo 
+	echo 
 	echo "Packages with unowned files after purge (violating policy 6.8)"
 	echo "see http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails"
 	echo 




More information about the Piuparts-commits mailing list