<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 16, 2014 at 10:53 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Sep 16, 2014 at 6:00 PM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@russellbryant.net" target="_blank">russell@russellbryant.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div>On Tue, Sep 16, 2014 at 6:12 PM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@russellbryant.net" target="_blank">russell@russellbryant.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Tue, Sep 16, 2014 at 6:01 PM, Russell Bryant <span dir="ltr"><<a href="mailto:russell@russellbryant.net" target="_blank">russell@russellbryant.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>From a high level, all patches go to a code review system. Â *Every* patch must be peer reviewed (usually by 2 people, but that's a policy decision). Â *Every* patch must also pass tests. Â Once a patch passes both tests and peer review, it is automatically merged into the repository.</div></div></div></div></blockquote><div><br></div></span><div>I just thought of another important bit of the workflow ... the CLA handling.</div><div><br></div><div>With Asterisk today, all patches go through the issue tracker. Â The issue tracker handles the CLA. Â Uploading code to the issue tracker bypasses that, so we had to hack reviewboard to also know about CLAs. Â OpenStack uses a CLA, as well, and gerrit has built-in CLA handling.</div></div></div></div></blockquote><div><br></div></div></div></div></div></div></blockquote><div><br></div></span><div>Yup, CLAs still matter.<br><br></div><div>For what it's worth, we wrote a Crowd plug-in for Review Board that allows authenticated users who have signed a CLA to log in and/or post code. That helps to keep non-licensed contributions from getting pushed too far into the process.<br><br>The fact that gerrit has an option for this is a huge plus.<br></div></div></div></div></blockquote><div><br></div><div>It's a good start, anyway. Â I'm not sure exactly how the integration with what you already have would go. Â The built-in integration has it so you're signing the CLA in gerrit itself. Â There's probably some non-trivial work involved here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><span class=""><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div><div></div></div></div><div>Some more workflow comments, sorry... and then maybe I'll shut up. Â :-)</div><div><br></div><div>One thing I really like about gerrit vs review board is that gerrit is focused on git and as a result, has more native git integration. Â Posting code reviews is just "git review" from your git tree. Â "git review" is really just a helper around a normal "git push". Â You can push a patch series to gerrit and gerrit understands what that is and tracks the patch dependencies. Â Last I checked, review board still lacked any sort of support for a series of patches related to each other. </div><div><br></div><div>Also, if you're really attached to doing code reviews in a console and maybe even offline, someone in the OpenStack community made gertty [1], which is a replacement for using the web UI. Â It's gerrit, but entirely synced locally and in a terminal. Â I've used it for several hours while offline on an airplane and it's pretty darn amazing. Â It syncs all the reviews you did back to gerrit once you're back online.</div><div><br></div><div>[1] <a href="http://lists.openstack.org/pipermail/openstack-dev/2014-September/045013.html" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2014-September/045013.html</a></div></div></div></div>
<br clear="all"></blockquote></span></div><br></div><div class="gmail_extra">I'm not tied to doing code reviews off-line - we can't right now! - so this would be a benefit over the current workflow with Review Board.</div></div></blockquote><div><br></div><div>Indeed. Â It was mainly intended to appeal to those that really like the email workflow for the console / offline reasons. Â :-)</div><div><br></div><div>-- </div><div>Russell Bryant </div></div></div></div>