Yes. In fact, a recent poster wrote a post-commit hook for similar reasons:
https://groups.google.com/d/topic/versionone-dev/b5EpDE4_Czs/discussion
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:
http://community.versionone.com/sdk/Documentation/DataAPI.aspx#lbe.ne...
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
On Wednesday, April 11, 2012 12:30:32 PM UTC-4, Munsey wrote:
> 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.