Version 6 (modified by Mitar, 6 years ago) (diff)


Bitbucket sync plugin


This plugin syncs Bitbucket repository with local repository used by Trac.

When a Bitbucket repository is changed, this plugin pulls those changes into the local repository.

After installation of this plugin, you have to configure Bitbucket to notify Trac about changes. You do this on Bitbucket under Admin -> Services section, where you select POST service type and enter an URL of your Trac installation's /bitbucketsync handler. For example, if your Trac installation is on then enter as service URL.

Name of the repository on Bitbucket should match (it is case sensitive) 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.

Of course, local repository should be properly configured into Trac (commit and incoming hooks configured and so on). Then also ticket updates through commit messages is possible.

Bugs/Feature Requests

Please use Bitbucket for any issues you have with BitbucketSyncPlugin.


Download the zipped source from here.


You can clone BitbucketSyncPlugin from here using Mercurial, or browse the source on Bitbucket.


Please follow documentation on how to install Trac's plugins.


Author: mitar
Maintainer: mitar