Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了带有 http auth 类型的 gerrit。现在我想添加审阅者和用户。如何添加用户?
我曾尝试使用 gerrit web ui 添加用户。没有没有回应。
如果我们使用 auth 类型作为 http,我们需要通过命令行添加用户/审阅者。
猫 ~/.ssh/id_watcher.pub | ssh -p 29418 review.example.com gerrit create-account --group "'Non-Interactive Users'" --ssh-key - watcher
其中 watcher 是用户名,Non-Interactive Users 是组名。