summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repository_comparison.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-02 17:59:35 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-02 17:59:35 +0200
commit4c3a59da9cb0f84ca5c44dba7671e3c7537d1540 (patch)
tree31bd84303a272ae597362d8753299bd53cf964f8 /bin/reproducible_html_repository_comparison.sh
parent009cdd3a58de031bc01247994f0feb8352290906 (diff)
downloadjenkins.debian.net-4c3a59da9cb0f84ca5c44dba7671e3c7537d1540.tar.xz
reproducible: point out how many 'binNMU's are missing
Diffstat (limited to 'bin/reproducible_html_repository_comparison.sh')
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index e448a713..ab4abd21 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -20,6 +20,7 @@ TMPFILE=$(mktemp --tmpdir=$TEMPDIR repo-comp-XXXXXXXXX)
MODIFIED_IN_SID=0
MODIFIED_IN_EXP=0
+BINNMUS_NEEDED=0
echo "$(date) - starting to write $PAGE page."
write_page_header $VIEW "Comparison between the reproducible builds apt repository and regular Debian suites"
@@ -121,6 +122,7 @@ for PKG in $SOURCEPKGS ; do
i="$ARCH: $i"
elif [ -z "$i" ] && [ "$ARCH" != "all" ] && ! $ONLYALL ; then
i="<span class=\"red\">no binaries for $ARCH</span>"
+ let "BINNMUS_NEEDED+=1"
fi
CBINARIES="$CBINARIES<br />$i"
done
@@ -206,6 +208,7 @@ write_page_footer
publish_page
echo "$MODIFIED_IN_SID" > /srv/reproducible-results/modified_in_sid.txt
echo "$MODIFIED_IN_EXP" > /srv/reproducible-results/modified_in_exp.txt
+echo "$BINNMUS_NEEDED" > /srv/reproducible-results/binnmus_needed.txt
# cleanup
rm $SOURCES $PACKAGES $TMPFILE