Can Gerrit work in front of Gitlab or is it meant to replace it

后端 未结 1 1377
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 17:04

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

1条回答
  •  走了就别回头了
    2021-02-02 17:34

    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.

    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.

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

    0 讨论(0)
提交回复
热议问题