Starting code reviews with Crucible

转载 2012年09月10日 10:44:47
Crucible is an Atlassian product which makes code reviewing process easy.

Here I describe the steps I learned in creating a code review in Crucible. Hope this helps some one who is new to Crucible like me.

Step 1: Login to your crucible account in the hosted crucible server instance.
Step 2: Start creating a review by:
    - Clicking 'Dashboard' on the menu bar on top-> click 'create review' on left hand pane.
    - OR clicking 'Tools' on top right corner and select 'create review'.
Step 3: Select a project for the review by the drop down list.

Here, in the drop down list, you may or may not find the project that include source files that you are going to review. You will find it in the drop down list only if some one had already added that project before for a code review. 

If you find it in here, then your life will be easier. Just follow the rest of the steps mentionedhere to complete creating the code review.

If you did not find the project that you want to review on the aforementioned list, then you have to create a project by going to the administration panel.

i. Click on the drop down icon next to your name on top right corner and select 'Administration' .
ii. Login with the administration credentials.
iii. In the Admin menu (on the left) select 'new' under 'Project Settings'.
iv. You will have to enter the details of the project that you are going to create here. Under the Default Repository, you need to select the repository location of the project that you are going to create for the review.
v. If the repository is not already added, you can create a repository by selecting 'new' under Repository settings on the Admin menu.

You have to be little careful about filling the repository details, for the 'svn url' you need to give the root svn location and under 'svn path', you need to give the specific path to the location of the files of your project.

For an example, if you are going to review the code located in: https://svn.wso2.org/repos/wso2/trunk/carbon/components/apacheds-server/,
svn url is: https://svn.wso2.org/repos/wso2/
svn path is: trunk/carbon/components/apacheds-server/

I got the following error when creating the repository because of not setting above two values correctly.
Repository paused due to error - class com.cenqua.fisheye.rep.DbException: Problem getting diff information...
There fore make sure to fill them correctly.


After creating the repository, go back to step iv above and complete the project creation step.

Now go to your account's dashboard again, and in the Step 3 above, now you will see the project you created in the drop down menu. So you can continue with creating the review.

Atlassian has developed plug-ins to integrate crucible with Intellij-IDEA so that you can participate in code reviews and perform all the actions with in your favorite IDE.
Find how to install the plug-in here
Find how to configure the plug-in for your project and IDE from here.
Then find how to use Intellij IDEA for code reviews here.

Happy code reviewing..! :)



CentOS7.0下mysql服务启动失败的快速解决办法

启动mysql服务[root@localhost~]#/etc/init.d/mysqld start之后出现报错:Starting mysqld (via systemctl): Job for m...
  • king_1421484363
  • king_1421484363
  • 2017年06月15日 16:40
  • 4290

RabbitMQ的安装,配置,监控 ,集群安装 心得

RabbitMQ的安装,配置,监控 ,集群安装 心得
  • ssdfsfdf
  • ssdfsfdf
  • 2015年03月16日 20:29
  • 2209

RabbitMQ集群环境部署

(1)wget http://www.erlang.org/download/otp_src_R13B04.tar.gz (2)tar -zxvf otp_src_R13B04.tar.gz (3)c...
  • zdq0394
  • zdq0394
  • 2013年11月07日 10:38
  • 4498

Automated code reviews with Checkstyle, Part 1

Automated code reviews with Checkstyle, Part 1 Automated code reviews with Checkstyle, Part 1 By S...
  • liq2004
  • liq2004
  • 2011年12月20日 06:39
  • 476

Starting.Out.with.Cplusplus.from.Control.Structures.to.Objects .8th.and Code

  • 2016年05月07日 00:20
  • 6.25MB
  • 下载

Serving less HTML code starting from .NET 4.0 with ClientIDMode property

原帖地址:http://devnet.kentico.com/Knowledge-Base/Web-parts-Controls/Serving-less-HTML-code-starting-fro...
  • broze
  • broze
  • 2013年06月24日 14:49
  • 715

C# Code Reviews using StyleCop

Table of Contents IntroductionC# Code Reviews using StylecopComparing FXCOP with StyleCopIssue of...
  • yefengmeander
  • yefengmeander
  • 2011年08月30日 15:13
  • 532

如何做好code Reviews

代码review是一个工程师去检查另一个工程师所写的代码是否有缺陷和可改进空间的过程。换言之,开发者自己写代码,而当代码写好后,会叫上另一位工程帮助审查,这就是代码的review。 代码review已...
  • weixin_37546664
  • weixin_37546664
  • 2017年05月04日 22:51
  • 99

Code reviews in the 21st Century

Alex Staveley 02/07/2012 Alex Staveley is a software professional passionate about software ...
  • simon8410
  • simon8410
  • 2012年02月10日 17:22
  • 544

Code Reviews

You should do code reviews. Why? Because they increase code quality and reduce defect rate. But not...
  • hellominix
  • hellominix
  • 2013年03月30日 20:45
  • 214
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Starting code reviews with Crucible
举报原因:
原因补充:

(最多只允许输入30个字)