Setting Up Subversion Integration

Setting up Subversion integration is relatively simple, but you'll need to locate two files before you start. First, you need the actual integration script. You have your choice of Perl or VBScript versions:

Program Files\FogBugz\Accessories\SourceControl\Subversion\ Program Files\FogBugz\Accessories\SourceControl\Subversion\logBugDataSVN.vbs

You'll also need the SubVersion-to-FogBugz post-commit hook file:

Program Files\FogBugz\Accessories\SourceControl\Subversion\post-commit.bat

Then follow these directions to set up the integration:

1. Put both files into the Hooks directory in your Subversion repository.

2. If your repository is on Unix, make sure to set execute permissions on your logBugDataSVN file.

3. Customize the script file as follows:

• Set the value of $BUGZ_SERVER to the DNS name of the Web server where FogBugz is running.

• Set the value of $BUGZ_URL to the virtual path of your FogBugz installation. Normally this is /FogBugz/.

• Set the value of $CVSSUBMIT to cvsSubmit.asp or cvsSubmit.php, depending on whether you're using the ASP or PHP version of FogBugz.

4. Edit the post-commit.bat file and change the following line to point to your Subversion repository Hooks folder (and change .vbs to .pl if you're using the Perl version):


To set up integration in the reverse direction, so that FogBugz can display code from your Subversion repository, follow these steps:

1. Download and install the WebSVN project from to implement a Web interface to your Subversion repository.

2. Log in to FogBugz as an administrator. Click the Site hyperlink on the Administrative Tools bar. Scroll down to find the Source Code Control URL settings.

3. Follow the instructions on screen to set up the proper URLs for calling WebSVN.

4. Click OK to save your settings.

0 0

Post a comment