summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-05-13 19:41:29 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-15 12:48:52 +0200
commit955e4ceb12b155d3dc840f25197a11b663d09ecc (patch)
tree57f885c8469ede350f678dd6d72983278fa9a115 /bin/reproducible_html_notes.py
parent26b1d8a3cf6655232d03bf4c9688ea1b6009a717 (diff)
downloadjenkins.debian.net-955e4ceb12b155d3dc840f25197a11b663d09ecc.tar.xz
reproducible: fix all users of gen_packages_html() after the refactoring of it
notable changes: * gen_packages_html() in common.sh got renamed to the singular version gen_package_html() and now accept only one argument (a package name) + thus reproducible_blacklist.sh got fixed to pass one package at time + this greatly semplify the code, by removing *a lot* of crappy code * _html_all_packages.py really becomed a 2-liner, with part of its login being now either in _html_packages.py or removed.
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index b9c9bcea..8249ed87 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -322,7 +322,7 @@ def purge_old_notes(notes):
except IndexError: # the package is not tested. this can happen if
pass # a package got removed from the archive
if to_rebuild:
- gen_packages_html(to_rebuild, no_clean=True)
+ gen_packages_html([Package(x) for x in to_rebuild])
def purge_old_issues(issues):
@@ -431,7 +431,7 @@ if __name__ == '__main__':
index_issues(issues)
purge_old_notes(notes)
purge_old_issues(issues)
- gen_packages_html(notes) # regenerate all rb-pkg/ pages
+ gen_packages_html([Package(x) for x in notes])
for suite in SUITES:
for arch in ARCHS:
build_page('notes', suite, arch)