Hi, Have you tried GIT GUI that worked better for me…You need your HTTP password from “settings” on gerrit. Regards Anders From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Paul Offord Just to complete the story so far. SSH appears to be set up correctly. I get this: C:\Development\Wireshark>ssh -p 29418
USERNAME@xxxxxxxxxxxxxxxxxx Enter passphrase for key '/home/my_userid/.ssh/id_rsa': **** Welcome to Gerrit Code Review **** Hi Paul Offord, you have successfully connected over SSH. Unfortunately, interactive shells are disabled. To clone a hosted Git repository, use: git clone ssh://USERNAME@xxxxxxxxxxxxxxxxxx:29418/REPOSITORY_NAME.git Connection to code.wireshark.org closed. If I then try git review I get this: C:\Development\Wireshark>git review Problem running 'git remote update origin' Fetching origin Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin There definitely seems to be a problem with the linkage between git and SSH. Best regards…Paul From:
wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Paul Offord Hi Graham, That may explain why I am having a frustrating time with this. I’ve spent about 6 hours so far trying to push a fix to gerrit – I had all but
given up. In answer to your questions: ·
git --version is git version 2.6.2.windows.1 ·
git-review --version is git-review version 1.25.0 ·
where.exe ssh.exe gives C:\cygwin64\bin\ssh.exe ·
python --version give Python 2.7.10 Best regards…Paul From:
wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]
On Behalf Of Graham Bloice On 29 November 2015 at 23:19, Paul Offord <Paul.Offord@xxxxxxxxxxxx> wrote:
Note that the latest git for Windows causes some issues with git review, depending on how you install it. So firstly your environment, what is your git version (git --version), git-review version (git-review --version) and do you have ssh.exe from path\to\git\usr\bin on the path (where.exe ssh.exe)? Are you running a Windows native python, what version of python?
Graham Bloice
|
- References:
- [Wireshark-dev] Setting up git for gerrit
- From: Paul Offord
- Re: [Wireshark-dev] Setting up git for gerrit
- From: Graham Bloice
- Re: [Wireshark-dev] Setting up git for gerrit
- From: Paul Offord
- Re: [Wireshark-dev] Setting up git for gerrit
- From: Paul Offord
- [Wireshark-dev] Setting up git for gerrit
- Prev by Date: Re: [Wireshark-dev] Setting up git for gerrit
- Next by Date: Re: [Wireshark-dev] Setting up git for gerrit
- Previous by thread: Re: [Wireshark-dev] Setting up git for gerrit
- Next by thread: Re: [Wireshark-dev] Setting up git for gerrit
- Index(es):