[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible: no links to the changelog in testing

Holger Levsen holger at moszumanska.debian.org
Thu Mar 12 14:08:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 942d03825dc515b9b35fcdc1490539495b5b8d67
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Mar 12 15:06:39 2015 +0100

    reproducible: no links to the changelog in testing
---
 bin/reproducible_html_repo_stats.sh | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh
index 16c33d6..564698c 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>"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list