Need to Retrieve Newly Checked-In Source Files

Post your questions regarding using the Vault and Fortress API in your programs.

Moderator: SourceGear

Post Reply
seeker
Posts: 2
Joined: Wed Oct 15, 2008 7:10 am

Need to Retrieve Newly Checked-In Source Files

Post by seeker » Wed Oct 15, 2008 7:59 am

Hi,

I need to retrieve source files from a repository that have been checked-in between a date range. Is there any example code that will demonstrate how to do this?

Here's the kicker - my company has v3.1.5 (yes, a source of angst for us developers) installed so I cannot use the latest API.

Also, do you know where I can download the SDK for v3.1.5?

Thanks!

Linda

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Need to Retrieve Newly Checked-In Source Files

Post by lbauer » Wed Oct 15, 2008 2:58 pm

you can get the Vault client API for 3.1.9 at this link -- it should work with 3.1.5, or you could upgrade to at least 3.1.9, which would be a free upgrade for you.

http://www.sourcegear.com/vault/downloads2.html

You might also be able to do what you need with a commandline client:
http://support.sourcegear.com/viewtopic.php?t=450

This functionality is built into the command line client in the later versions of Vault.
Linda Bauer
SourceGear
Technical Support Manager

seeker
Posts: 2
Joined: Wed Oct 15, 2008 7:10 am

Re: Need to Retrieve Newly Checked-In Source Files

Post by seeker » Wed Oct 15, 2008 4:52 pm

Hi Linda B,

Thanks so much for the links! I'll check it out in more detail when I'm back at work in the a.m. :-)

Linda K

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Need to Retrieve Newly Checked-In Source Files

Post by lbauer » Fri Oct 17, 2008 7:31 am

I can't recall if we had this feature in Vault 3.1.5, but in later versions of Vault, you can do a history query with Show History on a folder, and filter by actions , users, and dates and labels. You can also save that query as a .csv or . txt file with the File->Save All Results command in History Explorer.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply