[Piuparts-commits] rev 360 - trunk

Holger Levsen holger at alioth.debian.org
Sat Apr 18 16:06:01 UTC 2009


Author: holger
Date: 2009-04-18 16:06:01 +0000 (Sat, 18 Apr 2009)
New Revision: 360

Modified:
   trunk/TODO
   trunk/piuparts-report.py
Log:
sort links to logfiles and provide link to already filed bugs, too

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2009-04-18 15:02:36 UTC (rev 359)
+++ trunk/TODO	2009-04-18 16:06:01 UTC (rev 360)
@@ -43,7 +43,8 @@
    better: create maintainer centric pages.
  - RSS feeds of logs
 
-- expire old logs a month after sucessful testing
+- expire old logs a month after testing if newer logs exists (except if the new log is fail
+  and the old is bugged, then the fail log should be moved to bugged first)
 
 - create emacspeak-broken-dpkg-preconfigure package for broken repo. (then later
   put more broken packages in there and use that for testing piuparts)

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-04-18 15:02:36 UTC (rev 359)
+++ trunk/piuparts-report.py	2009-04-18 16:06:01 UTC (rev 360)
@@ -617,6 +617,7 @@
             if basename.startswith(package_name) and basename.endswith(".log"):
               package, version = basename[:-len(".log")].split("_")
               links.append("<a href=\"/%s\">%s</a>" % (os.path.join(self._config.section, dir, basename),html_protect(version)))
+        links.sort()
         return links
 
     def link_to_source_summary(self, package_name):
@@ -651,6 +652,9 @@
           links = self.find_links_to_logs (package_name, dirs, logs_by_dir)
           link = ", ".join(links)
 
+        if "/bugged/" in link:
+          link += " - <a href=\"http://bugs.debian.org/cgi-bin/pkgreport.cgi?package="+package_name+"\" target=\"_blank\">bug filed</a>"
+
         return link
 
 




More information about the Piuparts-commits mailing list