TFS 2015服务器端插件 - 从服务器端强制签入(客户端签入策略不起作用) [英] TFS 2015 server side plugin - Enforce checkin from server side (client checkin policy WILL NOT work)

查看:96
本文介绍了TFS 2015服务器端插件 - 从服务器端强制签入(客户端签入策略不起作用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望强制执行必须具有评论,关联变更集和代码审核的每个签到。如果没有,我们想拒绝签到。

We would like to enforce each checkin that must have comment, associate changeset and code review. If not, we want to reject the checkin.

我们知道我们可以为客户端制定签入政策。但是,它将要求用户在其计算机上为每个不同版本的Visual Studio安装策略。此外,用户可能会覆盖我们不想要的策略。最后,用户可以
使用tfs api或Eclipse(java开发人员)来检查仍然有另一扇门的代码。

We're aware that we can develop checkin policy for client side. However, it will require the users to install policy on their machine for each different version of Visual Studio. Also, user might overwrite the policy which we don't want it. Last, users can use tfs api or Eclipse (java developer) to checkin the codes which still have another door for them.

因此,我们正在考虑使用TFS插件,它只能从服务器端进行控制。我们可以存档吗?

Therefore, we're thinking to use TFS plugin which can control from server side ONLY. Can we archive that?

谢谢。

推荐答案

嗨garynguyen,

Hi garynguyen,

感谢您在此发布。

必须在客户端部署签入策略。如果您不在客户端安装它,用户将收到类似"加载XXXX策略时出错"的错误,但用户可以覆盖警告并继续
进行登记。

The check-in policy must be deployed at client-side. If you do not install it on client-side, the user will get the error like"Error loading the XXXX Policy", but the user could override the warning and continue to check in.

但你可以创建一个服务器端插件,它可以接收服务器端事件并对它们作出反应。并且用户无法覆盖它们。有关详细信息,请参阅以下链接:

But you could create a server-side plugins, which can receives a server side event and react to them. And the users cannot override them. For more information, you could refer to the following links:

https://binary-stuff.com/list/tfs+server+plugins

http:// almsports.net/tfs-server-side-check-in-policy-for-git-repositories/1025/

最好的问候

Limittiao Gao

Limitxiao Gao


这篇关于TFS 2015服务器端插件 - 从服务器端强制签入(客户端签入策略不起作用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆