ページ更新: 2000-01-01 (土) (6896日前)

ソースコードレビューのためのツール。

Subverison / CVS / Perforce / Git / Mercurial のチェンジセットに対して、コメントを付ける、らしい。 (まだ使ってないので)

目次

[編集]

情報源 #

[編集]

メモ #

[編集]

Ubuntu 10.04 LTS (未完) #

(2011-03-23)

HTTP/FTPプロキシ経由なせいか、途中で失敗するので、一部のパッケージを別のPCでダウンロードして用いた。

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:        10.04
Codename:       lucid

python-svn をインストールする:

$ sudo aptitude update
$ sudo aptitude install python-svn
...
  python-svn
0 個のパッケージを更新、 1 個を新たにインストール、 0 個を削除予定、0 個が更新されていない。
...

# python -c "import pysvn"
★エラーなし

ReviewBoardをインストールする:

# pip install ReviewBoard
★タイムアウトした (15秒)

★タイムアウト時間を60秒にして、再度実行した:

# pip install --timeout=60 ReviewBoard
Downloading/unpacking ReviewBoard
  Running setup.py egg_info for package ReviewBoard
    warning: no files found matching '*' under directory 'locale'
    no previously-included directories found matching 'docs/*/_build'
    no previously-included directories found matching 'reviewboard/htdocs/media/uploaded/images'
Downloading/unpacking python-memcached (from ReviewBoard)
...
  Error <urlopen error [Errno -5] No address associated with hostname> 
while getting ftp://ftp.tummy.com/pub/python-memcached/old-releases/python-memcached-1.47.tar.gz 
(from http://pypi.python.org/simple/python-memcached/)
Exception:
...
URLError: <urlopen error [Errno -5] No address associated with hostname>

Storing complete log in ./pip-log.txt

memcached は不要(オプション)だったような気がするが、念のため python-memcached を入れておく。

★ftp.tummy.com のIPアドレスを引けない。wget でも失敗した。 別のPCのWebブラウザで FTP Directory: ftp://ftp.tummy.com/pub/python-memcached/ からパッケージを入手して pip でインストールした:

# pip install python-memcached-1.47.tar.gz
Unpacking ./python-memcached-1.47.tar.gz
  Running setup.py egg_info for package from file:///root/python-memcached-1.47.tar.gz
Installing collected packages: python-memcached
  Running setup.py install for python-memcached
Successfully installed python-memcached

★残りを続行
# pip install --timeout=60 ReviewBoard
...
  Running setup.py install for python-dateutil
  Running setup.py install for flup
  Running setup.py install for paramiko
    warning: no files found matching '*' under directory 'docs'
  Running setup.py install for ReviewBoard
    warning: no files found matching '*' under directory 'locale'
    no previously-included directories found matching 'docs/*/_build'
    no previously-included directories found matching 'reviewboard/htdocs/media/uploaded/images'
    Installing rb-site script to /usr/local/bin
    Installing rbssh script to /usr/local/bin
Successfully installed ReviewBoard
# pip freeze
Warning: cannot find svn location for TracDragDrop==0.2.2-r7875
Warning: cannot find svn location for TracWysiwyg==0.2-r7817
Warning: cannot find svn location for TracAccountManager==0.2.1dev-r9290
Warning: cannot find svn location for flup==1.0.3.dev-20110111
Django==1.2.5
Djblets==0.6.7
ExtLinkRewriter==0.5
Genshi==0.5.1
GnuPGInterface==0.3.2
HudsonTrac==0.3
IniAdmin==0.2
Landscape-Client==1.5.5.1
PAM==0.4.2
PIL==1.1.7
Pygments==1.3.1
Pyste==0.9.10
ReportIncludePlugin==0.4.2
ReviewBoard==1.5.4
Trac==0.11.7.ja1
## FIXME: could not find svn URL in dependency_links for this package:
TracAccountManager==0.2.1dev-r9290
TracBookmark==0.1
TracBurndown==1.9.2
## FIXME: could not find svn URL in dependency_links for this package:
TracDragDrop==0.2.2-r7875
TracQueryChart==0.2.2
TracTicketDelete==2.0
## FIXME: could not find svn URL in dependency_links for this package:
TracWysiwyg==0.2-r7817
Twisted-Core==10.0.0
bzr-etckeeper==0.0.0
chardet==2.0.1
command-not-found==0.1
distribute==0.6.13
django-evolution==0.6.2
feedparser==4.1
## FIXME: could not find svn URL in dependency_links for this package:
flup==1.0.3.dev-20110111
httplib2==0.6.0
iotop==0.4
launchpadlib==1.6.0
lazr.restfulclient==0.9.11
lazr.uri==1.0.2
mercurial==1.4.3
numpy==1.3.0
oauth==1.0a
paramiko==1.7.6
pexpect==2.3
pyOpenSSL==0.10
pycrypto==2.3
pycurl==7.19.0
pyserial==2.3
python-apt==0.7.94.2ubuntu6.2
python-dateutil==1.5
python-memcached==1.47
pytz==2011d
recaptcha-client==1.0.5
simplejson==2.0.9
smart==1.2
svnmailer==1.0.8
timingandestimationplugin==0.9.4
uTidylib==0.2
ufw==0.30pre1-0ubuntu2
unattended-upgrades==0.1
wadllib==1.1.4
wsgiref==0.1.2
zope.interface==3.5.3
# pip install --timeout=60 RbTools
Downloading/unpacking RbTools
  Downloading RBTools-0.3.2.tar.gz (48Kb): 48Kb downloaded
  Running setup.py egg_info for package RbTools
Installing collected packages: RbTools
  Running setup.py install for RbTools
    Installing post-review script to /usr/local/bin
Successfully installed RbTools
$ aptitude search memcached
p   libcache-memcached-perl              - Perl module for using memcached servers
p   libmemcached-dbg                     - Debug Symbols for libmemcached
p   libmemcached-dev                     - Development files for libmemcached
p   libmemcached-tools                   - Commandline tools for talking to memcached via
p   libmemcached2                        - A C and C++ client library to the memcached ser
p   memcached                            - A high-performance memory object caching system
p   memcachedb                           - Persistent storage engine using the memcache pr
p   php5-memcached                       - memcached extension module for PHP5
$ which rb-site
/usr/local/bin/rb-site

$ rb-site --help
Usage: rb-site command [options] path

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --console             force the console UI
  -d, --debug           display debug output
...
  'install' command:
    Installs a new Review Board site tree and generates web server
    configuration files. This will ask several questions about the
    site before performing the installation.
...
  'upgrade' command:
    Upgrades an existing site installation, synchronizing media trees and
    upgrading the database, unless otherwise specified.
...