[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: setup_notify: output the total changes packages at the end

Holger Levsen holger at moszumanska.debian.org
Thu Jun 4 12:34:03 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 ebf03db5f097be3375420dbed6cc807c2651fb04
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Thu Jun 4 14:32:36 2015 +0200

    reproducible: setup_notify: output the total changes packages at the end
---
 bin/reproducible_setup_notify.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_setup_notify.py b/bin/reproducible_setup_notify.py
index af00a65..02960ab 100755
--- a/bin/reproducible_setup_notify.py
+++ b/bin/reproducible_setup_notify.py
@@ -67,7 +67,6 @@ def process_pkg(package, deactivate):
         query = 'SELECT * FROM sources WHERE name="{}"'.format(package)
         log.debug(query_db(query))
 
-
 if maintainer:
     global conn_udd
     if not conn_udd:
@@ -94,3 +93,8 @@ for package in packages:
 
 gen_packages_html(packages, no_clean=True)
 build_page('notify')
+
+if deactivate:
+    _good('Notifications disabled for ' + str(len(packages)) + ' package(s)')
+else:
+    _good('Notifications enabled for ' + str(len(packages)) + ' package(s)')

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