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

Post Reply
RickS
Posts: 3
Joined: Thu Dec 04, 2014 10:09 am

Notifications of any checkins

Post by RickS » 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

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Notifications of any checkins

Post by Beth » 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

RickS
Posts: 3
Joined: Thu Dec 04, 2014 10:09 am

Re: Notifications of any checkins

Post by RickS » 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.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Notifications of any checkins

Post by Beth » 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

kl-baerchen
Posts: 18
Joined: Wed Nov 12, 2008 2:17 am

Re: Notifications of any checkins

Post by kl-baerchen » 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

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Notifications of any checkins

Post by Beth » Fri Feb 20, 2015 9:44 am

kl-baerchen: What software are you using for your builds?
Beth Kieler
SourceGear Technical Support

kl-baerchen
Posts: 18
Joined: Wed Nov 12, 2008 2:17 am

Re: Notifications of any checkins

Post by kl-baerchen » 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.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Notifications of any checkins

Post by Beth » 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

Post Reply