Zulip Subversion Integration
Get Zulip notifications for your Subversion commits by
configuring a post-commit hook!
-
Create a bot for Subversion. Make sure that you select Incoming webhook as the Bot type.
-
Download and install our Python bindings and example scripts on the system where the Subversion integration script will be run from.
-
Install the dependencies for the integration with:
pip install -r /usr/local/share/zulip/integrations/svn/requirements.txt
-
If your Subversion server and your Zulip server are on the same machine, symlink the
post-commithook of your Subversion repository in your Subversion server by running:ln -s /usr/local/share/zulip/integrations/svn/post-commit your-repo/hooks/post-commit
Otherwise, copy the
post-commithook to your Subversion repository's/hooksdirectory.The
post-commithook is triggered after every commit. -
Open
/usr/local/share/zulip/integrations/svn/zulip_svn_config.pywith your favorite editor, and change the following lines to specify the email address and API key for your Subversion bot:ZULIP_USER = "svn-bot@chat.zulip.org" ZULIP_API_KEY = "0123456789abcdef0123456789abcdef" ZULIP_SITE = "https://chat.zulip.org" -
Copy the config file to the same directory as the
post-commithook.cp /usr/local/share/zulip/integrations/svn/zulip_svn_config.py your-repo/hooks
You're done! Your Subversion notifications may look like this:

Configuration options
You can configure the channel and topic where notifications are sent by
updating the commit_notice_destination function in
/usr/local/share/zulip/integrations/svn/zulip_svn_config.py. By default, notifications are sent to the
#commits channel with the repository as the topic name.
Related documentation
Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.