I've been working with TFS for a few months now and would like to get some basic statistics and make them available to our team. In git, i could retrieve statistics on "commit by author" and "commit by date" etc.
I'd like to show similar statistics from TFS (or from TeamCity).
Is this possible?
You can use the TFS API to create any queries you like. You can quite easily iterate through the changesets looking for all commits by a certain author, or commits in a certain date:
There is a TFS Performance Report Pack which will give you information, but it is not exactly the information you requested
The easiest way I find for poking around in TFS statistics is to play with Excel reports - you can pivot on just about anything you can imagine. For a guide to getting started take a look at this blog post I wrote:
http://www.woodwardweb.com/vsts/getting_started.html
TFS provides a full data warehouse over the top of the regular repository data for you to dig into.
Here you can find some queries you can execute on the TFS database to get some statistics.
I found that there is a change set view in Visual Studio Team System Web Access under the "source" tab. Selected desired project and select version history from the project dropdown.
This is sufficient for my needs.