From 7527b54c3649fadb0fdb4f36aace0bd2a16b80c9 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 20 Dec 2015 17:02:43 +0100 Subject: Revert "reproducible: change treshold for 'completely tested' to 100%" This reverts commit 01e06d4939487f2dab117593d0cd0c8cc76be3f6. --- bin/reproducible_html_archlinux.sh | 2 +- bin/reproducible_html_dashboard.sh | 4 ++-- bin/reproducible_html_rpms.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 4c8711aa..af2af85f 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -154,7 +154,7 @@ for REPOSITORY in $ARCHLINUX_REPOS ; do done # prepare stats per repository PERCENT_TOTAL=$(echo "scale=1 ; ($TESTED*100/$TOTAL)" | bc) - if [ $(echo $PERCENT_TOTAL/1|bc) -lt 100 ] ; then + if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then NR_TESTED="$TESTED ($PERCENT_TOTAL% of $TOTAL tested)" else NR_TESTED=$TESTED diff --git a/bin/reproducible_html_dashboard.sh b/bin/reproducible_html_dashboard.sh index f4f0a8bc..5d4282e9 100755 --- a/bin/reproducible_html_dashboard.sh +++ b/bin/reproducible_html_dashboard.sh @@ -344,7 +344,7 @@ write_suite_table() { fi gather_suite_arch_stats write_page "$SUITE/$ARCH$AMOUNT" - if [ $(echo $PERCENT_TOTAL/1|bc) -lt 100 ] ; then + if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then write_page "($PERCENT_TOTAL% tested)" fi write_page "$COUNT_GOOD / $PERCENT_GOOD%$COUNT_BAD / $PERCENT_BAD%$COUNT_UGLY / $PERCENT_UGLY%$COUNT_OTHER / $PERCENT_OTHER%" @@ -363,7 +363,7 @@ create_suite_arch_stats_page() { MAINLABEL[2]="Age in days of oldest reproducible build result in '$SUITE' for '$ARCH'" echo "$(date) - starting to write $PAGE page." write_page_header $VIEW "Overview of reproducible builds for packages in $SUITE for $ARCH" - if [ $(echo $PERCENT_TOTAL/1|bc) -lt 100 ] ; then + if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then write_page "

$COUNT_TOTAL packages have been attempted to be build so far, that's $PERCENT_TOTAL% of $AMOUNT source packages in Debian $SUITE/$ARCH.

" fi write_page "

" diff --git a/bin/reproducible_html_rpms.sh b/bin/reproducible_html_rpms.sh index d14e0720..db6fbcbe 100755 --- a/bin/reproducible_html_rpms.sh +++ b/bin/reproducible_html_rpms.sh @@ -92,7 +92,7 @@ for PKG in $(find $RPMBASE/$RELEASE/$ARCH/* -maxdepth 1 -type d -exec basename { done # prepare stats per repository PERCENT_TOTAL=$(echo "scale=1 ; ($TESTED*100/$TOTAL)" | bc) -if [ $(echo $PERCENT_TOTAL/1|bc) -lt 100 ] ; then +if [ $(echo $PERCENT_TOTAL/1|bc) -lt 99 ] ; then NR_TESTED="$TESTED ($PERCENT_TOTAL% of $TOTAL tested)" else NR_TESTED=$TESTED -- cgit v1.2.3-54-g00ecf