{% load i18n %}
{% blocktrans %} Review Board supports closing review requests that are referenced in commit messages for any changes pushed to this repository. These references are in the form of: {% endblocktrans %}
Reviewed at {{example_url}}
{% trans "Or:" %}
Review Request #{{example_id}}
{% blocktrans %}
To configure this add a new entry to your webhooks.json
file on your RB Gateway server:
{% endblocktrans %}
[ { "id": "reviewboard-close", "url": "{{close_url}}", "secret": "{{hook_uuid}}", "repos": ["{{repo_name}}"], "events": ["push"], "enabled": true } }
{% blocktrans %}
and reload the rb-gateway
. For example:
{% endblocktrans %}
$ kill -HUP $(pgrep rb-gateway)
{% blocktrans %}
or if you use systemd
:
{% endblocktrans %}
$ systemctl reload rb-gateway.service