[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.42-50-g4ee7269

Andreas Beckmann debian at abeckmann.de
Mon Mar 5 13:56:28 UTC 2012


The following commit has been merged in the develop branch:
commit cbd7d90500cac62848f1f89a31e78682dc17862b
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Thu Jan 12 18:52:11 2012 +0100

    add link to the list of untestable logs
    
    the list was already generated, it just needed to be linked
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/debian/changelog b/debian/changelog
index a8675e1..a9aede8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ piuparts (0.44) UNRELEASED; urgency=low
   * piuparts.py:
     - Add to self.ignored_patterns: /var/lib/ucf/.*
     - Increase output limit to 3 MB (for dist-upgrading daptup).
+  * piuparts-report.py:
+    - Add link to the list of untestable logs.
 
   [ Holger Levsen ]
   * Enable automatic bug updating in piuparts-analyse: if a bug is not closed
diff --git a/piuparts-report.py b/piuparts-report.py
index ca3cc05..fcc9688 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -361,7 +361,7 @@ state_by_dir = {
     "fail": "failed-testing",
     "bugged": "failed-testing",
     "reserved": "waiting-to-be-tested",
-    "untestable": "dependency-cannot-be-tested",
+    "untestable": "cannot-be-tested",
 }
 
 # better use XX_name.tpl and get the linktarget from the template
@@ -949,7 +949,7 @@ class Section:
             dir_link = ""
             analysis = ""
             for vdir in dirs:
-              if vdir in ("pass","fail","bugged") and state_by_dir[vdir] == state:
+              if vdir in ("pass", "fail", "bugged", "untestable") and state_by_dir[vdir] == state:
                 dir_link += "<a href='%s.html'>%s</a> logs<br>" % (vdir, html_protect(vdir))
             if state in ("successfully-tested", "failed-testing"):
               analysis = self.create_and_link_to_analysises(state)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list