command-line gerrit review
Andrew Bartlett
abartlet at samba.org
Mon Feb 17 14:23:40 MST 2014
On Mon, 2014-02-17 at 21:06 +1300, Andrew Bartlett wrote:
> I wanted a way I could do a gerrit review in the same way I use the
> git-review tool posted here by Martin a few weeks ago.
>
> This script, which I would love to see improved, uses the gerrit command
> line interface to upload a new patch set, and to mark it reviewed. It
> first tries to rebase on gerrit/master, but also tries to cope with the
> annoying behaviour of gerrit in not accepting unchanged patches, by
> instead reviewing the patches directly from gerrit.
>
> It seems to work well for new patches, and OK (sometimes) for patches
> already in gerrit.
>
> Thoughts/comments very welcome.
> Andrew Bartlett
BTW, this was inspired by:
https://blogs.gnome.org/markmc/2011/09/25/gerrit-patch-review-from-the-command-line/
--
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list