mirror of
https://git.sr.ht/~rjarry/aerc
synced 2025-06-30 19:00:21 +02:00

Add a small script to install a sourcehut webhook that triggers on patchset reception. Add a limnoria (supybot fork) plugin to receive the webhook requests and send IRC NOTICE messages on the proper channels. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Bence Ferdinandy <bence@ferdinandy.com>
14 lines
355 B
Python
14 lines
355 B
Python
from supybot import conf, registry
|
|
try:
|
|
from supybot.i18n import PluginInternationalization
|
|
_ = PluginInternationalization('Sourcehut')
|
|
except:
|
|
_ = lambda x: x
|
|
|
|
|
|
def configure(advanced):
|
|
from supybot.questions import expect, anything, something, yn
|
|
conf.registerPlugin('Sourcehut', True)
|
|
|
|
|
|
Sourcehut = conf.registerPlugin('Sourcehut')
|