[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Use popcon.source_package now that it's available in jessie-backports
Holger Levsen
holger at layer-acht.org
Tue Oct 11 16:51:02 UTC 2016
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 110b3e905312d6f94160c30d33b166ba4831d7ac
Author: Ximin Luo <infinity0 at debian.org>
Date: Tue Oct 11 14:56:34 2016 +0200
Use popcon.source_package now that it's available in jessie-backports
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_html_notes.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 63e94ad..5f5bd20 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -399,7 +399,7 @@ def issues_popcon_annotate(issues_list):
try:
n = len(issues_list)
popcon_dict = dict((p, 0) for p in issues_list)
- popcon_dict.update(popcon.package(*issues_list))
+ popcon_dict.update(popcon.source_package(*issues_list))
issues = sorted(popcon_dict.items(), key=lambda p: p[0])
issues_by_popcon = sorted(issues, key=lambda p: p[1], reverse=True)
issues_with_popcon = [(p[0], p[1], i<n/4) for i, p in enumerate(issues_by_popcon)]
@@ -470,9 +470,9 @@ if __name__ == '__main__':
try:
index_issues(issues, OrderedDict([
("Sum of packages' popcon scores",
- lambda l: sum(popcon.package(*l).values())),
+ lambda l: sum(popcon.source_package(*l).values())),
("Sum of square-roots of packages' popcon scores",
- lambda l: int(sum(map(sqrt, popcon.package(*l).values())))),
+ lambda l: int(sum(map(sqrt, popcon.source_package(*l).values())))),
("Number of packages",
len),
]))
--
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