[Piuparts-commits] rev 392 - trunk

Holger Levsen holger at alioth.debian.org
Tue May 5 13:44:33 UTC 2009


Author: holger
Date: 2009-05-05 13:44:32 +0000 (Tue, 05 May 2009)
New Revision: 392

Modified:
   trunk/TODO
   trunk/piuparts-report.py
Log:
bugfix: only provide links to logs which start with *.log and not *.log

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2009-05-05 10:49:44 UTC (rev 391)
+++ trunk/TODO	2009-05-05 13:44:32 UTC (rev 392)
@@ -8,7 +8,6 @@
   - esp. these new maintainer packages...
  - maintainer-pages: 
   - assemble maintainer pages differently, to be able to sort them alphabetically + by section
-  - http://piuparts.debian.org/source/a/awesome.html links to awesome-extra logs
   - http://piuparts.debian.org/source/a/awesome.html should display bugged logs
  - http://piuparts.debian.org/sid/state-dependency-does-not-exist.html:
    "dependency unknown package is unknown-package"
@@ -18,6 +17,8 @@
  - do fancy R graphs with the data from $distro/counts.txt
   - also per state
 
+- packagesdb.py: get_packages_in_state() returns each provided package too, so there is 3 times bonnie++ in the states 
+
 - take care of old conf files on upgrades
 	/etc/piuparts/piuparts-master.conf
 	/etc/piuparts/piuparts-slave.conf

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-05-05 10:49:44 UTC (rev 391)
+++ trunk/piuparts-report.py	2009-05-05 13:44:32 UTC (rev 392)
@@ -660,7 +660,7 @@
         links = []
         for dir in dirs:
           for basename in logs_by_dir[dir]:
-            if basename.startswith(package_name) and basename.endswith(".log"):
+            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()




More information about the Piuparts-commits mailing list