[Piuparts-commits] [piuparts] 06/09: dwke: classify unclassified failures as unclassified_failures.conf
Holger Levsen
holger at moszumanska.debian.org
Sat Mar 1 21:08:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 73d73d134cb9f2bba0de0242fe09f75e0c275799
Author: Andreas Beckmann <anbe at debian.org>
Date: Sat Feb 22 15:58:04 2014 +0100
dwke: classify unclassified failures as unclassified_failures.conf
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
debian/changelog | 2 ++
master-bin/detect_well_known_errors.py | 3 +++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index dd6cf2c..43b96d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ piuparts (0.57.1) UNRELEASED; urgency=low
piuparts-report.
- Add PackagesDB.get_source(package_name) method, for easy lookup of
source package names.
+ * master-bin/detect_well_known_errors.py:
+ - Classify unclassified failures as unclassified_failures.conf.
-- Holger Levsen <holger at debian.org> Fri, 14 Feb 2014 14:00:04 +0100
diff --git a/master-bin/detect_well_known_errors.py b/master-bin/detect_well_known_errors.py
index 533d859..f81e2eb 100755
--- a/master-bin/detect_well_known_errors.py
+++ b/master-bin/detect_well_known_errors.py
@@ -107,6 +107,9 @@ def make_kprs(logdict, kprdict, problem_list):
if problem.has_problem(logbody, where):
kprs += "%s/%s.log %s\n" % (where, pkg_spec, problem.name)
+ if not where in ['pass'] and not len(kprs):
+ kprs += "%s/%s.log %s\n" % (where, pkg_spec, "unclassified_failures.conf")
+
write_file(get_kpr_path(logpath), kprs)
except IOError:
logging.error("File error processing %s" % logpath)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list