Code Review

RhodeCode Enterprise uses a color coded code approval system to allow you quickly helps to identify the approval status.

  • Green = Approved
  • Yellow = Currently under review
  • Red = Rejected
  • Grey = Not reviewed yet

Review Changes

RhodeCode Enterprise displays all code changes made with each commit. Changed content is marked in red and new content in green in both the basic view and side-by-side diff.

Side-By-Side Diffs

To review code with a side-by-side diff, use the following steps:

  1. Open the repository in which you wish to review a file
  2. Select the revision you wish to review
  3. Select the side-by-side diff icon beside the file name

Issues and Notifying Users

During code review you can click on any line within the changeset and leave an inline comment to pinpoint issues directly where they are in the code. This allows you to leave feedback, suggest improvements, pinpoint further issues, or delegate next steps to resolve any issue. To notify others of your review comments use the notification function within RhodeCode Enterprise. To use this, type @username in your commit message or inline comment and your colleague will receive a notification of your comments.

Approve Changeset Status

To approve or reject commits use the following steps

  1. Open the repository that contains the commit to review
  2. Select the commit you wish to review
  3. Select Change Changeset status, and set the status.
  4. Leave a review comment and click comment, for example:
Hi, @Thomas I am rejecting the hell out of the hello world commit. Way too hipster

Note

You can use the RhodeCode Enterprise API to automate and set up continuous integrations servers and deployment.

Approve Code Status

To approve or disapprove revisions please follow these steps:

  1. Open the repository that contains the code to review
  2. Select the revision you wish to review
  3. Use the color coded diff to scan code changes
  4. Select Change Approval Status
  5. Leave review comment and click on comment.