diff options
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | bin/reproducible_common.sh | 2 | ||||
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 8 |
3 files changed, 5 insertions, 6 deletions
@@ -148,7 +148,6 @@ properties: * cleanup+rename: ** unschedule_from_db( (defined in build.sh...) ** process_packages() (defined in common.sh...) -** force_package_targets() -> set_linktarget * merge reproducible_setup_schroot in schroot-create or delete the latter? * include no js header in the css diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 120ea9e2..1c1f331e 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -283,7 +283,7 @@ set_package_class() { fi } -force_package_targets() { +set_linktarget() { for PKG in $@ ; do if [ -f $RB_PATH/$PKG.html ] ; then set_package_class diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 1ab99d16..5bd331d8 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -312,20 +312,20 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do set_icon reproducible write_icon write_page "$COUNT_META_GOOD packages ($PERCENT_META_GOOD%) successfully built reproducibly:" - force_package_targets $META_GOOD + set_linktarget $META_GOOD link_packages $META_GOOD write_page "<br />" set_icon unreproducible write_icon write_page "$COUNT_META_BAD ($PERCENT_META_BAD%) packages failed to built reproducibly:" - force_package_targets $META_BAD + set_linktarget $META_BAD link_packages $META_BAD write_page "<br />" if [ $COUNT_META_UGLY -gt 0 ] ; then set_icon FTBFS write_icon write_page "$COUNT_META_UGLY ($PERCENT_META_UGLY%) packages failed to build from source:" - force_package_targets $META_UGLY + set_linktarget $META_UGLY link_packages $META_UGLY write_page "<br />" fi @@ -337,7 +337,7 @@ for i in $(seq 1 ${#META_PKGSET[@]}) ; do set_icon 404 write_icon write_page "$COUNT_META_REST ($PERCENT_META_REST%) packages are either blacklisted, not for us or cannot be downloaded:" - force_package_targets $META_REST + set_linktarget $META_REST link_packages $META_REST write_page "<br />" fi |