codebrag - weakish/cheat GitHub Wiki

Codebrag is a commit based code review web application. It supports git and svn.

Pros

It's a lightweighted solution with pretty UI.

It supports multiple branches and multiple repositories.

It will not flood you with emails:

  • We notify you when something new (commits or follow-ups) is available while you are offline.
  • After sending one email about commits or about follow-ups, we do not bother you anymore.
  • Additionally you get a daily update email.

It's easy to install. Just unzip, provided that Java is already instead.

Cons

  • Its ram footprint is 250-350 MB (single user). Not light. But acceptable (better than Rails at least).
  • Diff only shows different lines. No syntax highlight, not even `struct a lines starts.: lsss
  • It only show three lines before and after for context. Sometimes it is too small, and we cannot expand it all view the whole file.

Install

wget http://codebrag.com/latest/codebrag.zip
unzip codebrag.zip
cd codebrag-2.3/repos
git clone your-repos

At least one repository must be cloned to run Codebrag. Additional repositories can be addd/removed later on.

Edit codebrag.conf

Set send-anon-usage-data to false to stop sending anonymous data about its usage.

To use email notification you need to setup email server and provide application URL (so emails will contain correct Codebrag URL).

You can use internal SMTP server or external one (GMail, Mandrill, mailgun, Amazon SES, etc.)

Usage

Run ./codebrag.sh start and stop.

Logs will be written to logs/codebrag.log Codebrag will be available at http://yourserver:8080.

First registered user is Admin user.

Use ./passwd.sh to reset password (or via Web UI menu).