Monday, 26 April 2010

Bazaar Plugin for OnTime Integration

I was playing around with bazaar, whilst reviewing distributed version control systems (DVCS), and created a simple plugin for use with axosoft's ontime. The plugin parses the commit message and links the files to the related task, defect or feature.

Install


Download the tar file from [download id="3"]
Extract and run the installer using the following:

tar -vxzf bzr-ontime-0.0.1.tar.gz
cd bzr-ontime-0.0.1
sudo python setup.py install


Configure


Setup the database connection information.
/etc/bzr-ontime.conf
[ontime]
server=your-mssql-server
username=sa
password=p4ssw0rd
database=ontime


Confirm Installation


bzr hooks

If the plugin is installed correct you should see the plugin listed under the post_commit section.

Related Reading