Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gerrit with Github

Tags:

git

github

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?

like image 386
Macarse Avatar asked Mar 16 '10 01:03

Macarse


People also ask

Does Gerrit work with GitHub?

The Gerrit GitHub plugin can be found under the Gerrit plugins/github repository on https://gerrit-review.googlesource.com/#/admin/projects/plugins/github. It is open source under the Apache 2.0 license and can be cloned and built using the Java 6 JDK and Maven.

Is Gerrit based on Git?

Gerrit is a web-based code review tool, which is integrated with Git and built on top of Git version control system (helps developers to work together and maintain the history of their work).

Does GitHub have plugins?

Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.


2 Answers

Take a look at http://gerrithub.io - the site enables Gerrit workflow for public GitHub repositories.

like image 38
AndreasB Avatar answered Sep 22 '22 20:09

AndreasB


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.

like image 183
Scott Chacon Avatar answered Sep 21 '22 20:09

Scott Chacon