summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_repo_stats.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-25 11:49:13 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-25 11:49:13 +0100
commitbc129895a87cd949e793fc88a077b07d5090b364 (patch)
treecb0525baa67e0af6cb5af416aad2f17528b8b5ee /bin/reproducible_html_repo_stats.sh
parentdd76bdff788b228bbeed72f26acdf0a0c233a919 (diff)
downloadjenkins.debian.net-bc129895a87cd949e793fc88a077b07d5090b364.tar.xz
reproducible: also list experimental for comparison
Diffstat (limited to 'bin/reproducible_html_repo_stats.sh')
-rwxr-xr-xbin/reproducible_html_repo_stats.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index 6ea6786d..810bfffd 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -24,7 +24,7 @@ write_page "<p>These source packages are different from sid in our apt repositor
write_page "deb http://reproducible.alioth.debian.org/debian/ ./"
write_page "deb-src http://reproducible.alioth.debian.org/debian/ ./"
write_page "</pre></p>"
-write_page "<p><table><tr><th>source package</th><th>version in our repo</th><th>version in sid</th><th>old versions in our repo<br />(needed for reproducing old builds)</th></tr>"
+write_page "<p><table><tr><th>source package</th><th>version in our repo</th><th>version in sid</th><th>old versions in our repo<br />(needed for reproducing old builds)</th><th>version in experimental</br /(not relevant for reproducible.debian.net <em>yet</em>)</tr>"
SOURCES=$(grep-dctrl -n -s source -FArchitecture amd64 -o -FArchitecture all $TMPFILE | sort -u)
for PKG in $SOURCES ; do
write_page "<tr><td>$PKG</td>"
@@ -50,6 +50,7 @@ for PKG in $SOURCES ; do
CRUFT="$CRUFT ${VERSION}"
fi
done
+ EXP=$(rmadison -s experimental $PKG | cut -d "|" -f2|xargs echo)
#
# format output
#
@@ -73,12 +74,16 @@ for PKG in $SOURCES ; do
if [ ! -z "$CRUFT" ] ; then
CRUFT="$(echo $CRUFT|sed 's# #<br />#g')"
fi
+ if [ ! -z "$EXP" ] ; then
+ EXP="$(echo $EXP|sed 's# #<br />#g')"
+ fi
#
# write output
#
write_page "<td>$BET</td>"
write_page "<td>$CSID</td>"
write_page "<td>$CRUFT</td>"
+ write_page "<td>$EXP</td>"
write_page "</tr>"
done
write_page "</table></p>"