何在单独的ubuntu服务器上设置gitolite和gerrit

何在单独的ubuntu服务器上设置gitolite和gerrit

本文介绍了如何在单独的ubuntu服务器上设置gitolite和gerrit?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一台ubuntu服务器上设置gitolite.该乙醇钠锰矿用于存放git存储库.我想在不同的ubuntu服务器上设置gerrit,它使用托管在gitolite服务器上的git存储库.是否有可能?如果是,请提供设置步骤.

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.

推荐答案

如果Gitolite服务器通过以下方式共享存储库,则应该是可能的. NFS到Gerrit服务器. Gerrit需要通过已安装的文件系统访问存储库来拥有"存储库.

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.

但是您为什么要这样做?运行两个存储库管理器似乎很麻烦.如果您不想在任何地方或所有时间都使用Gerrit的代码检查功能,那很好.可以将Gerrit配置为允许直接推送,从而绕过代码审查步骤.

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.

这篇关于如何在单独的ubuntu服务器上设置gitolite和gerrit?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 18:43