@dgregor asked if #koji could have a bot that echoes some information from pagure.
#koji
Something like... this? I can't apply it now, due to freeze.
diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py index 028eff8..065d04f 100644 --- a/roles/fedmsg/irc/templates/ircbot.py +++ b/roles/fedmsg/irc/templates/ircbot.py @@ -76,6 +76,29 @@ config = dict( ), ), + # For #koji + dict( + network='chat.freenode.net', + port=6667, + make_pretty=True, + make_terse=True, + + {% if env == 'staging' %} + nickname='fm-stg-koji', + {% else %} + nickname='fm-koji', + {% endif %} + channel='koji', + filters=dict( + topic=[ + '^((?!(pagure)).)*$', + ], + body=[ + "^((?!(koji)).)*$", + ], + ), + ), + # For fedora-hubs (not fedora-apps) dict( network='chat.freenode.net',
+1
I'm not sure they want the staging one, and note that this will grab every single issue on Pagure that will ever mention "koji" or a koji url. Maybe it's an idea to give the project a unique tag ("kojidevel"), and match against that?
+1 to the idea.
Metadata Update from @kevin: - Issue priority set to: Waiting on Asignee
Done. If there's too much traffic from just 'koji' we can easily adjust to patricks idea of a kojidevel tag.
:accept:
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.