Web-hooks are a notification system upon which a system makes a http POST request with some data upon doing an action. This allows notifying a system that an action has occured.
If you want more information feel free to check out the corresponding page on wikipedia: https://en.wikipedia.org/wiki/Webhook.
python-redis
python-trollius
python-trollius-redis
Note
We ship a systemd unit file for pagure_webhook but we welcome patches for scripts for other init systems.
Source | Destination |
---|---|
webhook-server/pagure-webhook-server.py | /usr/libexec/pagure-webhook/pagure-webhook-server.py |
webhook-server/pagure_webhook.service | /etc/systemd/system/pagure_webhook.service |
The first file is the script of the web-hook server itself.
The secondg file is the systemd service file.
systemctl enable redis
systemctl start redis
systemctl enable pagure_webhook
systemctl start pagure_webhook