summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-12 15:06:39 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-12 15:06:39 +0100
commit942d03825dc515b9b35fcdc1490539495b5b8d67 (patch)
treeed1d17e7f4621109757fe289ca861a8c2a219827 /bin
parente1da83ea626c0b7a05b036fd01ebef1a90ed0284 (diff)
downloadjenkins.debian.net-942d03825dc515b9b35fcdc1490539495b5b8d67.tar.xz
reproducible: no links to the changelog in testing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_repo_stats.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index 16c33d6a..564698c1 100755
--- a/bin/reproducible_html_repo_stats.sh
+++ b/bin/reproducible_html_repo_stats.sh
@@ -62,6 +62,8 @@ for PKG in $SOURCES ; do
# format output
#
CSID=""
+ CTEST=""
+ CEXP=""
for i in $SID ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
CSID="$CSID<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
@@ -73,20 +75,16 @@ for PKG in $SOURCES ; do
CSID="$CSID$i<br />"
fi
done
- SID=$CSID
if [ ! -z "$TESTING" ] ; then
- CTEST=""
for i in $TESTING ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
- CTEST="$CTEST<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
+ CTEST="$CTEST<span class=\"green\">$i</span><br />"
else
CTEST="$CTEST$i<br />"
fi
done
- TESTING=$CTEST
fi
if [ ! -z "$EXPERIMENTAL" ] ; then
- CEXP=""
for i in $EXPERIMENTAL ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
CEXP="$CEXP<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
@@ -94,7 +92,6 @@ for PKG in $SOURCES ; do
CEXP="$CEXP$i<br />"
fi
done
- EXPERIMENTAL=$CEXP
fi
if [ ! -z "$BET" ] ; then
BET="<span class=\"green\">$BET</span>"
@@ -110,9 +107,9 @@ for PKG in $SOURCES ; do
write_page "<tr><td>$PKG</td>"
write_page "<td>$CRUFT</td>"
write_page "<td>$BET</td>"
- write_page "<td>$TESTING</td>"
- write_page "<td>$SID</td>"
- write_page "<td>$EXPERIMENTAL</td>"
+ write_page "<td>$CTEST</td>"
+ write_page "<td>$CSID</td>"
+ write_page "<td>$CEXP</td>"
write_page "</tr>"
done
write_page "</table></p>"