[Qa-jenkins-scm] [jenkins.debian.net] 04/05: reproducible: common.py: add a link_packages() function, exact plural of link_package()

Holger Levsen holger at moszumanska.debian.org
Wed Apr 22 07:40:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ccbdbcb1b50f96c3a623093402c368cfa8110fc7
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Tue Apr 21 23:18:23 2015 +0200

    reproducible: common.py: add a link_packages() function, exact plural of link_package()
---
 bin/reproducible_common.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 75907a4..393e5aa 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',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list