From 494d848f730dfddd7b01862312f9aa12f48792b5 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 23 Feb 2015 18:00:12 +0100 Subject: reproducible: also list version(s) in sid --- bin/reproducible_html_repo_stats.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'bin/reproducible_html_repo_stats.sh') diff --git a/bin/reproducible_html_repo_stats.sh b/bin/reproducible_html_repo_stats.sh index f426e27e..c321f696 100755 --- a/bin/reproducible_html_repo_stats.sh +++ b/bin/reproducible_html_repo_stats.sh @@ -24,14 +24,14 @@ sudo pbuilder --execute --basetgz /var/cache/pbuilder/base-reproducible.tgz $TMP grep -v ^I:\ $TMPFILE > $TMPSCRIPT mv $TMPSCRIPT $TMPFILE -write_page "

The source packages are different from sid in our toolchain. They are available in an apt repository on alioth which is accessable with these sources.lists entries:

"
+write_page "

These source packages are different from sid in our toolchain. They are available in an apt repository on alioth which is accessable with these sources.lists entries:

"
 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 packageversion(s)
" SOURCES=$(grep-dctrl -n -s source -FArchitecture amd64 -o -FArchitecture all $TMPFILE | sort -u) for PKG in $SOURCES ; do - write_page "" VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u) CRUFT="" WARN=false @@ -44,7 +44,9 @@ for PKG in $SOURCES ; do BET=${VERSION} fi done - write_page "$BET" + write_page "" + SID=$(apt-cache showsrc $PKG | grep "^Version: "|cut -d " " -f2|xargs echo|sed 's# #
#g') + write_page "" for VERSION in ${VERSIONS} ; do if [ "${VERSION}" != "$BET" ] ; then WARN=true @@ -53,9 +55,11 @@ for PKG in $SOURCES ; do done if $WARN ; then echo "Warning: more than one version of $PKG available in our repo, please clean up." - write_page "
cruft: $CRUFT" + write_page "" + else + write_page "" fi - write_page "" + write_page "" done write_page "
source packageversion in our repoversion in sidcruft in our repo (if any)
$PKG" + write_page "
$PKG$BET$SID$(echo $CRUFT|sed 's# #
#g')
 

" rm $TMPFILE -- cgit v1.2.3-54-g00ecf