Knowledge Base Administration Guide

Integrated models for Subversion (SVN)

This plugin enables Subversion models for Simscope, allowing Rules to be resolved by any Subversion changelist ID.

Instructions

1. Copy and edit plugin

Copy the file simscope-svn-commit-info to your $SIMSCOPE/bin directory.

  • Note: you may need to modify this line if you have a different svn path:
SVN_INFO = 'svn log %s -r %s --xml'

2. Edit Simscope configuration

Add this to your simscope.config file:

  • NOTE: the fixinfo line points to your $SIMSCOPE/bin directory.
[commitid]
enable = true

fixinfo = "YOURPATH/bin/simscope-svn-commit-info '%(commitid)' '%(branch)' '%(workspacepath)' '%(project)'"

searchchangelistdb = true

3. Restart Simscope server

Restart the Simscope server and this plugin will activate.

Verify Rule resolve

To verify the plugin works:

  1. From the Signature search page, click on an active Rule.

  2. Change the State to Fixed.

  3. Type in an SVN changelist.

  4. Click Preview.

If successful, you should see a response similar to this:

SVN Resolve