summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-28 09:55:38 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-28 09:55:38 +0200
commit2e9d95eb6d884b0fc383a64a255ba95734aed54c (patch)
tree6c9d389ae2d31fe5805dd6b7b8751fe11619d561 /bin/reproducible_stats.sh
parent6df8b96a75600cb715a16393d34d1bbd595c7e5d (diff)
downloadjenkins.debian.net-2e9d95eb6d884b0fc383a64a255ba95734aed54c.tar.xz
reproducible: link all diffp files from stats page
Diffstat (limited to 'bin/reproducible_stats.sh')
-rwxr-xr-xbin/reproducible_stats.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/reproducible_stats.sh b/bin/reproducible_stats.sh
index cf49e125..f1ed81cf 100755
--- a/bin/reproducible_stats.sh
+++ b/bin/reproducible_stats.sh
@@ -32,4 +32,11 @@ echo
echo "$COUNT_UGLY packages failed to build from source: ${UGLY}"
echo "$COUNT_SOURCELESS packages doesn't exist in sid and need investigation: $SOURCELESS"
-echo "<html><body><p>Hello world</p></body></html>" > inde.html
+echo "<html><body><p>Hello World<ul>" > index.html
+for PKG in $BAD ; do
+ VERSION=$(sqlite3 $PACKAGES_DB "SELECT version FROM source_packages WHERE name = \"$PKG\"")
+ echo "<li><a href=https://$JENKINS_URL/userContent/diffp/${PKG}_${VERSION}>diffp output for $PKG</a></li> " >> index.html
+done
+echo "</ul></p></body></html>" >> index.html
+
+