From ba2519433d13a264dfe427942b85944df3c58e2d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 16 Mar 2015 14:27:29 +0100 Subject: reproducible: also compare to 'testing' --- bin/reproducible_html_repository_comparison.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index 0312079c..9718be94 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -38,7 +38,8 @@ for PKG in $SOURCES ; do VERSIONS=$(grep-dctrl -n -s version -S $PKG $TMPFILE|sort -u) CRUFT="" BET="" - OBSOLETE=false + OBSOLETE_IN_SID=false + OBSOLETE_IN_TESTING=false # # gather versions of a package # @@ -70,7 +71,7 @@ for PKG in $SOURCES ; do if [ ! -z "$BET" ] ; then CRUFT="$BET $CRUFT" BET="" - OBSOLETE=true + OBSOLETE_IN_SID=true fi else CSID="$CSID$i
" @@ -80,6 +81,7 @@ for PKG in $SOURCES ; do for i in $TESTING ; do if dpkg --compare-versions "$i" gt "$BET" ; then CTEST="$CTEST$i
" + OBSOLETE_IN_TESTING=true else CTEST="$CTEST$i
" fi @@ -115,16 +117,21 @@ for PKG in $SOURCES ; do curl $URL > $TMP2FILE if [ "$(grep "'error'>Invalid branch" $TMP2FILE 2>/dev/null)" ] ; then write_page "$PKG
non-standard branch" - if $OBSOLETE ; then + if $OBSOLETE_IN_SID ; then write_page " (probably ok)" fi else write_page "$PKG" - write_page "
(merged and at least available in unstable)" + write_page "
(merged" + if $OBSOLETE_IN_TESTING ; then + write_page "and available in testing and unstable)" + else + write_page "and available in unstable)" + fi fi else write_page "$PKG" - if $OBSOLETE ; then + if $OBSOLETE_IN_SID ; then write_page "
(unused?)" fi fi -- cgit v1.2.3-70-g09d2