v2: filter by pagure's namespace Signed-off-by: Igor Gnatenko <ignatenkobrain@xxxxxxxxxxxxxxxxx> --- 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 e9b64b8c1..3c443ffdc 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -454,6 +454,29 @@ config = dict( body=['^((?!(magazine|Magazine)).)*$'], ), ), + + # And #fedora-rust + dict( + network='chat.freenode.net', + port=6667, + make_pretty=True, + make_terse=True, + + {% if env == 'staging' %} + nickname='fm-stg-rust', + {% else %} + nickname='fm-rust', + {% endif %} + channel='fedora-rust', + filters=dict( + topic=[ + '^((?!(pagure)).)*$', + ], + body=[ + "^((?!((u)?'namespace': (u)?'fedora-rust')).)*$", + ], + ), + ), ], ### Possible colors are ### -- 2.11.0 _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx