]> err.no Git - dak/commitdiff
Add link from new.html to .html for packages
authorJoerg Jaspert <joerg@debian.org>
Sun, 30 Dec 2007 21:03:53 +0000 (22:03 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 30 Dec 2007 21:03:53 +0000 (22:03 +0100)
ChangeLog
dak/queue_report.py

index efa47a2f8bfcee31d0c7b3a4c841657c0e584b85..745a8bd436d59ba08a30a8b2a3a73fd6bd193628 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-12-30  Joerg Jaspert  <joerg@debian.org>
 
+       * dak/queue_report.py (table_row): Add link to generated html page
+       for NEW package.
+
        * dak/show_new.py: new file, generates html overview for NEW
        packages, similar to what we see with examine-package.
 
index a4cee3591fc57abc1e1de905563fa860d2ba6471..ff3e082bbf73bb0eef76017b55697d410b8bbc97 100755 (executable)
@@ -239,7 +239,7 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes):
     print "<td valign=\"top\" class=\"%s\">%s</td>" % (tdclass, source)
     print "<td valign=\"top\" class=\"%s\">" % (tdclass)
     for vers in version.split():
-        print "%s<br>" % (vers)
+        print "<a href=\"/new/%s_%s.html\">%s</a><br>" % (source, vers, vers)
     print "</td><td valign=\"top\" class=\"%s\">%s</td><td valign=\"top\" class=\"%s\">" % (tdclass, arch, tdclass)
     for dist in distribution:
         print "%s<br>" % (dist)