2017-06-22 02:42:43 +02:00
|
|
|
|
It is easy to send Zulips on SVN commits, by configuring a
|
|
|
|
|
post-commit hook. To do this:
|
|
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
|
1. {!create-channel.md!}
|
2017-06-22 02:42:43 +02:00
|
|
|
|
|
|
|
|
|
1. {!download-python-bindings.md!}
|
|
|
|
|
|
2021-03-15 23:40:31 +01:00
|
|
|
|
1. Install `pysvn`. On Linux, you can install the `python-svn`
|
2017-06-22 02:42:43 +02:00
|
|
|
|
package. On other platforms, you can install a binary or from
|
|
|
|
|
source by following the [instructions on the pysvn website][1].
|
|
|
|
|
|
2021-03-15 23:40:31 +01:00
|
|
|
|
[1]: http://pysvn.tigris.org/project_downloads.html
|
2017-06-22 02:42:43 +02:00
|
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
|
1. {!change-zulip-config-file.md!}
|
2017-06-22 02:42:43 +02:00
|
|
|
|
|
2021-03-15 23:40:31 +01:00
|
|
|
|
1. Copy `integrations/svn/zulip_svn_config.py` and
|
2017-06-22 02:42:43 +02:00
|
|
|
|
`integrations/svn/post-commit` from the API bindings directory
|
|
|
|
|
to the `hooks` subdirectory of your SVN repository.
|
|
|
|
|
|
2021-03-15 23:40:31 +01:00
|
|
|
|
1. The default stream used by this post-commit hook is `commits`; if
|
|
|
|
|
you’d prefer a different stream, change it now in
|
|
|
|
|
`zulip_svn_config.py`. Make sure that everyone interested in getting
|
|
|
|
|
these post-commit Zulips is subscribed to that stream!
|
2017-06-22 02:42:43 +02:00
|
|
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
2020-08-05 11:50:17 +02:00
|
|
|
|
![SVN commit bot message](/static/images/integrations/svn/001.png)
|