How to setup gitolite and gerrit on separate ubuntu servers?

巧了我就是萌 提交于 2019-12-13 04:44:33

问题


I would like to setup gitolite on one ubuntu server. This gitolite is used to host git repositories. I would like to setup gerrit on different ubuntu server and it uses git repositories hosted on gitolite server. Is it possible? If yes, please provide setup steps.


回答1:


It should be possible if the Gitolite server shares the repositories via e.g. NFS to the Gerrit server. Gerrit needs to "own" the repositories by accessing them through a mounted file system.

But why would you want to do this? Running two repository managers seems like asking for trouble. If you don't want to use Gerrit's code review features everywhere or all of the time that's fine; Gerrit can be configured to allow direct pushes that bypass the code review step.



来源:https://stackoverflow.com/questions/26760661/how-to-setup-gitolite-and-gerrit-on-separate-ubuntu-servers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!