From 955e4ceb12b155d3dc840f25197a11b663d09ecc Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 13 May 2015 19:41:29 +0200 Subject: 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. --- bin/reproducible_blacklist.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_blacklist.sh') 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 -- cgit v1.2.3-54-g00ecf