Opened 16 years ago

Last modified 3 years ago

#13 new defect

Trying to get trac, monotone and bitten to work together

Reported by: alien.technology+trac@… Owned by: Thomas Moschny
Priority: major Component: tracmtn
Version: Keywords:
Cc:

Description

It would be good to get trac, montone and bitten to work together.

I've had some success, and it needed three patches:

Attachments (1)

tracmtn-65cc6f.patch (7.5 KB ) - added by alien.technology+trac@… 16 years ago.
Patch for TracMonotone, apply to revision 65cc6f5a3ee53454c0232be02a6d63ba5c973fdb

Download all attachments as: .zip

Change History (2)

by alien.technology+trac@…, 16 years ago

Attachment: tracmtn-65cc6f.patch added

Patch for TracMonotone, apply to revision 65cc6f5a3ee53454c0232be02a6d63ba5c973fdb

in reply to:  description comment:1 by anonymous, 16 years ago

Attached patch modifies the way a monotone repository is specified. Instead of specifying just the monotone db, both a database and a monotone selector are specified, separated by a ':' character e.g.

repository_dir = /path/to/db.mtn:b:com.acme.widget

Specifies that the plugin should only study the com.acme.widget branch. This plays well with trac's multirepos support, so that you can map in several branches:

[repositories]
acme.dir = /data/database.mtn:b:com.acme.widget
tracmtn.dir = /data/database.mtn:b:net.venge.monotone.tracmtn
testing.dir = /data/database.mtn:c:release-candidate

This allows more control with Trac/Bitten e.g. specifying the path as /acme means only that the acme build/test only gets applied to the acme branch.

Note: See TracTickets for help on using tickets.