TrackStudio Enterprise 3.2
Subversion Integration

The following topic describes how to integrate TrackStudio with Subversion.

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

To implement SVN integration:
  1. Install TrackStudio DevPack.
  2. Enable TrackStudio SOAP API in trackstudio.properties.
  3. Modify the post-commit hook (a hook is a program triggered by some repository event, such as the creation of a new revision). Note that post-commit must be executable by the user(s) who will invoke it (typically the user httpd runs as), and that user must have file system level permission to access the repository.
  • UNIX: edit the post-commit:
#!/bin/sh
REPOS="$1"
REV="$2"
SVNLOOK=/usr/local/subversion/bin/svnlook
$SVNLOOK log "$REPOS" | sh /devpack/link \
--url http://localhost:8888/TrackStudio --login svnLogin --password svnPassword
  • Windows: edit the post-commit.bat:
@echo off
svnlook log %1 | c:/devpack/link \
--url http://localhost:8888/TrackStudio --login svnLogin --password svnPassword

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

$ svn commit -m "This message should be added to the task #1 and #2."
Copyright (c) 2002-2006. All rights reserved.
What do you think about this topic? Send feedback!