TrackStudio Enterprise 3.5
Integrating SCM and TrackStudio

The following topic describes how to integrate TrackStudio with SCM tools.

TrackStudio supports integration with both of CVS and Subversion version control systems. SCM integration lets one see SCM commit information relevant to each task and browse last commits for your repository. You can assign multiple different SCM repositories for each of your projects. 

To assign a repository connection for your project:

TrackStudio WAR:
  1. Open a trackstudio.scm.properties file
  2. Set trackstudio.scm.useSCM property.
  3. For each of your projects create trackstudio.scm.<name>.tasknum, where tasknum- task number of the your project. SCM integration will be available for subtasks of the specified task.
  4. Fill in other properties.
TrackStudio SA:
  1. Start TrackStudio Server Manager.
  2. Open the SCM tab.
  3. Mark the Enable SCM integration checkbox.
  4. Click the Add button.
  5. Enter the Connection name.
  6. Enter the Task # of your project. SCM integration will be available for subtasks of the specified task.
  7. Select the repository Type.
  8. Enter the Root of the repository.
  9. Enter Login and Password.
  10. CVS only: Specify Module and Character encoding.
  11. Click the Test Connection button.
  12. Click the OK button to save connection settings.

 

To import CVS/Subversion message into TrackStudio commit your files. Message will be added to the tasks specified in the message body.

Subversion:
$ svn commit -m "This message should be added to the task #1 and #2."
CVS:
cvs -z9 commit -m "This message should be added to the task #1 and #2."
2.8_bugs.txt (in directory C:\42\)
Checking in 2.8_bugs.txt;
C:/43/2.8_bugs.txt,v <-- 2.8_bugs.txt
new revision: 1.16; previous revision: 1.15
done
*****CVS exited normally with code 0*****