1. Integrating trac with Fogbugz
We wanted to be able to nicely link from trac to Fogbugz cases. To do so we have created a Plugin for trac to provide that functionality. It was tested with trac 0.10.4. See the documentation on trac plugins for general information on installing plugins with trac.
You can download the trac-fogbugz-plugin at http://cybernetics.hudora.biz/dist/TracFogbugzPlugin/ but in most instances
sudo easy_install http://cybernetics.hudora.biz/dist/TracFogbugzPlugin/TracFogbugzPlugin-0.9u-py2.5.egg
should be sufficient for installation. After that locate your trac.ini and edit it to contain
[components] fogbugz.fogbugz.fogbugzmodule = enabled [fogbugz] url = https://example.com/fogbugz/default.php [changeset] wiki_format_messages = true
and restart your web server. Obviously you have to replace the line containing example.com with the URL of your Fogbugz installation.
If installation was successful you now should see a "Fogbugz" link in the navigation bar and references to "Fall", "Case" or "BugzID:" should now be linked to Fogbugz.
Disabling the trac ticket system
To disable the issue tracking functionality of trac add the following options to trac.ini:
[components] trac.ticket.* = disabled [trac] mainnav = wiki,timeline,browser,search
1. Integrating Fogbugz with trac
How to integrate Fogbugz with subversion is well documented at the FogCreek Site. After you fixed up your post-commit hooks like described at Fog Creek you have to surf to the Fogbugz "Site Configuration" and set the "Source Control URL for logs" to something like https://examle.com/trac/log/^FILE and the "Source Control URL for diffs" to http://examle.com/intern/trac/changeset/^R2/.
If it all worked out nicely you now can use something like "BugzID: 3275" into you commit messages. This should result in the Ticket 3275 automagically linking back to your changeset.