API

SyncFolder

talks about Surround SCM on January 19, 2010

Works with Surround SCM 2010 and later

Will not work with Surround SCM 2009 and earlier

This is an example of how to use the Surround SCM API to synchronize a local folder with a repository. It came as a request from one of our documentation folks, who use a tool to produce our HTML files and then need to pump the output of that tool into an existing repository.

Basically, we get a list of the files and directories and check in any existing files, add new files or repositories, and delete old files and repositories.

Continue reading…

Share on Technorati . del.icio.us . Digg . Reddit . Slashdot . Facebook . StumbleUpon

No Comments

Tags: , , ,

Works with Surround SCM 2010 and later

Will not work with Surround SCM 2009 and earlier

A few months back, I posted a tool called CM Toolbox, which allowed you to see the current status of defects that had files attached from Surround SCM. The criteria used for showing defects was the branch selected from a dropdown, which was then used to search each defect’s source code list and see if any belonged to that branch. If a match was found, the defect was added to the list.

Integrated CM toolbox gives you basically the same thing, although with a different approach. Using the Surround SCM API and the plug in architecture, this tool queries all Attach to Defect events for all files in the selected branch in the Surround SCM client. It parses the comments from all of these events and builds a defect list. For each defect, it connects to TestTrack using the SOAP SDK to get the current status of each defect.
Continue reading…

Share on Technorati . del.icio.us . Digg . Reddit . Slashdot . Facebook . StumbleUpon

No Comments

Tags: , , , ,

Page optimized by WP Minify WordPress Plugin