diff options
author | Paul W. Frields <stickster@gmail.com> | 2017-04-07 17:28:25 -0400 |
---|---|---|
committer | Kevin Fenzi <kevin@scrye.com> | 2017-04-10 20:02:53 +0000 |
commit | 989c36132f671503a3abced0e089a8ec683c9949 (patch) | |
tree | 26662644c1c9981b9662fe468d8a2d0c5e43016d | |
parent | b1d69ac2bc5ac96f59b679db71ef459574009f2c (diff) | |
download | ansible-989c36132f671503a3abced0e089a8ec683c9949.tar.gz ansible-989c36132f671503a3abced0e089a8ec683c9949.tar.xz ansible-989c36132f671503a3abced0e089a8ec683c9949.zip |
Review for PR on ansible
I'm trying to add to the filter on the ircbot for Magazine so it
doesn't output anything that concerns Council in Pagure. Is this
right, or even sane?
* * *
-rw-r--r-- | roles/fedmsg/irc/templates/ircbot.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index e55507c21..00d74e6fc 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -447,12 +447,13 @@ config = dict( nickname='fm-magazine', {% endif %} channel='#fedora-magazine', - # If the word modularity appears in any message, forward it. + # If the word magazine appears in any message, forward it. filters=dict( topic=[ '^((?!(pagure|planet|badges|fas.group|mailman|meetbot\.meeting)).)*$', ], - body=['^((?!(magazine|Magazine)).)*$'], + body=['^((?!(magazine|Magazine)).)*$', + "u'namespace': u'Fedora-Council'"], ), ), |