How to use gerrit over https
The Developer Guide says we can use Gerrit over https [1]. But I always got an error saying not able to connect to ssh://git.openstack.org/<project>.git
First time here? Check out the FAQ!
The Developer Guide says we can use Gerrit over https [1]. But I always got an error saying not able to connect to ssh://git.openstack.org/<project>.git
It took me a while to get it working so I'd like to share my findings. The root cause is that git-review prior to version 1.25 does not support gerrit over https.
git-review version 1.25.0 was released on Jun 12, 2015. So most of people should not have this problem any more.
The previous version, 1.24, does not support gerrit over https. So I assume people must get git-review from latest source code from master branch or some unofficial build.
To check git-review version, run
git review --version
Could you try the following and tell us if this is working for you ? Check that git-review's directory is properly setup in your PATH environment variable...
# OS-installed one
$ which git-review
/usr/bin/git-review
$ git review --version
git-review version 1.23
$ dpkg-query -L git-review | grep 'bin/git-review'
/usr/bin/git-review
$ git clone https://git.openstack.org/cgit/openstack-infra/git-review
$ cd git-review
$ python setup.py install --user
$ export PATH=$HOME/.local/bin:$PATH
# New one from upstream source repository
$ which git-review
/home/myself/.local/bin/git-review
$ git review --version
git-review version 1.25.0.8.g44707a1
Asked: 2015-07-15 20:54:48 -0600
Seen: 337 times
Last updated: Aug 20 '15
Gerrit workflow in sandbox shows errors
could not connect to gerrit [closed]
Please teach the method of fixing 'detached HEAD' state [closed]
Git-review error in sandbox [closed]
Unable to clone Git Repository [closed]
git-review script fails on windows
How to submit for review by updating a png image ?
how to trigger jenkins gate job when commit in git using zuul if git has sub folders?
Update git local branch with latest upstream OpenStack changes