[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: also compare to 'testing'
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 16 13:50:52 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 ba2519433d13a264dfe427942b85944df3c58e2d
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 16 14:27:29 2015 +0100
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 0312079..9718be9 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<br />"
@@ -80,6 +81,7 @@ for PKG in $SOURCES ; do
for i in $TESTING ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
CTEST="$CTEST<span class=\"green\">$i</span><br />"
+ OBSOLETE_IN_TESTING=true
else
CTEST="$CTEST$i<br />"
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 "<a href=\"$URL\" target=\"_blank\">$PKG</a><br /><span class=\"purple\">non-standard branch</span>"
- if $OBSOLETE ; then
+ if $OBSOLETE_IN_SID ; then
write_page " (probably ok)"
fi
else
write_page "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
- write_page "<br />(<span class=\"green\">merged</span> and at least available in unstable)"
+ write_page "<br />(<span class=\"green\">merged</span>"
+ 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 "<a href=\"$URL\" target=\"_blank\">$PKG</a>"
- if $OBSOLETE ; then
+ if $OBSOLETE_IN_SID ; then
write_page "<br />(unused?)"
fi
fi
--
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