diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-02-25 11:49:13 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-25 11:49:13 +0100 |
commit | bc129895a87cd949e793fc88a077b07d5090b364 (patch) | |
tree | cb0525baa67e0af6cb5af416aad2f17528b8b5ee | |
parent | dd76bdff788b228bbeed72f26acdf0a0c233a919 (diff) | |
download | jenkins.debian.net-bc129895a87cd949e793fc88a077b07d5090b364.tar.xz |
reproducible: also list experimental for comparison
-rwxr-xr-x | bin/reproducible_html_repo_stats.sh | 7 |
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>" |