On Wed, Jul 29, 2015 at 12:14:20PM +0200, Patrick Uiterwijk wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
Could I get +1s for the following change that adds fedmsg ircbot for the G11N team?
commit a8ddd164691692775e89f6e10802aec65e6d0075
Author: Patrick Uiterwijk <puiterwijk(a)redhat.com>
Date: Wed Jul 29 10:13:27 2015 +0000
Setup G11N with fedmsg irc
diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
index 8b76651..f26ec01 100644
- --- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -174,6 +174,25 @@ config = dict(
),
),
+ # And for #fedora-g11n
+ dict(
+ network='chat.freenode.net',
+ port=6667,
+ make_pretty=True,
+ make_terse=True,
+
+ {% if env == 'staging' %}
+ nickname='fedmsg-g11n-stg',
+ {% else %}
+ nickname='fedmsg-g11n',
+ {% endif %}
+ channel='#fedora-g11n',
+ # If the word G11N appears in any message, forward it.
+ filters=dict(
+ body=['^((?!G11N).)*$'],
+ ),
+ ),
+
# Hook up the design-team with badges messages
dict(
network='chat.freenode.net',
Looks good to me, +1
Pierre