Gerrit与Github [英] Gerrit with Github

查看:122
本文介绍了Gerrit与Github的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 github ,我愿意开始使用 Gerrit

由于Gerrit使用JGit,我很害怕< a href =http://github.com/guides/using-the-egit-eclipse-plugin-with-github/ =noreferrer>此链接:


EGit / JGit是在java中重新实现git
,由于这个GitHub不
正式支持它。问题有
发生,储存库已被
破坏。虽然由于git的分布式特性,修复这些回购
通常是
a简单的事情,但是
知道EGit可能不如官方git二进制文件中的


有人已经使用它了吗? > Gerrit是它自己的服务器,我们已经看到了客户端的问题,并且最近已经在JGit的全新版本中进行了修复。它也没有损坏存储库,它只是推送缺少对象的包文件。 Gerrit服务器非常稳定,已经被Android项目使用了一年多。然而,由于它是它自己的服务器并且执行了一个非常特定的工作流程,所以它通常不会与公共GitHub结合使用,因为GitHub上的代码贡献倾向于pull请求,其中对Gerrit的贡献是通过Gerrit系统进行同行认证的补丁系列。再次,您可以将它们都设置为同一个项目,但大多数人不会。


I am using github and I am willing to start using Gerrit with it.

Since Gerrit uses JGit, I am scared of the following text from this link:

EGit/JGit is a reimplementation of git in java, due to this GitHub does not officially support it. Issues have happened and repositories have been corrupted by them. While it is usually a simple matter to repair these repos due to git’s distributed nature, be aware that EGit may not work as well as the official git binaries.

Did someone already use it?

解决方案

Gerrit is it's own server and the issues we've seen were with the client and have recently been fixed in the brand new version of JGit. It also didn't corrupt the repository, it just pushed packfiles that were missing objects. The Gerrit server is solid and has been used by the Android project for over a year.

However, since it is its own server and enforces a very specific workflow, it is generally not used in conjunction with public GitHub much, since code contributions on GitHub tend to be pull requests, where contributions on Gerrit are peer-verified patch series through the Gerrit system. Again, you can set them both up for the same project, but most people do not.

这篇关于Gerrit与Github的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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