Add first version of the simple-submit-rules plugin

Add a REST API to configure the rules and labels.
Add the "Unresolved Comments" rule.
Add the "Require non Author Approval" rule.
Add tests, documentation and required bootstrap files (BUILD).

Change-Id: I0167ffa57e27b10d5e977ef2684f20759531ccc6
18 files changed
tree: 67678bde209c4d520fbbdd23612716f5247ffca6
  1. .gitignore
  2. BUILD
  5. src/

Simple Submit Rules plugin

Gerrit plugin to provide simple submit rules and a rest API to configure them.

By simple, we mean any rule that can be described in one sentence. Or fits in a tweet.

Having a set of simple rules makes composition easier, thus allowing harder rules to be defined ... in a simple way :)

Of course, this plugin can't contain all the simple rules one can think of, and will only contain rules that seem popular or interesting to have.