From 2e51c4f77bede16bff1e81cf5abe24b851fc5205 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Thu, 13 Jul 2017 15:02:31 +0000 Subject: [PATCH] fedmsg: Add Pagure notices to #fedora-workstation --- roles/fedmsg/irc/templates/ircbot.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index 3e98fc6b3d..148ee76bfd 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -503,6 +503,29 @@ config = dict( ], ), ), + + # For #fedora-workstation + dict( + network='chat.freenode.net', + port=6667, + make_pretty=True, + make_terse=True, + + {% if env == 'staging' %} + nickname='fm-stg-workstation', + {% else %} + nickname='fm-workstation', + {% endif %} + channel='#fedora-workstation', + filters=dict( + topic=[ + '^((?!(pagure)).)*$', + ], + body=[ + "^((?!(fedora-workstation)).)*$", + ], + ), + ), ], ### Possible colors are ###