summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-20 23:40:34 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-21 00:02:52 +0100
commite7f58c5990e46f8aa6814870de6e6abd4d71be45 (patch)
treed42eeff7099778d76266fed547fe087ac9e11616 /bin
parent9d3e317aad73843d822e12c60d498e6a07a61b10 (diff)
downloadjenkins.debian.net-e7f58c5990e46f8aa6814870de6e6abd4d71be45.tar.xz
include links to the PTS and the BTS
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh3
-rwxr-xr-xbin/reproducible_html_graphs.sh1
-rwxr-xr-xbin/reproducible_html_repository_comparison.sh19
3 files changed, 16 insertions, 7 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index a339eddc..30c4dcb0 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 8d5fabc7..c2349a03 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 7c095e6e..5e9ca7f3 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>"