Installing Git review on windows

Jump to: navigation, search

I've just had a conversation with Roan about this at #mediawiki on IRC. According to the information he so helpfully provided, there's no workaround to installing git-review; since not having it will greatly lengthen git commands. This leaves the part where one has to install git-review. However, I was wondering if it would be possible to do that without having to install pip and then modifying the system PATH (that's the most annoying part of the process). http://pypi.python.org/pypi/git-review reads For installation from source simply add git-review to your $PATH

However, I don't really know what $PATH is here.

Roan says that even if this method was successful, bypassing pip could mean that some dependencies of git-review may not get installed; resulting in a broken git-review (depending on the python version).

Here's what I think:

Installing pip and then installing git-review through python requires running python commands in cmd and modifying the system PATH manually. If the $PATH being referred to here is in fact the system PATH, this installation could mean:

  • right click, save link as, unzip, paste in so-and-so folder
  • Modify system PATH

If we have to go about messing with PATH no matter we download pip or not, why bother with one extra download? Just seems a waste of time.

Also, installing pip is annoying. Git/Workflow#Windows gives the order as install pip first and then install the setuptools .exe while http://www.pip-installer.org/en/latest/installing.html#prerequisites says that setuptools is a prerequisite for installing pip.

It would be nice if installation of git-review could be made simpler. Since I'm a noob and have already spent a lot of time in the first install, I daren't try to test the above hypothesis (installing git-review without pip). Maybe you know an experienced user who'd give it a shot? Thanks

Siddhartha Ghai (talk)02:35, 24 April 2012

Siddhartha Ghai, thanks for talking with Roan and writing up that summary of the issue. I suggest you send it to wikitech-l to see whether there's an experienced user who can boot up a VM and try out your hypothesis!