[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: blacklist: also remove package from schedule when blacklisting

Holger Levsen holger at moszumanska.debian.org
Fri Nov 20 08:46:30 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 b785c5f9cd76b739f404b6737c9c9f5339a54754
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Nov 19 22:28:52 2015 +0000

    reproducible: blacklist: also remove package from schedule when blacklisting
---
 bin/reproducible_blacklist.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh
index 9690260..6ab013b 100755
--- a/bin/reproducible_blacklist.sh
+++ b/bin/reproducible_blacklist.sh
@@ -18,6 +18,7 @@ blacklist_packages() {
 		PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
 		cleanup_pkg_files
 		sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');"
+		sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule where package_id='$PKGID'"
 	done
 }
 

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