If you are having a problem using Vault, post a message here.
Moderator: SourceGear
-
disgruntleddrone
- Posts: 17
- Joined: Fri Sep 21, 2007 9:56 am
Post
by disgruntleddrone » Fri Sep 21, 2007 10:10 am
Per an earlier post from another member, there does not appear to be any functionality built into the admin or client tools to add information to a files metadata.
Does Vault store file metadata information in its DB? If so, where exactly? I can write a SQL trigger to add the desired metadata information, I just need to know where it is located.
Thank you,
-
jclausius
- Posts: 3706
- Joined: Tue Dec 16, 2003 1:17 pm
- Location: SourceGear
-
Contact:
Post
by jclausius » Fri Sep 21, 2007 11:57 am
Currently any version based meta-data is limited to comments. What are you looking to store?
Jeff Clausius
SourceGear
-
disgruntleddrone
- Posts: 17
- Joined: Fri Sep 21, 2007 9:56 am
Post
by disgruntleddrone » Fri Sep 21, 2007 12:22 pm
I need to programmatically retrieve Vault version numbers of the files pulled from the repositories. I suppose if push comes to shove - I can add it to the comments.
If I remember correctly, I believe that your API will allow me to append additional comments to existing files.
-
jclausius
- Posts: 3706
- Joined: Tue Dec 16, 2003 1:17 pm
- Location: SourceGear
-
Contact:
Post
by jclausius » Fri Sep 21, 2007 2:00 pm
Yes, the API will have a TreeCache.Repository.Root item. If you walk through this tree, you can get versions of items currently found in the repository.
Do you need the version data embedded within the file itself?
Jeff Clausius
SourceGear
-
disgruntleddrone
- Posts: 17
- Joined: Fri Sep 21, 2007 9:56 am
Post
by disgruntleddrone » Fri Sep 21, 2007 2:21 pm
Yes. My ultimate goal is to have a way to attach the Vault version value to the file itself. That way, I can find out the Vault version of a file without having to cross-reference/diff it with the contents of the db.