您的位置:首页 > 其它

安装git-review

2015-08-27 08:22 686 查看

Fedora/CentOS

sudo yum install git-review


If, while using
git-review
, you see
ImportError: No module named requests
, you’ll need to install
python-requests
:

sudo yum install python-requests


OpenSUSE

Install (YaST) the
python-setuptools
, then

easy_install pip
pip install git-review==1.21


As of OpenSUSE 13.1, git-review is included in the main repository, so you can use,

sudo zypper in git-review


OS X

OS X comes with Python (for now) but not the installation programs supported by Git and git-review.

Open Terminal and change to a directory you’re comfortable downloading test Git packages to (such as Downloads)

Download and install the OS X Installer for Git (for OS X 10.8 and earlier only, OS X 10.9 ships with Git pre-installed)

Install pip (Note: Already included in some older versions of OS X):

sudo easy_install pip


Update pip/setuptools (for OS X 10.7 and earlier only)

sudo pip install -U setuptools


Install git-review:

sudo pip install git-review


参考

https://www.mediawiki.org/wiki/Gerrit/git-review#Fedora.2FCentOS
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: