简体   繁体   中英

Gerrit with Github

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.

看一下http ://gerrithub.io-该站点为公共GitHub存储库启用Gerrit工作流。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM