TrackStudio Enterprise 3.2
CVS Integration

The following topic describes how to integrate TrackStudio with CVS.

TrackStudio can be integrated with the CVS version control system through our SOAP API. CVS check-in messages, which are automatically appended to tasks. This ensures all changes are logged.

To implement CVS integration:
  1. Install TrackStudio DevPack.
  2. Enable TrackStudio SOAP API in trackstudio.properties.
  3. Receive the administrative files:
$ cvs checkout CVSROOT
  1. Add the following string to the CVSROOT/loginfo:
DEFAULT c:/devpack/link --url http://localhost:8888/TrackStudio --login cvsLogin --password cvsPassword

DEFAULT -- is a regular expression which is tested against the directory relative to the CVSROOT in which the change is being made. If the match is found, the remainder of the line is a filter program that expects log information on its standard input. If the repository name does not match any of the regular expressions in this file, the specified DEFAULT line is used. All occurrences of the ALL name appearing as a regular expression are used in addition to the first matching regular expression or DEFAULT.

  1. Commit the file:
$ cvs commit -m "" CVSROOT/loginfo

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

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
Adding message to the task #1... done
Adding message to the task #2... done

*****CVS exited normally with code 0*****
Copyright (c) 2002-2006. All rights reserved.
What do you think about this topic? Send feedback!