]> git.decadent.org.uk Git - dak.git/commitdiff
Add link to relevant PTS page for binary-NEW packages
authorLuca Falavigna <dktrkranz@debian.org>
Sat, 10 Mar 2012 12:32:33 +0000 (12:32 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Sat, 10 Mar 2012 12:32:33 +0000 (12:32 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/queue_report.py

index 9c0d2926a16cb2105731dc41009b28ad599751aa..cb2b93904a974d5800be5b2a0e6689cecd27b198 100755 (executable)
@@ -290,7 +290,10 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes, fing
     else:
         print "<tr class=\"%s odd\">" % (trclass)
 
-    print "<td class=\"package\">%s</td>" % (source)
+    if "binNEW" in trclass:
+        print "<td class=\"package\">%s</td>" % (source)
+    else:
+        print "<td class=\"package\"><a href=\"http://packages.qa.debian.org/%(source)s\">%(source)s</a></td>" % {'source': source}
     print "<td class=\"version\">"
     for vers in version.split():
         print "<a href=\"new/%s_%s.html\">%s</a><br/>" % (source, utils.html_escape(vers), utils.html_escape(vers))