Hacker News new | ask | show | jobs
by rjbrock 3964 days ago
You can make code reviews required by using something like Gerrit (https://code.google.com/p/gerrit/) and having it be the gate to your master branch.

The system I use at work is:

code -> push to gerrit -> gerrit automatically runs all unit tests and if they pass you get a +1 from gerrit -> get a code review + approval from a colleague -> submit.

So to get a piece of code to production you need both all unit tests to pass AND a code review. I am a big fan of this system and gerrit