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
<https://pagure.io/fedora-commops/fedora-happiness-packets/issue/136>.


Regards,
Richa Gautam
From 30bb9197fa12650117d065b72f41b65079bea36d Mon Sep 17 00:00:00 2001
From: Richa <[email protected]>
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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to