diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-05-13 19:41:29 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-15 12:48:52 +0200 |
commit | 955e4ceb12b155d3dc840f25197a11b663d09ecc (patch) | |
tree | 57f885c8469ede350f678dd6d72983278fa9a115 /bin/reproducible_scheduler.py | |
parent | 26b1d8a3cf6655232d03bf4c9688ea1b6009a717 (diff) | |
download | jenkins.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_scheduler.py')
-rwxr-xr-x | bin/reproducible_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 4af23092..9a317eaa 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -149,7 +149,7 @@ def update_sources_db(suite, arch, sources): sys.exit(1) if pkgs_to_add: log.info('Building pages for the new packages') - gen_packages_html(pkgs_to_add, no_clean=True) + gen_packages_html([Package(x) for x in pkgs_to_add], no_clean=True) def print_schedule_result(suite, criteria, packages): |