tfs-code-review

How do I associate a review request with multiple changesets in TFS 2012

假如想象 提交于 2019-12-20 09:48:35
问题 Our development process works like this: Every 2 weeks the team lead (me) goes in and reviews everyone's changesets to make sure they are up to the coding standards. I would like to use TFS 2012 to help automate this process. There are 2 problems with this: There is no way to submit an unsolicited code review. I can live without this if necessary, I guess There is no way to associate a code review with more than one changeset. This is a deal-breaker I read one article which said it's possible

how to update existing shelve set in tfs

你。 提交于 2019-12-12 10:53:21
问题 My team is using shelving for code review, for X++ code. Which is not a native visual studio language. So you can consider like we storing text files in TFS. For code developer create a shelve and send it over to the team to reviews it and send feedback. But when the developer address the comments and generates another shelve the comments are lost. For the reviewer,it becomes difficult if there original comments were addressed or not. The only way is compare 2 shelve code on 2 screen, which

How do I view comments from an earlier code review in Team Foundation Service?

走远了吗. 提交于 2019-12-04 15:50:02
问题 I'm using Microsoft's online Team Foundation Service with Visual Studio 2012 Premium. I performed a code review for a colleague a couple of months ago, and now another code review has come through for the same project. I want to be able to view the comments I made on the first code review to make sure everything has actioned. However, I can't find anywhere in Visual Studio or TFS that shows me the previous code review's comments. 回答1: OK, I've found my answer by trial and error: In Visual

How to force Code Review before Check-In in TFS 2012 RC?

岁酱吖の 提交于 2019-11-30 14:46:28
问题 I've just installed TFS 2012 RC and Visual Studio 2012 RC. I see some interesting feartures: Code Review, Build Success before check-in. But it do not! So my question is: How to force Code Review before Check-In in TFS 2012 RC? How to force "Builds" Check-in Policy (not Gated Check-in)? What difference between "Builds" Check-in Policy and "Gated Check-in"? 回答1: 1) In team explorer, go to the "Settings" section. Choose "Source Control". When the window pops up, select the "Check-in Policy" tab

How to force Code Review before Check-In in TFS 2012 RC?

心已入冬 提交于 2019-11-30 11:38:27
I've just installed TFS 2012 RC and Visual Studio 2012 RC. I see some interesting feartures: Code Review, Build Success before check-in. But it do not! So my question is: How to force Code Review before Check-In in TFS 2012 RC? How to force "Builds" Check-in Policy (not Gated Check-in)? What difference between "Builds" Check-in Policy and "Gated Check-in"? 1) In team explorer, go to the "Settings" section. Choose "Source Control". When the window pops up, select the "Check-in Policy" tab. Click "add" and select the options you need. 2) Create a new build. On the "Trigger" tab, change to

TFS annotate/blame summary report for a project

给你一囗甜甜゛ 提交于 2019-11-28 10:56:42
In Team Foundation Server, I know that you can use the Annotate feature to see who last edited each line in a particular file (equivalent to "Blame" in CVS). What I'd like to do is akin to running Annotate on every file in a project, and get a summary report of all the developers who have edited a file in the project, and how many lines of code they currently "own" in that project. Aside from systematically running Annotate of each file, I can't see a way to do this. Any ideas that would make this process faster? PS - I'm doing to this to see how much of a consultant's code still remains in a

TFS annotate/blame summary report for a project

落爺英雄遲暮 提交于 2019-11-27 03:54:14
问题 In Team Foundation Server, I know that you can use the Annotate feature to see who last edited each line in a particular file (equivalent to "Blame" in CVS). What I'd like to do is akin to running Annotate on every file in a project, and get a summary report of all the developers who have edited a file in the project, and how many lines of code they currently "own" in that project. Aside from systematically running Annotate of each file, I can't see a way to do this. Any ideas that would make

Using TFS API, how can I find the comments which were made on a Code Review?

牧云@^-^@ 提交于 2019-11-27 01:44:25
I'm trying to figure out a way to find details about a Code Review Request / Response item in TFS2012. I can query for all Code Review Request/Response items in the following way: const string TfsUri = "http://mytfsserver:8080/tfs/Default ProjectCollection"; var tfs = new TfsTeamProjectCollection(new Uri(TfsUri)); var store = tfs.GetService<WorkItemStore>(); var versionStore = tfs.GetService<Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer>(); var queryText = "SELECT [System.Id], FROM WorkItems WHERE [System.WorkItemType] = 'Code Review Request' or [System.WorkItemType] =

Using TFS API, how can I find the comments which were made on a Code Review?

别来无恙 提交于 2019-11-26 09:45:52
问题 I\'m trying to figure out a way to find details about a Code Review Request / Response item in TFS2012. I can query for all Code Review Request/Response items in the following way: const string TfsUri = \"http://mytfsserver:8080/tfs/Default ProjectCollection\"; var tfs = new TfsTeamProjectCollection(new Uri(TfsUri)); var store = tfs.GetService<WorkItemStore>(); var versionStore = tfs.GetService<Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer>(); var queryText = \"SELECT