从Gerrit的同行审阅者列表中排除作者

编程入门 行业动态 更新时间:2024-10-14 14:17:42
本文介绍了从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的同行审阅者列表中排除作者

本文发布于:2023-11-28 18:22:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643461.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:同行   作者   列表中   Gerrit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!