[Qa-jenkins-scm] [jenkins.debian.net] 01/01: Move some IRC announcements to #debian-reproducible-changes.

Holger Levsen holger at layer-acht.org
Fri Nov 10 14:53:32 UTC 2017


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 cd8cba0432dc493800bfcad9f0ebbc90b897e87e
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Nov 5 09:33:24 2017 +0000

    Move some IRC announcements to #debian-reproducible-changes.
    
    This changes the behaviour such that we always announce on our "noisy"
    #debian-reproducible-changes but keeps the main #debian-reproducible
    channel free for a) when we really want to notify the channel such as when
    we want to preserve artifacts or explicitly ask to be notified and b)
    regular chat.
    
    Otherwise, regular/vanilla reschedling can have the effect of masking other
    conversations.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_remote_scheduler.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index efc04b0..b871d1a 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -357,7 +357,11 @@ def rest(scheduling_args, requester, local, suite, arch):
     log.info(bcolors.GOOD + info_msg + bcolors.ENDC)
     if not (local and requester == "jenkins maintenance job") and len(ids) != 0:
         if not dry_run:
-            irc_msg(info_msg)
+            # Always announce on -changes
+            irc_msg(info_msg, 'debian-reproducible-changes')
+            # Announce some messages on main channel
+            if notify_on_start or artifacts:
+                irc_msg(info_msg)
 
     from reproducible_html_live_status import generate_schedule
     generate_schedule(arch)  # update the HTML page

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