Project reporting

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
gwynw
Posts: 3
Joined: Tue Jul 29, 2008 2:50 am

Project reporting

Post by gwynw » Tue Jul 29, 2008 3:00 am

Are there any reporting functions in the admin tool ?

I need to be able to run reports on the files that are held in Vault.

Any suggestions.

Where do you look in the database ?

Thank you

Gwyn

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

Re: Project reporting

Post by lbauer » Tue Jul 29, 2008 11:34 am

What kind of reports do you need to run?

I can give you a better answer if I know what your goal is.
Linda Bauer
SourceGear
Technical Support Manager

gwynw
Posts: 3
Joined: Tue Jul 29, 2008 2:50 am

Re: Project reporting

Post by gwynw » Thu Jul 31, 2008 2:05 am

I want to create a directory lising of all files, i.e. show each project and its corresponding files.
So, I need to have the folder name followed by each file.

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

Re: Project reporting

Post by lbauer » Thu Jul 31, 2008 8:36 am

You can do this with the Vault Command Line Client, using the LISTFOLDERS command.

http://download.sourcegear.com/misc/vau ... LISTFOLDER

The CLC is called vault.exe and is in the Vault GUI Client directory.

If you wanted all folders and contents from the root folder in the repository, for example, you could run this command:

vault LISTFOLDERS -host myvaultserver -username gwynw -password mypassword -repository "Repository Name" $/

I'd recommend unsetting your working folders first (you can do this quickly with the GUI Client by using the Set Working Folder command on root). Otherwise you'll get way more info than you need, as the command also lists the status of items in your working folders.
Linda Bauer
SourceGear
Technical Support Manager

gwynw
Posts: 3
Joined: Tue Jul 29, 2008 2:50 am

Re: Project reporting

Post by gwynw » Thu Jul 31, 2008 9:55 am

Thank you for the solution - this works.

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

Re: Project reporting

Post by lbauer » Thu Jul 31, 2008 10:15 am

Let me know if you have additional questions.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply