[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Add link to relevant PTS page for binary-NEW packages



Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
---
 dak/queue_report.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index 9c0d292..cb2b939 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -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))
-- 
1.7.2.5


Reply to: