wiki:BitbucketSyncPlugin

Version 16 (modified by figaro, 7 years ago) (diff)

Further cosmetic changes, tagged with license

Synchronise a Bitbucket repository with a Trac repository

Description

This plugin synchronises a Bitbucket repository with a 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 http://www.example.com/, then enter http://www.example.com/bitbucketsync as service URL.

The name of the repository on Bitbucket should match the local one, and it is case sensitive. You can use aliases in Trac 0.12 to ensure that. The 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, the 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 GitHub for any issues you have with BitbucketSyncPlugin.

Download

Download the zipped source from here.

Source

You can clone BitbucketSyncPlugin from here using git, or browse the source on GitHub.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Author/Contributors

Author: mitar
Maintainer: mitar
Contributors: