#1305 fedmsg / irc: adjust #fedora-flatpaks bot a bit
Merged a year ago by zlopez. Opened a year ago by kalev.
fedora-infra/ kalev/ansible fedora-flatpaks-irc-bot-tweaks  into  main

@@ -697,12 +697,13 @@ 

              nickname='fm-flatpaks',

              {% endif %}

              channel='fedora-flatpaks',

+             # show PRs and git commits for flatpaks/ namespace, and bodhi FEDORA-FLATPAK updates

              filters=dict(

                  topic=[

-                     '^((?!(pagure)).)*$',

+                     '^((?!(pagure\.pull-request|git\.receive|bodhi\.update)).)*$',

                  ],

                  body=[

-                     '^((?!(flatpaks)).)*$',

+                     '^((?!(flatpaks\/|FEDORA-FLATPAK)).)*$',

                  ],

              ),

          ),

Try to limit the messages to PRs and git commits in flatpaks/
namespace, and bodhi FEDORA-FLATPAK updates.

Signed-off-by: Kalev Lember klember@redhat.com

I don't know how to test this locally, but I hope the regexes work.

Build succeeded.

Pull-Request has been merged by zlopez

a year ago

The change is now deployed, let me know if it's working as it should

@zlopez I suspect it broke things because all the message spam in #fedora-fedmsg stopped right after this got deployed :)

Oh, and just after I typed this it looks like the bot in #fedora-fedmsg came back to life, so just ignore my previous comment.

Looks like it's all working as expected so far. Thanks!

Metadata