On 04/07/2017 03:28 PM, Paul W. Frields wrote: > 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? > > * * * > diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py > index 2b2e0c3..0dcb0e1 100644 > --- a/roles/fedmsg/irc/templates/ircbot.py > +++ b/roles/fedmsg/irc/templates/ircbot.py > @@ -446,12 +446,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'"], > ), > ), Applied. Thanks. kevin
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx