mirror of
https://git.sr.ht/~rjarry/aerc
synced 2025-02-23 07:53:59 +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>
21 lines
338 B
Python
21 lines
338 B
Python
"""
|
|
Sourcehut: Supybot plugin to receive Sourcehut webhooks
|
|
"""
|
|
|
|
import sys
|
|
import supybot
|
|
|
|
__version__ = "0.1"
|
|
__author__ = supybot.authors.unknown
|
|
__contributors__ = {}
|
|
__url__ = ''
|
|
|
|
from . import config
|
|
from . import plugin
|
|
from importlib import reload
|
|
|
|
reload(config)
|
|
reload(plugin)
|
|
|
|
Class = plugin.Class
|
|
configure = config.configure
|