Notifications of any checkins

Examples of programs integrating with Vault and Fortress API. Also, information on integrating with NAnt, CruiseControl.Net and other third-party tools

Moderator: SourceGear


Posts: 3
Joined: Thu Dec 04, 2014 10:09 am
PostPosted: Thu Dec 04, 2014 10:42 am
I'm looking to not have to polll the SG server to see if any new files have been checked in:

In otherwords, instead of doing continual "GetLatest" for the entire tree (40GB) and having a FileSystemWatcher look for the changes, I'd like to somehow register a callback that can get notified everytime a checkin occurs (part of our continuous integration testing)

Is this possible?

Thanks,

Rick S

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Mon Dec 08, 2014 9:44 am
There isn't currently. Everything we have does polling.

What are you using the API with? There might be some suggestions we can make if we know the full details.
Beth Kieler
SourceGear Technical Support

Posts: 3
Joined: Thu Dec 04, 2014 10:09 am
PostPosted: Tue Dec 09, 2014 7:22 am
With Continuous integration, the idea is that anytime a file is checked in, automatic code checks, compiling and unit tests can be kicked off...

We have repositories with 100,000+ files (40GB+), and would prefer to not continue to poll with remote clients, but have an ability to hook the server so that check-ins, roll-backs etc would be detected and we could insert a program in the pipe that would notify our build farm to execute appropriate actions.

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Tue Dec 09, 2014 8:52 am
What software do you use for your builds? Some programs have the necessary functionality already to watch Vault.
Beth Kieler
SourceGear Technical Support

Posts: 18
Joined: Wed Nov 12, 2008 2:17 am
PostPosted: Fri Feb 20, 2015 4:14 am
RickS wrote:With Continuous integration, the idea is that anytime a file is checked in, automatic code checks, compiling and unit tests can be kicked off...

We have repositories with 100,000+ files (40GB+), and would prefer to not continue to poll with remote clients, but have an ability to hook the server so that check-ins, roll-backs etc would be detected and we could insert a program in the pipe that would notify our build farm to execute appropriate actions.


We are also interested in this feature

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Fri Feb 20, 2015 9:44 am
kl-baerchen: What software are you using for your builds?
Beth Kieler
SourceGear Technical Support

Posts: 18
Joined: Wed Nov 12, 2008 2:17 am
PostPosted: Wed Feb 25, 2015 2:47 am
Beth wrote:kl-baerchen: What software are you using for your builds?


We are using MS Build, Visuall Studio and also own Tools.

Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
PostPosted: Fri Feb 27, 2015 4:53 pm
Unfortunately, we don't have additional information about MSbuild.

I can put in a feature request.
Beth Kieler
SourceGear Technical Support

Return to Examples (API)

Who is online

Users browsing this forum: No registered users and 1 guest

cron