mirror of
https://git.sr.ht/~rjarry/aerc
synced 2025-02-23 16:23:58 +01: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')
|