Subversion Integration

35 views
Skip to first unread message

Munsey

unread,
Apr 11, 2012, 12:30:32 PM4/11/12
to version...@googlegroups.com
Is it possible to create a ChangeSet via rest rather than running the Subversion integration tool?  I would like to create the ChangeSet with a post commit hook.  I like this better than the polling method done by the tool distributed by VersionOne.  Also I don't have access to a Windows server to run the integration on; the only Windows machine I have is my laptop which I shut down every day.

ibuchanan

unread,
Apr 11, 2012, 2:42:49 PM4/11/12
to version...@googlegroups.com
Yes. In fact, a recent poster wrote a post-commit hook for similar reasons:
 
The most important difference is that Jay's post-commit hook is a Windows EXE written in C# and using our .NET SDK. If you wanted to write something similar in Ruby, Python, or Perl, you'll have to make direct HTTP posts with the right XML payload. You can get a template for that XML payload using a "new asset" request described here:
 
The ChangeSet asset is simple enough that you should probably use simple string replacement rather than worry about having an XML DOM.
 
If you run into problems, we're here to help. But if you do get some working code, I'm sure others would appreciate it as a starting point for their efforts.
 
Yours truly,
Ian Buchanan
Product Manager for Platform and Integrations
Reply all
Reply to author
Forward
0 new messages