[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: ignore noise from rmadision. probably better use the api directly...

Holger Levsen holger at moszumanska.debian.org
Wed Jun 3 14:33:34 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 937af2771bde673e474f589f7d0a74d8c3307ecb
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Jun 3 16:33:22 2015 +0200

    reproducible: ignore noise from rmadision. probably better use the api directly...
---
 bin/reproducible_html_repository_comparison.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh
index bed2b5f..22aebe4 100755
--- a/bin/reproducible_html_repository_comparison.sh
+++ b/bin/reproducible_html_repository_comparison.sh
@@ -54,14 +54,14 @@ for PKG in $SOURCES ; do
 			BET=${VERSION}
 		fi
 	done
-	SID=$(rmadison -s unstable $PKG | cut -d "|" -f2|xargs echo)
+	SID=$(rmadison -s unstable $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo)
 	for VERSION in ${VERSIONS} ; do
 		if [ "${VERSION}" != "$BET" ] ; then
 			CRUFT="$CRUFT ${VERSION}"
 		fi
 	done
-	TESTING=$(rmadison -s testing $PKG | cut -d "|" -f2|xargs echo)
-	EXPERIMENTAL=$(rmadison -s experimental $PKG | cut -d "|" -f2|xargs echo)
+	TESTING=$(rmadison -s testing $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo)
+	EXPERIMENTAL=$(rmadison -s experimental $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo)
 	#
 	# format output
 	#

-- 
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