Add labels to the settings web interface

This new form allows project owners to configure the behavior of their
labels: what function should be used to allow/block submission, if the
change owner can self-approve his change, and when the votes should be

Change-Id: I180de2b6c3c5decf8192e84d960c37a861d9240a
7 files changed
tree: 43215cc11c64730081803464629c7133913fd39b
  1. .gitignore
  2. BUILD
  5. gr-simple-submit-rules-label-config/
  6. gr-simple-submit-rules-repo-config/
  7. plugin.html
  8. src/
  9. tests.html

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.