Change freeze for commops-watch IRC fedmsg filter

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

 



Hi,

This patch is made because the current commops-watch IRC fedmsg filter posts almost everything for the repository and makes it a bit spammy.
So modifications are done in the filter so as to listen to new issues and PRs only.
The concerned ticket can be found here.


Regards,
Richa Gautam

From 30bb9197fa12650117d065b72f41b65079bea36d Mon Sep 17 00:00:00 2001
From: Richa <richagautam208@xxxxxxxxx>
Date: Wed, 6 Mar 2019 10:33:29 +0530
Subject: [PATCH] Changed commops-watch IRC fedmsg filter to watch only new
 issues and PRs

---
 roles/fedmsg/irc/templates/ircbot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
index 79a7526..8502803 100644
--- a/roles/fedmsg/irc/templates/ircbot.py
+++ b/roles/fedmsg/irc/templates/ircbot.py
@@ -135,7 +135,7 @@ config = dict(
             channel='fedora-commops',
             filters=dict(
                 topic=[
-                    '^((?!(pagure)).)*$',
+                    '^((?!(pagure.pull-request.new|pagure.issue.new)).)*$',
                 ],
                 body=['^((?!fedora-commops).)*$'],
             ),
-- 
2.7.4

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx

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

  Powered by Linux