Hello, Is there any way to perform an incremental retrieve of files that have changed since a specific date or label?
Reason: We run Automated Build Studio. When a CI kicks off, I want to retrieve only the files that have changed since the last build (or label, either is fine). This must be a recursive retrieve down our entire source tree. Right now, we retrieve the entire source tree and it takes 30+ minutes.
As a side note: If it turns out that you support but ABS integration with you does not, can you recommend CI tools that are compatible with an incremental retrieve?
We're running Vault Standard, V 5.1.1 (19215)
Thanks.
Incremental aka Changed File aka Delta Retrieve
Moderator: SourceGear
-
- Posts: 2
- Joined: Fri Feb 04, 2011 1:19 pm
Re: Incremental aka Changed File aka Delta Retrieve
You can perform a history query and use one of the filters that is for getting only changes since a particular date or label. Then perform a Get from history.
Are you wanting to only send out files that have changed?
Would your get place the changed files in a folder that has all the files already present and then you perform a build?
Are you wanting to only send out files that have changed?
Would your get place the changed files in a folder that has all the files already present and then you perform a build?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 2
- Joined: Fri Feb 04, 2011 1:19 pm
Re: Incremental aka Changed File aka Delta Retrieve
Thank you for your reply.
First, I need to be able to do this using the command line, not in the Vault client, because it has to be scripted in Automated Build Studio. So I need a reference to those commands, if they exist. What you describe, though, is exactly what I'm after.
"Are you wanting to only send out files that have changed?" Yes, just files that have changed since a specific date or label.
"Would your get place the changed files in a folder that has all the files already present and then you perform a build?" Yes, I will have a build folder with all files for my source tree and want to replace existing files with the latest version of the ones that have changed (plus add in any that are new) since specified date or label.
I think of this as an "incremental" build. I've seen others refer to it as a "patch" build. It's also like a delta operation in backups: give me only files that have changed since last full backup.
Thanks in advance for any further guidance on accomplishing this.
First, I need to be able to do this using the command line, not in the Vault client, because it has to be scripted in Automated Build Studio. So I need a reference to those commands, if they exist. What you describe, though, is exactly what I'm after.
"Are you wanting to only send out files that have changed?" Yes, just files that have changed since a specific date or label.
"Would your get place the changed files in a folder that has all the files already present and then you perform a build?" Yes, I will have a build folder with all files for my source tree and want to replace existing files with the latest version of the ones that have changed (plus add in any that are new) since specified date or label.
I think of this as an "incremental" build. I've seen others refer to it as a "patch" build. It's also like a delta operation in backups: give me only files that have changed since last full backup.
Thanks in advance for any further guidance on accomplishing this.
Re: Incremental aka Changed File aka Delta Retrieve
You can find the command-line client commands listed here: http://download.sourcegear.com/misc/vau ... nt/clc.htm.
You might also look into using CC.NET along with our CC.NET plug-in.
You might also look into using CC.NET along with our CC.NET plug-in.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support