Jump to content

Talk:Git-review

From Wikitech

Windows tutorial please! bennylin (talk) 18:34, 3 January 2013 (UTC)Reply

Nvm, found wm2012:Hackathon/Laptop setup/Windows git-review. bennylin (talk) 18:39, 3 January 2013 (UTC)Reply

Install the Python packaging system

In order to install gerrit-review, you must set up distribute, the Python software packaging system.

To do that, open Git Bash (available by Start-> Programs -> Git -> Git Bash) and run this command:

    curl http://python-distribute.org/distribute_setup.py > python

You will see a lot of happy messages print out, and finally you will see a prompt again (which looks like $ sign).

Download git-review

To download git-review, run these commands:

   curl http://pypi.python.org/packages/source/g/git-review/git-review-1.17.tar.gz > git-review.tar.gz
   tar zxvf git-review.tar.gz
   cd git-review-1.17
   python setup.py install

Make sure git-review runs

After all this work, you will want to make sure the program is properly installed. Type this into the prompt:

   git-review

You should see a happy error message, three lines long:

No .gitreview file found in this repository.
We don't know where your gerrit is. Please manually create
a remote named gerrit and try again.

Hooray! It is properly installed.

Return to laptop setup

« [[../|Return to laptop setup]]

Moving git-review documentation to mw:Git/git-review

This page and mw:Git/git-review try to do the same. It would be better to have just one. Most of our documentation is at mediawiki.org and git-review is not specific to Labs/Wikitech. Can we just add whatever it's missing there and make a soft redirect here?--qgil (talk) 17:01, 28 February 2013 (UTC)Reply

You copied the text there and duplicates are as black as sin, so I've soft-redirected. --Nemo 18:19, 28 February 2013 (UTC)Reply