[Qa-jenkins-scm] [jenkins.debian.net] 02/03: reproducible: fix version comparison
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 0265f4163c9338afb1e054ff0fcafc78c968632b
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Mar 16 14:40:32 2015 +0100
reproducible: fix version comparison
---
bin/reproducible_html_repository_comparison.sh | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index 9718be9..1ea9114 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -65,18 +65,6 @@ for PKG in $SOURCES ; do
CSID=""
CTEST=""
CEXP=""
- for i in $SID ; do
- if dpkg --compare-versions "$i" gt "$BET" ; then
- CSID="$CSID<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
- if [ ! -z "$BET" ] ; then
- CRUFT="$BET $CRUFT"
- BET=""
- OBSOLETE_IN_SID=true
- fi
- else
- CSID="$CSID$i<br />"
- fi
- done
if [ ! -z "$TESTING" ] ; then
for i in $TESTING ; do
if dpkg --compare-versions "$i" gt "$BET" ; then
@@ -96,6 +84,18 @@ for PKG in $SOURCES ; do
fi
done
fi
+ for i in $SID ; do
+ if dpkg --compare-versions "$i" gt "$BET" ; then
+ CSID="$CSID<a href=\"https://tracker.debian.org/media/packages/$PREFIX/$PKG/changelog-$i\">$i</a><br />"
+ if [ ! -z "$BET" ] ; then
+ CRUFT="$BET $CRUFT"
+ BET=""
+ OBSOLETE_IN_SID=true
+ fi
+ else
+ CSID="$CSID$i<br />"
+ fi
+ done
if [ ! -z "$BET" ] ; then
BET="<span class=\"green\">$BET</span>"
else
--
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