|Version 3 (modified by mitar, 2 years ago) (diff)|
GitHub sync plugin
This plugin syncs GitHub repository with local repository used by Trac.
When a GitHub repository is changed, this plugin pulls those changes into the local repository.
After installation of this plugin, you have to configure GitHub to notify Trac about changes. You do this on GitHub under Admin -> Service Hooks section, where you select Post-Receive URLs service hook type and enter an URL of your Trac installation's /githubsync handler. For example, if your Trac installation is on http://www.example.com/ then enter http://www.example.com/githubsync as service hook URL.
Name of the repository on GitHub should match the local one (you can use aliases in Trac 0.12 to assure that). User under which Trac is running on the server should have write access to the local repository for which it is configured and you want to sync.
TODO: Ticket updates for newly fetched revisions are yet to be done. git's post-receive hook is triggered only by push and not fetch. So some other solution is being searched.
Download the zipped source from here.
Please follow documentation on how to install Trac's plugins.