简体   繁体   English

如何配置gerrit的插件“审阅者”?

[英]How do I configure gerrit's plugin “reviewers”?

I have never used gerrit with plugins so I am a little bit lost. 我从未在插件上使用过gerrit,所以我有点迷路了。 I have cloned the plugin and I have the folder with the folders .git, lib. 我已经克隆了插件,并且我的文件夹带有.git,lib文件夹。 src and tools. src和工具。 Let's say I want to implement it in a project that I have already cloned. 假设我要在已经克隆的项目中实现它。 What do I do with the reviewers folder? 我如何处理审阅者文件夹? Where do I have to place it? 我必须放在哪里? How will it work? 如何运作?

Thanks a lot. 非常感谢。 I would really appreciate it. 我真的很感激。

First of all, you don't need to clone the plugin, you can download it from GerritForge: 首先,您无需克隆插件,可以从GerritForge下载:

  1. Go to https://gerrit-ci.gerritforge.com/ 转到https://gerrit-ci.gerritforge.com/
  2. Choose the tab Plugins-2.x according with your Gerrit version 根据您的Gerrit版本选择选项Plugins-2.x
  3. Search for plugin-reviewers-* 搜索插件评论者-*
  4. Download the reviewers.jar file 下载reviewers.jar文件

Then you need to install the plugin in the Gerrit server. 然后,您需要在Gerrit服务器中安装插件。 You need to be a Gerrit admin to do that. 您需要成为Gerrit管理员才能执行此操作。

See more info here . 在此处查看更多信息。

Finally, you need to configure the plugin. 最后,您需要配置插件。

See more info here . 在此处查看更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM