Ask Your Question
1

Git-review error in sandbox [closed]

asked 2015-08-19 23:46:28 -0500

sanjana gravatar image

updated 2015-08-20 03:21:17 -0500

I have cloned sandbox, and installed git-review using the command sudo apt-get install git-review When i type git review -s , i get an error git:'review' is not a git command. How should i solve this error

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sanjana
close date 2016-01-04 04:50:10.979842

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-08-20 03:17:38 -0500

updated 2015-09-23 06:40:11 -0500

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

Alternatively you can use pip to install git-review:

$ pip install git-review

Or, if you are not administrator:

$ pip install --user git-review
edit flag offensive delete link more

Comments

which git-review gives no output. When i type sudo apt-get install git-review, it says git-review is already the newest version

sanjana gravatar imagesanjana ( 2015-08-20 05:15:25 -0500 )edit

I installed git-review with easy_install and it worked.

sanjana gravatar imagesanjana ( 2015-08-24 03:16:10 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-19 23:46:28 -0500

Seen: 341 times

Last updated: Sep 23 '15