Le 12/11/2015 17:35, C. Scott Ananian a écrit :
Hashar: I think your criticisms of git-review might be
out of date. On my
debian system, "sudo apt-get install git-review" was sufficient to install
a version of git review which is adequate for all my needs (I have never
noticed any of the "known issues" you mention). And "git review -s"
is a
one-step way to set up the proper remotes and etc and leave you ready to
use it. I am in the habit of typing "git review -u" since I noticed that
sometimes it doesn't update its remotes, but I'm guessing that's more habit
than necessity. None of the other steps you describe seem to be necessary.
--scott
Hello,
Yeah that was merely a rant about the state of git-review back when we
switched from svn to git. I spent countless hours getting folks to set
it up properly :(
The Debian/Ubuntu packages nowadays provides sufficiently recent
versions and indeed apt-get install is probably the easiest way to get
it installed.
I am diverging, but I run it from HEAD which is something like:
---
git clone ssh://review.openstack.org:29418/openstack-infra/git-review.git
cd git-review
pip install --user --develop .
export PATH=$PATH:~/.local/bin
---
So whenever I checkout a new commit, the command points to the new code
base :-)
YMMV
--
Antoine "hashar" Musso