From e7f58c5990e46f8aa6814870de6e6abd4d71be45 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 20 Mar 2015 23:40:34 +0100 Subject: 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(-) (limited to 'bin') 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 "

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 "

" -write_page "

" +write_page "

source packageold versions in our repo
(needed for reproducing old builds)
version in our repoversion in 'testing'version in 'unstable'version in 'experimental'
" 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 "" + write_page " " + write_page " " + 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 " " write_page " " write_page " " write_page " " -- cgit v1.2.3-70-g09d2
packagegit repoPTS linkusertagged bugold versions in our repo
(needed for reproducing old builds)
version in our repoversion in 'testing'version in 'unstable'version in 'experimental'
" + write_page "
src:$PKG
" 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
(no git repository)" + write_page "$URL
(no git repository found)" 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 "$PKG
non-standard branch" + write_page "$PKG.git
non-standard branch" if $OBSOLETE_IN_SID ; then write_page " (probably ok)" fi else - write_page "$PKG" + write_page "$PKG.git" write_page "
(merged" 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 "$PKG" + write_page "$PKG.git" if $OBSOLETE_IN_SID ; then write_page "
(unused?)" fi fi write_page "
PTSbugs$CRUFT$BET$CTEST