summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-25 13:00:17 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-25 13:00:17 +0100
commit9e61343a5fd050162e81f4662b559f408a1a2032 (patch)
treea8459d60c7eb741c3deb2a3f5c8563daf5878ad8 /bin
parentaabc6c81f1f58d3220bf37bf4a472db2b697a840 (diff)
downloadjenkins.debian.net-9e61343a5fd050162e81f4662b559f408a1a2032.tar.xz
reproducible: add links to changelog in experimental
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_repo_stats.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index da0583ca..e8077f08 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -28,7 +28,6 @@ write_page "<p><table><tr><th>source package</th><th>version in our repo</th><th
curl http://reproducible.alioth.debian.org/debian/Sources > $TMPFILE
SOURCES=$(grep-dctrl -n -s Package -r -FPackage . $TMPFILE | sort -u)
for PKG in $SOURCES ; do
- write_page "<tr><td>$PKG</td>"
VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u)
CRUFT=""
WARN=false
@@ -76,15 +75,24 @@ for PKG in $SOURCES ; do
CRUFT="$(echo $CRUFT|sed 's# #<br />#g')"
fi
if [ ! -z "$EXP" ] ; then
- EXP="$(echo $EXP|sed 's# #<br />#g')"
+ CEXP=""
+ if [ "${PKG:0:3}" == "lib" ] ; then
+ PREFIX=${PKG:0:4}
+ else
+ PREFIX=${PKG:0:1}
+ fi
+ for i in $EXP ; do
+ CEXP="$CEXP<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
+ done
fi
#
# write output
#
+ write_page "<tr><td>$PKG</td>"
write_page "<td>$BET</td>"
write_page "<td>$CSID</td>"
write_page "<td>$CRUFT</td>"
- write_page "<td>$EXP</td>"
+ write_page "<td>$CEXP</td>"
write_page "</tr>"
done
write_page "</table></p>"