我们团队的项目解决方案有几个与之关联的单独项目,其中一个旨在作为我们应用层的底层框架——称之为“FrameworkProject”。只有在极少数情况下才应该编辑此项目的代码,在这些情况下,我希望能够批准对代码的更改。是否有 TFS 功能可以让我实现这一目标?
我们正在使用 VS2010 和 TFS2010。
我们团队的项目解决方案有几个与之关联的单独项目,其中一个旨在作为我们应用层的底层框架——称之为“FrameworkProject”。只有在极少数情况下才应该编辑此项目的代码,在这些情况下,我希望能够批准对代码的更改。是否有 TFS 功能可以让我实现这一目标?
我们正在使用 VS2010 和 TFS2010。
You have several options:
Hope this helps.
You may create a "working" branch of your framework and revoke checkin rights from the main branch for everyone except the reviewers. When someone needs to do a change, he has to change the working branch and a reviewer then has to merge the changes to the main branch in this step he will review all changes using his preferred diff tool on the mergeset before checkin in. He may revoke the merge and request fixes by simply undoing his working copy and optionally checking in review comments into the working branch.
以下是其他一些选项: