1.3 KiB
-
{!create-stream.md!}
-
{!download-python-bindings.md!}
-
{!change-zulip-config-file-indented.md!}
-
Also, change the following lines:
STREAM_FOR_NOTIFICATIONS = "trac" TRAC_BASE_TICKET_URL = "https://trac.example.com/ticket"
-
Set
STREAM_FOR_NOTIFICATIONS
to the name of the stream you'd like the notifications to be sent to. -
Copy
integrations/trac/zulip_trac.py
andintegrations/trac/zulip_trac_config.py
into your Trac installation’splugins/
subdirectory. Once you’ve done that, edit your Trac installation’sconf/trac.ini
to addzulip_trac
to the[components]
section, as follows:[components] zulip_trac = enabled
-
You may then need to restart Trac (or Apache) so that Trac will load our plugin.
-
When people open new tickets (or edit existing tickets), notifications will be sent to the stream
trac
(or whatever you configured above) with a topic that matches the ticket name.
{!congrats.md!}
Additional trac configuration
After using the plugin for a while, you may want to customize which
changes to tickets result in a Zulip notification using the
TRAC_NOTIFY_FIELDS
setting in zulip_trac_config.py
.