Greetings. 

For 
https://pagure.io/fedora-infrastructure/issue/5506
and
https://pagure.io/fedora-infrastructure/issue/5507

we need to adjust the fedmsg irc bot config. 

+1s?

kevin
--
From 5f7ebfbbbcf0109e2d41853439d32767f525d0d5 Mon Sep 17 00:00:00 2001
From: Kevin Fenzi <[email protected]>
Date: Fri, 30 Sep 2016 20:05:44 +0000
Subject: [PATCH] add diversity and magazine fedmsg bots. issues 5506, 5507

---
 roles/fedmsg/irc/templates/ircbot.py | 38 ++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/roles/fedmsg/irc/templates/ircbot.py 
b/roles/fedmsg/irc/templates/ircbot.py
index 4723938..34227fa 100644
--- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -386,6 +386,44 @@ config = dict(
                 body=['^((?!(modularity|Modularity)).)*$'],
             ),
         ),
+
+        # And #fedora-diversity
+        dict(
+            network='chat.freenode.net',
+            port=6667,
+            make_pretty=True,
+            make_terse=True,
+
+            {% if env == 'staging' %}
+            nickname='fedmsg-diversity-stg',
+            {% else %}
+            nickname='fedmsg-diversity-bot',
+            {% endif %}
+            channel='#fedora-diversity',
+            # If the word diversity appears in any message, forward it.
+            filters=dict(
+                body=['^((?!(diversity|Diversity)).)*$'],
+            ),
+        ),
+
+        # And #fedora-magazine
+        dict(
+            network='chat.freenode.net',
+            port=6667,
+            make_pretty=True,
+            make_terse=True,
+
+            {% if env == 'staging' %}
+            nickname='fedmsg-magazine-stg',
+            {% else %}
+            nickname='fedmsg-magazine-bot',
+            {% endif %}
+            channel='#fedora-magazine',
+            # If the word modularity appears in any message, forward it.
+            filters=dict(
+                body=['^((?!(magazine|Magazine)).)*$'],
+            ),
+        ),
     ],
 
     ### Possible colors are ###
-- 
1.8.3.1

Attachment: pgpjW1svvQD6w.pgp
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to