[Piuparts-commits] rev 432 - in piatti/home/piupartsm/bin: . known_problems
Holger Levsen
holger at alioth.debian.org
Mon Jun 1 09:39:56 UTC 2009
Author: holger
Date: 2009-06-01 09:39:55 +0000 (Mon, 01 Jun 2009)
New Revision: 432
Modified:
piatti/home/piupartsm/bin/detect_well_known_errors
piatti/home/piupartsm/bin/known_problems/unowned_files_after_purge_error.conf
Log:
work in progress
Modified: piatti/home/piupartsm/bin/detect_well_known_errors
===================================================================
--- piatti/home/piupartsm/bin/detect_well_known_errors 2009-05-31 16:27:32 UTC (rev 431)
+++ piatti/home/piupartsm/bin/detect_well_known_errors 2009-06-01 09:39:55 UTC (rev 432)
@@ -27,7 +27,7 @@
if [ -z "$MASTER" ] || [ -z "$SECTIONS" ] ; then
echo "sections and/or master-directory not set in /etc/piuparts/piuparts.conf, exiting."
exit 1
-FI
+fi
#
# detect unknown errors, continued at the end of this script
@@ -43,11 +43,11 @@
LOGS=`mktemp`
for problem in `ls ~/bin/known_problems` ; do
- # source files to get COMMAND, HELPTEXT and ISSUE
- source $problem
for SECTION in $SECTIONS ; do
cd $MASTER/$SECTION
- $COMMAND > $LOGS
+ # source files to get COMMAND, HELPTEXT and ISSUE
+ source ~/bin/known_problems/$problem
+ echo $COMMAND > $LOGS
if [ -s $LOGS ] ; then
OUTPUT=$HTDOCS/$SECTION/${problem%.conf}.tpl
echo $HELPTEXT > $OUTPUT
@@ -70,8 +70,9 @@
cd $MASTER/$SECTION
find fail -name "*.log" > $LOGS
for LOG in $(cat ${KNOWNLOGS[$SECTION]}) ; do
- grep -v $LOG $LOGS > $UNKNOWNLOGS
- cp $UNKNOWNLOGS $LOGS
+ grep -v $LOG $LOGS > $UNKNOWNLOGS
+ cp $UNKNOWNLOGS $LOGS
+ done
if [ -s $LOGS ] ; then
echo
echo "Packages with failures not yet well known detected. Please investigate!"
Modified: piatti/home/piupartsm/bin/known_problems/unowned_files_after_purge_error.conf
===================================================================
--- piatti/home/piupartsm/bin/known_problems/unowned_files_after_purge_error.conf 2009-05-31 16:27:32 UTC (rev 431)
+++ piatti/home/piupartsm/bin/known_problems/unowned_files_after_purge_error.conf 2009-06-01 09:39:55 UTC (rev 432)
@@ -7,7 +7,7 @@
One group of them are packages with files in /usr/share/mime - those are bugs from shared-mime-info (#527063) and have been ignored for this list.
-WARNING: there are probably others like this as well."
+WARNING: there are probably others like this as well.
Packages with unowned files after purge (violating policy 6.8) see http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails
More information about the Piuparts-commits
mailing list