SourceGear Vault: How to get an automated list of extracted files?

Question:

How can I get a list of all checked files for each user in SourceGear Vault?

Using this feature:

From time to time, we have developers who leave files checked, and although this leads to harsh penalties (they owe coffee to the person who needs a checked file), we still remain with the checked files and work up.

We would like to display a list of all current files scanned by each developer. That way, they can check to see if they have anything to check before they get home or from the office.

+4
source share
1 answer

In the Vault Client application, use the Search tab at the bottom of the window.

Select Search By: Denied By to view a list of all files retrieved by a specific user or any user.

You can select a search in a specific subfolder or from the root, recursively or not.

To automate this, use the Vault command-line client (vault.exe)

vault -host myhost.mydomain -user something -password something -repository myrepo listcheckouts 

Gives you a list of all extracted files and their users in XML files. You can convert the results or use the source code of the command line client (presented as an example using the Vault.NET API) as a starting point for writing your own version.

Various clients and APIs can be taken from http://sourcegear.com/vault/downloads.html - do not want to refer to a specific version that is deprecated after the next release.

+7
source

Source: https://habr.com/ru/post/1338809/


All Articles