|
[ Help Index ]
Setting up Source Code Integration
You can set up source code integration between FogBugz and your source control system in two steps.
If you are using Vault, please read this document.
Step One: Install a "trigger" script in your source control system to notify FogBugz whenever a checkin occurs that is related to a particular bug.
- The easiest way to notify FogBugz is to use an HTTP library to GET a URL of the following form, where bugID is the bug ID number, file is the file that is being checked in, x is the old revision number, and y is the new revision number.
http://fogbugzURL/cvsSubmit.asp?ixBug=bugID&sFile=file&sPrev=x&sNew=y
- You can also notify FogBugz by using a data access library such as ODBC or OLEDB to insert a new record in the table named CVS containing these four values.
- Although you can create your trigger script in any language, we provide sample scripts for how to do it:
-
- For Visual Source Safe users, you need to run a script that reads the journal file written by VSS when checkins are made. You can set this script us as a scheduled task. Be sure to set the journal file for all the appropriate projects in the VSS Admin Console (Tools->Options->General tab).
Step Two: Configure FogBugz to create hyperlinks from the checkin information to a web page showing the logs or the diffs.
FogBUGZ Home Page
Email: fogbugz@fogcreek.com
|