New Discussion: GitHub vs. Gerritt for Code Reviews

54 views
Skip to first unread message

Craig A

unread,
Aug 13, 2015, 1:13:55 PM8/13/15
to MOTECH Developer
Hi Everyone,

Now that we have moved our MOTECH code base to GitHub, I want to start the discussion of whether to move from Gerritt to GitHub for code reviews.

What features are available in Gerritt that are not available in GitHub for code reviews?

Sincerely,
Craig

Robert LaRubbio

unread,
Aug 13, 2015, 1:33:58 PM8/13/15
to motech-dev
I think with gerrit we have better security controls.  We can limit who can do a review and who can merge.  With github we don't have that ability.

We can lock down who can submit to the motech account, but then that would require anyone wanting to develop and issue a PR on motech to fork the repository.

--
You received this message because you are subscribed to the Google Groups "MOTECH Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motech-dev+...@googlegroups.com.
To post to this group, send email to motec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motech-dev/223ac9a1-f88c-472a-a866-63d1639073e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Craig A

unread,
Aug 17, 2015, 3:45:26 PM8/17/15
to Motech-dev
Thanks Rob,

This seems to be the core issue. Should we retain the shared repository or adopt the fork and pull model? Here's a good link describing the differences between Gerrit and GitHub.

Also, it looks like the latest versions of Gerrit (2.10.3+) have the ability to add a Google and GitHub OAuth plugin for user authentication. This would require an upgrade and migration of users. 

Sincerely,
Craig

--
You received this message because you are subscribed to a topic in the Google Groups "MOTECH Developer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/motech-dev/M6sGUKh9mwU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to motech-dev+...@googlegroups.com.

To post to this group, send email to motec...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Craig Appl
Lead Technical Program Manager, Mobile Health Innovations
Grameen Foundation
2101 4th Ave | Suite 1550 | Seattle, WA 98121
Skype:craigappl
Connecting the World's Poor to Their Potential

Paweł Gesek

unread,
Aug 20, 2015, 5:46:15 AM8/20/15
to motec...@googlegroups.com
I don't see a problem with using the fork model. I guess we can also give select teams rights to the repo and leave it to the team lead to enforce that the code review workflow is respected (we don't have hundreds of people actively developing, so that shouldn't really be an issue).

Gerrit has an interface a bit more geared towards code reviews so that's its plus. The plus side of Github is obviously a lower barrier of entry, than Gerrit. People now how to use GitHub, there is a lot of resources and documentation out there regarding GitHub usage.

I am personally leaning towards just using GitHub, the main befit I see however is that we get rid of one server to maintain, which means less headaches for us - no installing plugins, upgrading, solving issues with people not being able to connect, struggling with performance, etc. Also Gerrit is becoming really flaky lately - I solved memory issues with creating a swap partition on the instance, but now it seems its eating up the available processing power. If we stay with Gerrit we would have to upgrade the instance in my opinion.

If we switch to using GitHub, It will probably also be a plus that all of our projects would just be on Github, currently its all of our projects except the two main ones (which are technically on GitHub, but read only).

What do you think?

Regards,
Paweł

W dniu 2015-08-17 o 21:45, Craig A pisze:

Lauren Lavoie

unread,
Aug 20, 2015, 9:45:07 AM8/20/15
to motec...@googlegroups.com
+1 for Pawel's points, especially re: ease of entry for community devs and removing the headache of managing the gerritt server.

From: Paweł Gesek
Sent: ‎8/‎20/‎2015 2:46 AM
To: motec...@googlegroups.com
Subject: Re: New Discussion: GitHub vs. Gerritt for Code Reviews

Frank Huster

unread,
Aug 20, 2015, 11:33:25 AM8/20/15
to motec...@googlegroups.com
Yep, ease of entry and all under one roof.

Let's do it!!!


For more options, visit https://groups.google.com/d/optout.



--
Frank Huster

Mobile Health Innovations
Grameen Foundation

Koshal Thirumalai

unread,
Aug 20, 2015, 11:37:19 AM8/20/15
to motec...@googlegroups.com

Sounds good to me. Are we thinking that we would do a fork per team/location?

Koshal Thirumalai

unread,
Sep 4, 2015, 12:33:11 AM9/4/15
to motec...@googlegroups.com
I know we already made a decision to move, but this makes it even more awesome - 
Reply all
Reply to author
Forward
0 new messages