[Piuparts-commits] rev 540 - piatti/home/piupartsm/bin/known_problems trunk
Holger Levsen
holger at alioth.debian.org
Sat Dec 5 18:43:27 UTC 2009
Author: holger
Date: 2009-12-05 18:43:27 +0000 (Sat, 05 Dec 2009)
New Revision: 540
Added:
piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf
Modified:
trunk/piuparts-report.py
Log:
report broken symlinks on the webpages
Copied: piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf (from rev 487, piatti/home/piupartsm/bin/known_problems/command_not_found_issue.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/broken_symlinks_issue.conf 2009-12-05 18:43:27 UTC (rev 540)
@@ -0,0 +1,9 @@
+#
+# detect packages which have the string "WARN: Broken symlinks" in their logs
+#
+COMMAND=`rgrep "WARN: Broken symlinks" pass fail bugged |cut -d " " -f1|sed -e "s#\.log:#.log#"|sort -u 2>/dev/null`
+ISSUE=1
+HEADER='Packages which have logs with the string "WARN: Broken symlinks"'
+HELPTEXT='
+<p>This is clearly an error, but as there are too many of this kind, piuparts doesn't fail if it detects broken symlinks.</p>
+'
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-12-05 18:41:10 UTC (rev 539)
+++ trunk/piuparts-report.py 2009-12-05 18:43:27 UTC (rev 540)
@@ -350,6 +350,7 @@
"unknown_failures.tpl": "unclassified failures",
"initdscript_lsb_header_issue.tpl": "update-rc.d issues",
"command_not_found_issue.tpl": "but logfile contains 'command not found'",
+ "broken_symlinks_issue.tpl": "logfile contains 'broken symlinks'",
}
More information about the Piuparts-commits
mailing list