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_blacklist.sh | |
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_blacklist.sh')
-rwxr-xr-x | bin/reproducible_blacklist.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh index f541deee..cbe153dc 100755 --- a/bin/reproducible_blacklist.sh +++ b/bin/reproducible_blacklist.sh @@ -81,9 +81,11 @@ else revert_blacklisted_packages fi -# notify -gen_packages_html $SUITE $PACKAGES +for PACKAGE in "$PACKAGES" ; do + gen_package_html $PACKAGE +done echo +# notify echo "$MESSAGE" kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" echo |