diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-03-12 15:06:39 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-03-12 15:06:39 +0100 |
commit | 942d03825dc515b9b35fcdc1490539495b5b8d67 (patch) | |
tree | ed1d17e7f4621109757fe289ca861a8c2a219827 | |
parent | e1da83ea626c0b7a05b036fd01ebef1a90ed0284 (diff) | |
download | jenkins.debian.net-942d03825dc515b9b35fcdc1490539495b5b8d67.tar.xz |
reproducible: no links to the changelog in testing
-rwxr-xr-x | bin/reproducible_html_repo_stats.sh | 15 |
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>" |