HI - I have some users that want to create a label on a folder tree before the start of every build, the label being the date/time of the build. This gives them the ability to get a get latest on the label and have the tool resolve differences. My questions are
1) Can I do this using the command line options?
2) Will this add a lot of overhead to the database (size)
3) Can we filter out the build labels on a “Show History” for a particular folder or file without filtering out the base line labels.
Any guidance would be much appreciated.
labels in Vault 4.1.4
Moderator: SourceGear
Re: labels in Vault 4.1.4
Yes, many of our users label each build. You can have your build script run the Vault command line client Label command:
http://download.sourcegear.com/misc/vau ... .htm#LABEL
This does add some additional overhead to the database, but unneeded labels can be deleted later.
The History filter or Show Labels command will not differentiate between Build labels and other labels. but you may be able to add a comment when you label, and then later do a history query on that comment. This wouldn't owrk on recursive labels, however.
http://download.sourcegear.com/misc/vau ... .htm#LABEL
This does add some additional overhead to the database, but unneeded labels can be deleted later.
The History filter or Show Labels command will not differentiate between Build labels and other labels. but you may be able to add a comment when you label, and then later do a history query on that comment. This wouldn't owrk on recursive labels, however.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: labels in Vault 4.1.4
A couple of more questions:
When a label is deleted is it actually removed from the database? Is there anyway to quantify the impact of adding a label and removing a label on the database??
When a label is deleted is it actually removed from the database? Is there anyway to quantify the impact of adding a label and removing a label on the database??
Re: labels in Vault 4.1.4
The label size is dependent on how many items are in a particular label.
I have a 29MB test database with 134 folders and 549 files. When I added 4 labels on the root folder, it added 1 MG to the database data file.
I have a 29MB test database with 134 folders and 549 files. When I added 4 labels on the root folder, it added 1 MG to the database data file.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: labels in Vault 4.1.4
Is there a way to search which tables/indexes are changed to determine the size difference/impact that adding a label has on a folder in a repository?
Re: labels in Vault 4.1.4
Before we go further it would be good to know how you need to use this information. Are you concerned about increasing the size of your database?
Do you want to determine which items to label, or which labels to delete?
Do you want to determine which items to label, or which labels to delete?
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager