review board 安装小结
来源:互联网 发布:软件系统产品设计方案 编辑:程序博客网 时间:2024/05/10 12:54
本文关键字: review board, code review, ubuntu, 安装,配置
局限性:只是实现了request,review等功能里最基本的内容,可以说只是一个原型测试,很多地方未测试和完善; 凭记忆写下,有些地方可能记不全了。
这一周在ubuntu上安装了review board,把一些经验总结一下备忘,作个阶段性小结。
review board的简介
本来想使用google的rietveld,后来在stackoverflow上有人介绍reviewboard,所以就转而使用reviewboard。原因有几个:1)reviewboard doesn't need google account;2)review board support better post-preview than rietveld. 3) reviewboard is older than rietvele, seems more stable 4) review board supports more VCS(version control system)
They have same functions: 1) the same review working flows: new request --> review --> submmit 2) use web server 3) well supported on ubuntu 4) widely used
So, I select review board.
安装方法和注意事项
you can get most lots of help from http://www.reviewboard.org
1. install review board dependencies
install database, python, apache2,memcached,etc. please refer to Adminstator guide
*sqlite is just for demo, it doesn't well support concurrent request
*memcached is a memory tool for speeding server access
2. install review board
$ easy_install ReviewBoard
* easy_install is a python facilitate-install tool.
3. create and config review board web sites
$ rb-site install /var/www/reviews.example.comAttention1:
If you’re using Apache, we highly recommend using mod_wsgi. fastcgihas been known to have memory leak issues with Review Board, andmod_python is no longer developed or shipped with Apache.
We also strongly recommend installing and using memcached. This willgreatly improve performance of your Review Board installation. Ifpossible, put this on a server with a lot of RAM.
Attention2 change permission:
$ chown -R www-data /var/www/reviews.example.com/htdocs/media/uploaded$ chown -R www-data /var/www/reviews.example.com/data
Attention3 ubuntu apache2 knowledge:
ubuntu apache2 is install at /etc/apache2
apache2.conf httpd.conf are tool main configure files.
Configure files under sites-availabe are virtual host configure files.
Files under sites-enable softly link to files under sites-available
After modifying configure files, you can restart apache2 by sudo /etc/init.d/apache2 restart
Add below two lines to httpd.conf
ServerName yyytest
DocumentRoot /var/www/reviews.example.com/htdocs
Then input 127.0.0.1 in browser you can see Review board page. Input 127.0.0.1/admin you can see Admin page.
4. config review board
add users, you can add email for a user, the user default belows to review group
config email : email server: smtp.huaqin.com , port is 25, don't add user and password
5. new request
First add your working repository by admin. I add a git VCS, input the local whole git directory "
You can get diff file by "git diff > diff-file"
If you can't edit in the "new request " pages, please try other browser like chrome.
After editting, you can publish.
6. review
Reviewer will see the requesting mail.
Without DNS, the reviewer client can access with IP directory, or access with domain after modifying host file(for windows, C:/window/system32/driver/etc/host)
After review , publish your comments.
需要改进的地方
1. 服务器只能以127.0.0.1访问,无法通过域名访问
2.客户端只能通过IP访问,无法通过域名访问
3.没有尝试链接svn
4.没有尝试post-review
5.目前的sqlite只能供demo使用,还需要尝试安装mysql
6. firefox还不能编辑,而公司内部大部分使用ff
7. 希望实现review, 代码提交的一体化,使得review过程更有效
工作收获:
1. study sofeware tutorial,practise english reading
2.try & think, find others' support
3. know basic apache config, email configuration
- review board 安装小结
- CentOS安装Review board
- Windows 下安装Review Board
- CodeReivew工具 Review Board 安装使用札记
- Review Board安装和配置札记
- code review工具Review Board(一)-- 安装
- review board 安装和使用系列 ---(二)review board的安装
- review board 安装和使用系列 ---(三)创建新的 Review Board 站点
- Review Board Creating a Review Board Site
- Code Review : Review Board + Svn
- review board 安装和使用系列 ---(五)RBTools使用
- review board 安装和使用系列 ---(一)RB简介
- 协作利器:Review-Board
- Review Board中文支持
- Review Board 的使用
- Review Board Installing on Linux
- review board 安装和使用系列 ---(四)server配置及手动提交diff文件
- Review board 和 Git 配合使用 一
- Linux内核中的list_head结构体以及list_entry宏
- 真正解决ScrollLayout与Gallery等组件的滑动冲突
- javascript 模板 javascript-jstl
- android从未安装的apk文件里获取信息(包信息,资源信息)
- perl:DNA序列翻译成氨基酸序列的若干方法,直接法,简并法,哈希法,以及perl中的uc和lc函数(上)
- review board 安装小结
- 为什么要研究页面价值
- Neville 算法解多项式插值
- Android BroadcastReceiver学习 01
- ListView异步加载图片的解决办法
- 10-22
- Android Bluetooth HID实现详解
- Html5--动能守恒不守恒你说了算
- spin控件