summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-21 23:18:23 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-04-21 23:18:23 +0200
commitccbdbcb1b50f96c3a623093402c368cfa8110fc7 (patch)
treec7567269d176d4d83b1cbf44723149ad0ccbdfb4 /bin
parent74e376e81174ee0476dfa6e1fcb018a9539d11fd (diff)
downloadjenkins.debian.net-ccbdbcb1b50f96c3a623093402c368cfa8110fc7.tar.xz
reproducible: common.py: add a link_packages() function, exact plural of link_package()
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 75907a40..393e5aa4 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -355,6 +355,14 @@ def link_package(package, suite, arch, bugs={}):
return html
+def link_packages(packages, suite, arch):
+ bugs = get_bugs()
+ html = ''
+ for pkg in packages:
+ html += link_package(pkg, suite, arch, bugs)
+ return html
+
+
def join_status_icon(status, package=None, version=None):
table = {'reproducible' : 'weather-clear.png',
'FTBFS': 'weather-storm.png',