如何从 TFS 获取类似 git 的统计信息
我已经与 TFS 合作几个月了,希望获得一些基本统计数据并将其提供给我们的团队。在 git 中,我可以检索有关“按作者提交”和“按日期提交”等的统计信息。
我想显示来自 TFS(或来自 TeamCity)的类似统计信息。
这可能吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我发现研究 TFS 统计数据的最简单方法是使用 Excel 报告 - 您可以根据您能想象到的任何内容进行分析。有关入门指南,请查看我写的这篇博客文章:
http://www.woodwardweb .com/vsts/getting_started.html
TFS 在常规存储库数据之上提供了一个完整的数据仓库供您深入研究。
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.
您可以使用 TFS API 创建任何您喜欢的查询。您可以非常轻松地遍历变更集,查找特定作者的所有提交或在特定日期提交的所有提交:
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:
在这里您可以找到一些可以在 TFS 数据库上执行的查询来获取一些统计信息。
Here you can find some queries you can execute on the TFS database to get some statistics.
我发现 Visual Studio Team System Web Access 中的“源”选项卡下有一个更改集视图。选择所需的项目并从项目下拉列表中选择版本历史记录。
这足以满足我的需求。
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.
有一个 TFS 性能报告包 将为您提供信息,但它并不完全是您请求的信息
There is a TFS Performance Report Pack which will give you information, but it is not exactly the information you requested