[Qa-jenkins-scm] [jenkins.debian.net] 02/04: reproducible: maintenance: pretty print removed packages too

Holger Levsen holger at moszumanska.debian.org
Sat Apr 25 11:09:33 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 b50c0ee01b833dcd182d09048da27e52359b1d41
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sat Apr 25 06:31:33 2015 +0200

    reproducible: maintenance: pretty print removed packages too
---
 bin/reproducible_maintenance.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index ab5206f..909ead5 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -192,7 +192,7 @@ if grep -q '|' $PACKAGES ; then
 	echo
 	echo "Warning: found files relative to old packages, no more in the archive:"
 	echo "Removing these removed packages from database:"
-	cat $PACKAGES
+	sqlite3 -init $INIT -header -column ${PACKAGES_DB} "$QUERY" 2> /dev/null || echo "Warning: SQL query '$QUERY' failed."
 	echo
 	for pkg in $(cat $PACKAGES) ; do
 		PKGNAME=$(echo "$pkg" | cut -d '|' -f 1)

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