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.