gpt4 book ai didi

gerrit - 添加 gerrit 组作为审阅者

转载 作者:行者123 更新时间:2023-12-04 12:07:09 26 4
gpt4 key购买 nike

我有一个名为“UI_Developers”的 gerrit 组

我正在使用以下命令提交我的更改以供审核:

git push origin HEAD:refs/for/master%r=abc@morg.com

但是,我想将 UI_Developers 组中的所有成员添加为审阅者命令行。使用 UI 这很容易,通过使用命令行,知道如何将整个 gerrit 组添加为审阅者吗?
PS: ssh -p ...set-reviewers -a reviewer方法很麻烦,所以我不是在找它。

最佳答案

Gerrit 似乎尚不支持在推送时将组添加为审阅者。

这是一个相关的feature request截至 2016 年 8 月开放:

Currently, the --reviewer only takes account identifier (email) as parameter. It could be updated to take a group name as argument.

My use case is that we have groups corresponding to our development teams. Developers often want to add their whole team as reviewer for their changes. Currently they need either to add --reviewer manually to their receivepack command (and keep in sync with team changes) or go to the web interface to add the whole group at once. Having the ability to add the group directly from the receivepack would ease the process.

关于gerrit - 添加 gerrit 组作为审阅者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27778693/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com