Getting Labelled files
Moderator: SourceGear
Getting Labelled files
we want it to get the correct version of files from the SourceGear repository by label, so that we cna then deploy them onto a live box. Is this possible from within SourceGear, or is there some plugin that can do the same job?
Cheers
Tim
Cheers
Tim
deploy labels
if I go to the show labes doalogue I get two tabs :
1. labels which has nothing on it
2. Recursive Labels that has all files labelled correctly. If I hightlight multiple files to the "get" option greys out. Also is it not possible to search for one label?
one more question: Vault command line client, how do I get to that??
Thanks for the help, as I expect I am just being stupid!
Tim
1. labels which has nothing on it
2. Recursive Labels that has all files labelled correctly. If I hightlight multiple files to the "get" option greys out. Also is it not possible to search for one label?
one more question: Vault command line client, how do I get to that??
Thanks for the help, as I expect I am just being stupid!
Tim
Normally when a label is applied to a folder, you use that label to get the folder and its contents at that point in time. File based labels are not all that common because only the one file is contained in the label.
Multiple folder or file labels can also affect the same file or folder. Due to this restriction, the Vault server only allows GETs one label at a time. They key is to have a folder label, which would contain multiple files.
In regards to the vault command line client (CLC), look for vault.exe in your Vault client installation directory. Run vault.exe help for a listing of commands supported by the CLC.
Multiple folder or file labels can also affect the same file or folder. Due to this restriction, the Vault server only allows GETs one label at a time. They key is to have a folder label, which would contain multiple files.
In regards to the vault command line client (CLC), look for vault.exe in your Vault client installation directory. Run vault.exe help for a listing of commands supported by the CLC.
Jeff Clausius
SourceGear
SourceGear
They way we work, being a web company is that we will label specific files throughout a project that we then need to be able to release when we are ready. Labelling whole folders is of no real use to us at all.
At the moment we use VSS6 and an addin to get the labelled files when we are ready but I really want to move away from it, but I cannot do that unless I have the ability to get individually labelled files for release.
thanks
Tim
At the moment we use VSS6 and an addin to get the labelled files when we are ready but I really want to move away from it, but I cannot do that unless I have the ability to get individually labelled files for release.
thanks
Tim
Your best bet for this would to be to use the Vault CLC.
For example, if I label some files with the label "My Label", the following would retrieve every item with that label to a separate non-vault working folder (c:\label_dir)
>vault.exe GETLABEL -DESTPATH c:\label_dir $ "My Label" -server server.dom -user admin -password abc -repository "my repository"
For example, if I label some files with the label "My Label", the following would retrieve every item with that label to a separate non-vault working folder (c:\label_dir)
>vault.exe GETLABEL -DESTPATH c:\label_dir $ "My Label" -server server.dom -user admin -password abc -repository "my repository"
Jeff Clausius
SourceGear
SourceGear