Gerrit 可以在 Gitlab 前工作还是打算取代它 [英] Can Gerrit work in front of Gitlab or is it meant to replace it

查看:10
本文介绍了Gerrit 可以在 Gitlab 前工作还是打算取代它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为我并不真正了解 Gerrit 如何融入我团队的现有工作流程.Gerrit 是否打算成为代码的中心枢纽"?我一直认为它类似于 Atlassian 的 Crucible,它适合 Atlassian 的 Stash 或 Bitbucker.

I don't think I'm really understanding how Gerrit can fit into my group's existing workflow. Is Gerrit intended to be the central "hub" of code? I have been imagining it as similar to Atlassian's Crucible, which fits in with Atlassian's Stash or Bitbucker.

我的团队目前使用非常活跃的 Gitlab 安装,但缺少内置的代码审查工具,我绝对必须检查进入 repo 的承包商的代码.

My group currently uses a very active Gitlab installation but the built-in code review facility is lacking, and I absolutely must inspect code from contractors going into the repo.

我需要一个防火墙后解决方案,而成本是一个重要的考虑因素.我听说过 Gerrit 的正面评价,但并没有真正解释它如何融入现有流程.我也喜欢它似乎有很好的 eclipse 集成.

I need a behind-the-firewall solution, and cost is a big consideration. I have heard positive things about Gerrit, but not really an explanation of how it can fit into an existing process. I also like that it seems to have pretty good eclipse integration.

谁能帮帮我?

推荐答案

Gerrit 希望拥有"您使用它的存储库,即它希望 git 目录存在于已挂载的文件系统中.如果您希望它与 GitLab(或 GitHub)交互,您可以设置从 Gerrit 到 GitLab 的单向复制,以便在 Gerrit 中所做的更改将在几秒钟内推送到 GitLab.对于 GitHub,有一个 Gerrit GitHub 插件 可以帮助解决这个问题.

Gerrit expects to "own" the repositories you use it with, i.e. it expects the git directories to be present in a mounted file system. If you want it to interact with GitLab (or GitHub) you can set up one way replication from Gerrit to GitLab so that changes made in Gerrit will be pushed to GitLab within a few seconds. For GitHub there's a Gerrit GitHub plugin to help with this.

您可以继续使用 GitLab 的其他功能,但如果您不锁定存储库(或至少阻止推送到 Gerrit 管理的分支),您将在 Gerrit 下次尝试复制到时遇到麻烦GitLab 存储库.

You can continue to use the other features of GitLab but if you don't lock down the repositories (or at least block pushes into branches that Gerrit manages) you'll end up in trouble the next time Gerrit attempts to replicate to the GitLab repository.

所以... Gerrit 确实取代了 GitLab 的存储库管理和代码审查工具,但不包含问题跟踪器、wiki 或类似工具.

So... Gerrit does replace GitLab's repository management and code review facilities but doesn't contain an issue tracker, wiki, or similar.

这篇关于Gerrit 可以在 Gitlab 前工作还是打算取代它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆