Gerrit for users without OpenId account -- was Re: gerrit via email

David Ostrovsky david.ostrovsky at gmx.de
Thu Jul 19 14:02:24 PDT 2012


Hi,

On 19.07.2012 15:56, Terrence Enger wrote:
> Meanwhile, I note that Lionel asked me (back when our discussion was
> at the is-this-a-bug stage) to name him as reviewer when submitting
> the patch to gerrit.  I hope the email facility will let people do
> that kind of thing.
nice joke ;-) Or do you mean that seriously? Oh then certainly not.
We are not going to reinvent the wheel.
(ironically i argued recently that Bjoern might be ending up
translating the whole gerrit workflow to be used through mail client).

I have another idea how we can handle that specific case:
user doesn't have OpenId account but still want to use gerrit.

We can abuse gerit's batch user concept for that.
(You still can not use gerrit through web UI, but it should be no 
problem to use gerrit through command line)

1. You send your public key, say id_terrence.pub to gerrit admins.
2. They issue this command 
https://gerrit.libreoffice.org/Documentation/cmd-create-account.html [1]

cat id_terrence.pub | ssh logerrit gerrit create-account --ssh-key - --full-name '"Terrence Enger"' --groupCommitters  --email tenger at iseries-guru.com terrence

3. you set up your gerrit environment as described here:
http://wiki.documentfoundation.org/Development/GitReview
4. now you can upload your patches to gerrit yourself
and use all other gerrit commads as described here
https://gerrit.libreoffice.org/Documentation/cmd-index.html

For example you can set Lionel to be the reviewer of your patch yourself
with this command: 
https://gerrit.libreoffice.org/Documentation/cmd-set-reviewers.html

;-)

Regards
David

[1] Didn't test it, though.


More information about the LibreOffice mailing list