[Qa-jenkins-scm] [jenkins.debian.net] 02/03: include links to the PTS and the BTS

Holger Levsen holger at moszumanska.debian.org
Fri Mar 20 23:07:00 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 e7f58c5990e46f8aa6814870de6e6abd4d71be45
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Mar 20 23:40:34 2015 +0100

    include links to the PTS and the BTS
---
 bin/reproducible_common.sh                     |  3 +++
 bin/reproducible_html_graphs.sh                |  1 -
 bin/reproducible_html_repository_comparison.sh | 19 +++++++++++++------
 3 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index a339edd..30c4dcb 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -44,6 +44,9 @@ SUITES="testing unstable experimental"
 # tested arches
 ARCHES="amd64"
 
+# existing usertags
+USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo cpu signatures environment umask"
+
 # we only need them for html creation but we cannot declare them in a function
 declare -A SPOKENTARGET
 declare -A LINKTARGET
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 8d5fabc..c2349a0 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -26,7 +26,6 @@ TABLE[4]=stats_notes
 TABLE[5]=stats_issues
 TABLE[6]=stats_meta_pkg_state
 TABLE[7]=stats_bugs_state
-USERTAGS="toolchain infrastructure timestamps fileordering buildpath username hostname uname randomness buildinfo cpu signatures environment umask"
 FIELDS[0]="datum, reproducible, unreproducible, FTBFS, other, untested"
 FIELDS[1]="datum"
 for i in reproducible unreproducible FTBFS other ; do
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 7c095e6..5e9ca7f 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -24,7 +24,7 @@ write_page "<p>These source packages are different from unstable in our apt repo
 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>old versions in our repo<br />(needed for reproducing old builds)</th><th>version in our repo</th><th>version in 'testing'</th><th>version in 'unstable'</th><th>version in 'experimental'</th></tr>"
+write_page "<p><table><tr><th>package</th><th>git repo</th><th>PTS link</th><th>usertagged bug</th><th>old versions in our repo<br />(needed for reproducing old builds)</th><th>version in our repo</th><th>version in 'testing'</th><th>version in 'unstable'</th><th>version in 'experimental'</th></tr>"
 
 curl http://reproducible.alioth.debian.org/debian/Sources > $TMPFILE
 SOURCES=$(grep-dctrl -n -s Package -r -FPackage . $TMPFILE | sort -u)
@@ -107,21 +107,22 @@ for PKG in $SOURCES ; do
 	#
 	# write output
 	#
-	write_page "<tr><td>"
+	write_page "<tr><td><pre>src:$PKG</pre></td>"
+	write_page " <td>"
 	URL="http://anonscm.debian.org/cgit/reproducible/$PKG.git/?h=pu/reproducible_builds"
 	curl $URL > $TMP2FILE
 	if [ "$(grep "'error'>No repositories found" $TMP2FILE 2>/dev/null)" ] ; then
-		write_page "$PKG<br /><span class=\"red\">(no git repository)</span>"
+		write_page "$URL<br /><span class=\"red\">(no git repository found)</span>"
 	elif [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then
 		URL="http://anonscm.debian.org/cgit/reproducible/$PKG.git/?h=merged/reproducible_builds"
 		curl $URL > $TMP2FILE
 		if [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then
-			write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a><br /><span class=\"purple\">non-standard branch</span>"
+			write_page "<a href=\"$URL\">$PKG.git</a><br /><span class=\"purple\">non-standard branch</span>"
 			if $OBSOLETE_IN_SID ; then
 				write_page " (probably ok)"
 			fi
 		else
-			write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
+			write_page "<a href=\"$URL\">$PKG.git</a>"
 			write_page "<br />(<span class=\"green\">merged</span>"
 			if $OBSOLETE_IN_TESTING ; then
 				write_page "and available in testing and unstable)"
@@ -130,12 +131,18 @@ for PKG in $SOURCES ; do
 			fi
 		fi
 	else
-		write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
+		write_page "<a href=\"$URL\">$PKG.git</a>"
 		if $OBSOLETE_IN_SID ; then
 			write_page "<br />(unused?)"
 		fi
 	fi
 	write_page " </td>"
+	write_page " <td><a href=\"https://tracker.debian.org/pkg/$PKG\">PTS</a></td>"
+	URL="https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=$PKG&users=reproducible-builds@lists.alioth.debian.org&archive=both"
+	for TAG in $USERTAGS ; do
+		URL="$URL&tag=$TAG"
+	 done
+	write_page " <td><a href=\"$URL\">bugs</a></td>"
 	write_page " <td>$CRUFT</td>"
 	write_page " <td>$BET</td>"
 	write_page " <td>$CTEST</td>"

-- 
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