2018-04-21 21:04:08 +02:00
|
|
|
Get Zulip notifications for your Git repositories!
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2022-09-09 00:06:37 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
1. {!download-python-bindings.md!}
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
1. {!create-channel.md!}
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!change-zulip-config-file.md!}
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
You may also need to change the value of `STREAM_NAME`.
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
You can specify the branches that will be used for notifications by modifying
|
|
|
|
the `commit_notice_destination` function. By default,
|
2021-09-01 00:01:37 +02:00
|
|
|
pushes to the `main`, `master`, and `test-post-receive` branches will result in a
|
2018-04-21 21:04:08 +02:00
|
|
|
notification.
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
1. Symlink `/usr/local/share/zulip/integrations/git/zulip_git_config.py`
|
2020-10-23 02:43:28 +02:00
|
|
|
to the `.git/hooks` directory of your Git repository.
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
1. Symlink `/usr/local/share/zulip/integrations/git/post-receive`
|
2020-10-23 02:43:28 +02:00
|
|
|
to the `.git/hooks` directory of your Git repository.
|
2018-04-21 21:04:08 +02:00
|
|
|
|
|
|
|
!!! tip ""
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2021-09-01 00:01:37 +02:00
|
|
|
You can test the plugin without changing your `main` branch by
|
2018-04-21 21:04:08 +02:00
|
|
|
pushing to the `test-post-receive` branch.
|
2017-06-05 19:03:01 +02:00
|
|
|
|
2018-04-21 21:04:08 +02:00
|
|
|
{!congrats.md!}
|
|
|
|
|
2020-08-05 11:50:17 +02:00
|
|
|
![Git bot message](/static/images/integrations/git/001.png)
|