You can connect your Assembla space to a Subversion (SVN) repository outside of Assembla to relate your code commits to Assembla tickets via your commit comments.
Reviewing requirements
Before connecting an external SVN repo to Assembla, review the following requirements:
The external SVN tool must exist in your Assembla space. Add the external SVN tool to your space using Admin > Tools, and configure it.
A post-commit hook must exist in your SVN repository. All of the popular Subversion repositories have this feature. This post-commit hook informs your servers when a changeset is committed, and the servers then parse the comment and relate it to the Assembla ticket. Install this hook if it does not already exist.
Connecting to your external SVN repository
To connect to your external SVN repository
Go to the External Subversion tab and review the two Perl and Ruby scripts at the bottom of the page.
Download either of those scripts.
Open the script using a text editor, and replace
tool_id
andsecret_key
with the values provided in that same tab.Install the post-commit hook in your Subversion repository according to your software instructions.
You can use the same commit comments in the external SVN tool that you can use in Assembla's repositories to link commits to Assembla Tickets.
Notes:
Use "re #4" to link your commit to ticket number 4. "references", "refs" and "see" add a comment to the target ticket.
Use "closes #4" to close ticket 4. "closed", "close", "fix", "fixed", and "fixes" also close a ticket.
Use "test #4" to move a ticket to "ready for test" status.
To enter a time record in the Time tool, use "Time: 2h15m".
If you have any questions or need assistance, please email us at support@assembla.com.