客户端post-review使用安装

Windows安装

  1. 安装Python,并设置环境变量path,如C:\Python;C:\Python\Scripts;
  2. 安装Python Setuptools Installer。( 推荐的方式是:下载ez_setup.py ,然后运行python ez_setup.py命令在线安装,会下载并安装;也可以下载源代码,运行python setup.py install进行安装);
  3. 安装GNU patch http://sourceforge.net/projects/gnuwin32/files/patch/
  4. 安装RBTools:运行如下命令安装RBTools:easy_install -U RBTools;
  5. 安装diffutils http://gnuwin32.sourceforge.net/packages/diffutils.htm

Ubuntu安装

  1. 安装Python:sudo apt-get install python-dev,默认Ubuntu 12.04系统中已经安装Python 2.7.3;
  2. 安装Python Setuptools Installer,python ez_setup.py;系统会安装最新的1.3.2版本,然后可以再次运行命令easy_install -U setuptools进行升级更新的版本,比如1.4版本;
  3. 安装RBTools,easy_install -U RBTools;
  4. 修改配置文件:

在Ubuntu上,需要修改配置文件:

/home/username/.subversion下的server和config文件,修改其中的密码保存项:

Server:

store-passwords = yes

store-ssl-client-cert-pp = yes

store-plaintext-passwords = yes

store-ssl-client-cert-pp-plaintext = yes