I have read many articles about time postreview, but there are many problems in the implementation process. I will write down the principle of my implementation for your reference! For the building process, refer to: workshop! To implement post-review, you must use the RBTools tool. You can find it on the official website!
I have read many articles about time postreview, but there are many problems in the implementation process. I will write down the principle of my implementation for your reference!
The process of building can refer to: http://www.linuxidc.com/Linux/2014-07/104089.htm
I don't know the difference between pre-review and post-review!
To implement post-review, you must use the RBTools tool. You can find it on the official website!
I downloaded the egg file of RBTools and installed it with easy_install.
Start configuration: (I configured it in Ubuntu)
1. Configure the SVN address on the webpage, for example, file: // home/svn/xxx. You can also use http: // xxxxx.
2. A working copy in the local checkout, in the working copy:
# Rbt set-repo (Use this command to create a. reviewboardrc file)
3. After Successful Configuration, You can implement the post-review function.
Optimization
In this way, post-review is not useful in actual work. To continue optimization:
Requirement: automatic submission and automatic trigger mail Notification to relevant personnel for review
There is a post-conmmit file in the svn hook. You can write the script here:
RBUSER = 'svnlook author-r "$2"/home/svn/nms'
Rbt post -- server = "http: // IP" -- username = 'user' -- password = 'passwd' -- submit-as = $ RBUSER -- repository-url = "file: /// home/svn/NMS "$2
After this setting, each submission will generate a draft file on the ReviewBoard with the email address. Then, the reviewers can be notified by email.
Ubuntu ReviewBoard installation process http://www.linuxidc.com/Linux/2014-07/104089.htm
Install ReviewBoard http://www.linuxidc.com/Linux/2014-05/101222.htm on Ubuntu
Build a Reviewboard on CentOSHttp://www.linuxidc.com/Linux/2014-04/100220.htm
Install ReviewBoard on Ubuntu ServerHttp://www.linuxidc.com/Linux/2009-06/20420.htm
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-07/104091.htm