From cd8cba0432dc493800bfcad9f0ebbc90b897e87e Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Sun, 5 Nov 2017 09:33:24 +0000 Subject: 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 Signed-off-by: Holger Levsen --- 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 efc04b05..b871d1a9 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 -- cgit v1.2.3-70-g09d2