Review for PR on ansible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'"],
             ),
         ),
 

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
    The open source story continues to grow: http://opensource.com
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux