Lightweight code review of changesets

Description

This plugin comes with its own CommitTicketReferenceMacro which can be optionally used instead of the built-in one to display the current status within the ticket:

When a review summary is provided, it gets added to any/all tickets referenced in the changeset (also shown above).

There are other good code review tools out there that I've used (e.g., ​gerrit) but I wanted something very lightweight that fits well into our existing Trac ticket workflow. The few existing Trac-based code review plugins (below) appear to be unmaintained. And so this plugin was born.

Download

Source

Examples

The screenshots in the examples above show basic examples. There are some additional extensions:

Workflow

There are many ways to integrate code reviews into your Trac ticket workflow. As just one example, you may have a phase custom field that includes different phases:

implementation

codereview

verifying

If you wanted to prevent the phase from moving beyond "codereview" until all pending code reviews were completed and the last changeset passed review, then you can add the following DynamicFieldsPlugin rules: