Wireshark-dev: Re: [Wireshark-dev] Git+gerrit status update - 2014-01-14
From: Evan Huus <eapache@xxxxxxxxx>
Date: Tue, 25 Feb 2014 13:48:22 -0500
On Tue, Feb 25, 2014 at 1:39 PM, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
> On Tue, Feb 25, 2014 at 10:09:43AM -0800, Gerald Combs wrote:
>> I haven't found anything obvious in the server logs that would explain
>> the error, unfortunately.
>>
>> Since you were able to add your SSH key, does
>>
>> ssh your.username@xxxxxxxxxxxxxxxxxx:29418 gerrit --help
>
> I had to use ssh jmayer@xxxxxxxxxxxxxxxxxx -p29418 gerrit --help
> instead but yes, that works. So it seems that this may indeed be
> some sort of client side problem.
>
>> work correctly? If so you might be able to bypass the web interface
>> entirely, at least until we fix the problem.
>>
>> You can either use 'ssh code.wireshark.org gerrit' directly[1] or the
>> git-review[2] wrapper. Recent versions of Qt Creator support Gerrit
>> reviews as well.
>>
>> [1] https://code.wireshark.org/review/Documentation/cmd-index.html
>> [2] https://pypi.python.org/pypi/git-review
>
> I have installed git-review (it is a standard package with openSUSE).
>
> Once I've finished cloning the repo (somehow it's not my day: git clone
> is an atomic operation and I'm behind an unstable Wireless connection),
> how do I proceed? Is there a wiki page that I can follow to set all
> the required and recommented git variables to use the correct id, push
> to the right place etc?

There's already a gitreview config file in the repo, so you should
just be able to run "git review -s" and it will set up everything
correctly for you.