summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 13:49:49 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 13:49:49 +0200
commit4ee8cc1ded42e0bcba2d79c8b2459c6bab29e1f1 (patch)
tree215a3f60626273a5b29909c01584c81e8f69f460
parent24d53e80f93d3cd65daa1c264e60e43763ada37a (diff)
downloadjenkins.debian.net-4ee8cc1ded42e0bcba2d79c8b2459c6bab29e1f1.tar.xz
reproducible: include build_date in tooltip
-rwxr-xr-xbin/reproducible_html_packages.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index da63a875..dd865534 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -180,6 +180,7 @@ def gen_suites_links(package, current_suite, current_arch):
if not status: # The package is not available in that suite/arch
continue
version = package.get_tested_version(s, a)
+ build_date = package.get_build_date(s, a)
li_classes = ['suite']
if s == current_suite and a == current_arch:
li_classes.append('active')
@@ -193,8 +194,8 @@ def gen_suites_links(package, current_suite, current_arch):
icon = prefix + '<img src="/static/{icon}" alt="{status}" title="{status}"/>' + suffix
html += icon.format(icon=join_status_icon(status)[1], status=status)
html += (tab*2 + ' <a href="{}/{}/{}/{}.html" target="_parent"' + \
- ' title="{}: {}">{}</a>: {}\n').format(RB_PKG_URI,
- s, a, package.name, status, version, s, version)
+ ' title="{}: {} on {}">{}</a>: {}\n').format(RB_PKG_URI,
+ s, a, package.name, status, version, build_date, s, version)
html += '</li>\n'
html += tab + '</ul></li>'
html += '</ul>\n'