[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-671-ge50fae3

Andreas Beckmann debian at abeckmann.de
Mon Jun 4 21:08:49 UTC 2012


The following commit has been merged in the develop branch:
commit a1db3a8adb7f053bb40f50477781726359d476c2
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Jun 3 16:44:31 2012 +0200

    known problems: check for "... kept back" in fail logs
    
    "packages have been kept back" may also happen in combination with
    some errors.
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index bfae552..b4e0ddd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -93,7 +93,7 @@ piuparts (0.45) UNRELEASED; urgency=low
     - Establish packagesdb working directory in Section.
     - Handle logs in /affected/ directories.
     - detect_well_known_errors: Add bug links if bugs are known.
-    - New known issue: "packages have been kept back".
+    - New known problem: "packages have been kept back".
     - Report rdeps and blocking counts in all error state reports.
   * piuparts-analyze.py:
     - Don't report further bugs/versions if we found a match.
diff --git a/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_error.conf
similarity index 87%
copy from home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
copy to home/piupartsm/bin/known_problems/packages_have_been_kept_back_error.conf
index 3d64359..c68be85 100644
--- a/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
+++ b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_error.conf
@@ -2,8 +2,8 @@
 # detect possible dependency issues
 #
 COMMAND='grep "packages have been kept back"'
-WHERE='fail bugged affected pass'
-ISSUE=1
+WHERE='fail bugged affected'
+ISSUE=0
 HEADER='Packages with logs with the string "packages have been kept back"'
 HELPTEXT='
 <p>
diff --git a/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
index 3d64359..1c7b15d 100644
--- a/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
+++ b/home/piupartsm/bin/known_problems/packages_have_been_kept_back_issue.conf
@@ -2,7 +2,7 @@
 # detect possible dependency issues
 #
 COMMAND='grep "packages have been kept back"'
-WHERE='fail bugged affected pass'
+WHERE='pass'
 ISSUE=1
 HEADER='Packages with logs with the string "packages have been kept back"'
 HELPTEXT='
diff --git a/piuparts-report.py b/piuparts-report.py
index c06ce65..9fd2390 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -381,6 +381,7 @@ linktarget_by_template = [
     ("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),
 
     ("dependency_error.tpl", "due to unsatisfied dependencies"),
+    ("packages_have_been_kept_back_error.tpl", "...and logfile also contains 'packages have been kept back'"),
     ("command_not_found_error.tpl", "due to a 'command not found' error"),
     ("files_in_usr_local_error.tpl", "due to files in /usr/local"),
     ("overwrite_other_packages_files_error.tpl", "due to overwriting other packages files"),

-- 
piuparts git repository



More information about the Piuparts-commits mailing list