summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-21 18:26:46 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-21 18:26:46 +0100
commit72a8e618729f320c0ff3033cfb0abd5cb27c5a60 (patch)
tree5b5b41a3094b9cf77dd2c66d9a081938a43b0d5f
parent7e1e81a0392787843ea6365a1426bd7dec6133ec (diff)
downloadjenkins.debian.net-72a8e618729f320c0ff3033cfb0abd5cb27c5a60.tar.xz
reproducible: rename force_package_targets() to set_linktarget()
-rw-r--r--TODO1
-rwxr-xr-xbin/reproducible_common.sh2
-rwxr-xr-xbin/reproducible_html_graphs.sh8
3 files changed, 5 insertions, 6 deletions
diff --git a/TODO b/TODO
index 59ec5e27..626027b2 100644
--- a/TODO
+++ b/TODO
@@ -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