[PATCH] improve fedmsg rules for g11n

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

 



Hi,
  The pagure ticket update fedmsg notifications were not coming for i18n and g11n projects. I think attached patch will fix this. Please review this patch and if it looks good, merge it, not urgent maybe after freeze period gets completed.

Regards,
Parag Nemade.
From 9e1a3994d06d29f39bb1ee360adfd78e801b3c95 Mon Sep 17 00:00:00 2001
From: Parag A Nemade <pnemade@xxxxxxxxxxxxxxxxx>
Date: Thu, 6 Oct 2016 14:20:24 +0530
Subject: [PATCH] Improve bot rules for #fedora-g11n

Signed-off-by: Parag A Nemade <pnemade@xxxxxxxxxxxxxxxxx>
---
 roles/fedmsg/irc/templates/ircbot.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
index 3cfc5a0..83f0fce 100644
--- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -253,9 +253,9 @@ config = dict(
             nickname='fedmsg-g11n',
             {% endif %}
             channel='#fedora-g11n',
-            # If the word G11N appears in any message, forward it.
+            # If the word i18n/g11n appears in any message, forward it.
             filters=dict(
-                body=['^((?!G11N).)*$'],
+                body=['^((?!(i18n|g11n)).)*$'],
             ),
         ),
 
-- 
2.9.3

_______________________________________________
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