[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: improve binary package display
Holger Levsen
holger at moszumanska.debian.org
Sun Aug 2 13:19:29 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 9785077b7077f5c1e185fdb1311bbdac468e3474
Author: Holger Levsen <holger at layer-acht.org>
Date: Sun Aug 2 15:18:25 2015 +0200
reproducible: improve binary package display
---
bin/reproducible_html_repository_comparison.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index ddec189..e8eef5f 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -105,15 +105,19 @@ for PKG in $SOURCEPKGS ; do
CSID="$CSID$i<br />"
fi
done
+ BINARIES=""
if [ ! -z "$BET" ] ; then
- BINARIES=""
for ARCH in $ARCHS ; do
- i="$ARCH: $(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture all --or -FArchitecture $ARCH $PACKAGES|xargs -r echo)"
- BINARIES="$BINARIES$i<br />"
+ i="$(grep-dctrl -n -s Package -r -FPackage $PKG --and -FVersion $BET --and -FArchitecture all --or -FArchitecture $ARCH $PACKAGES|xargs -r echo)"
+ if [ ! -z $i ] ; then
+ i="$ARCH+all: $i"
+ else
+ i="<span class=\"red\">no binaries for $ARCH</span>"
+ fi
+ BINARIES="$BINARIES<br />$i"
done
BET="<span class=\"green\">$BET</span>"
else
- BINARIES=""
BET=" "
fi
if [ ! -z "$CRUFT" ] ; then
--
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