从Gerrit的同行审阅者列表中排除作者 [英] Excluding author from peer reviewer list in gerrit

查看:82
本文介绍了从Gerrit的同行审阅者列表中排除作者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Gerrit为我的公司设置访问控制,并且在我们当前的内部流程中,同行评审员和编码员(他们往往是同一批人)之间存在交叉.我们还希望只要求1位审阅者对代码进行同行审阅,并在看起来不错的情况下提交.

I'm setting up the access control for my company in gerrit and in our current internal process has cross-over between peer reviewers and coders (they tend to be the same group of people). We also want to only require 1 reviewer to peer review the code and submit it if it looks good.

在默认设置下,任何具有+2: Looks good to me, approved选项的用户都可以对等查看他们自己的代码.

With the default setup any user with the +2: Looks good to me, approved option can peer review their own code.

有什么方法可以阻止作者查看自己的代码,但仍然允许他们完全查看其他人的代码吗?在访问控制组设置或权限设置中,我找不到任何类型的排除作者.

Is there any way to prevent the author from reviewing their own code, but still allow them to fully review other's code? I haven't been able to find any kind of exclude author in the access control group setup or permissions setups.

推荐答案

Gerrit Cookbook示例8 并没有严格禁止作者审阅自己的更改,而是要求其他人对其进行+2更改后才能提交.

The Gerrit Cookbook Example 8 does not strictly prevent the Author to review his/her own change, but will require someone else to +2 it before being able to submit.

这篇关于从Gerrit的同行审阅者列表中排除作者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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