How to setup gitolite and gerrit on separate ubunt

2019-09-09 21:00发布

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条回答
该账号已被封号
2楼-- · 2019-09-09 21:25

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.

查看更多
登录 后发表回答