Add config option to disallow functions globally

There are cases where the host administrator wants to ensure that all
labels have functions from a set that they define. This commit adds
a configuration parameter to the project.config's plugin section
that makes it so that functions can be disallowed for each label.

Change-Id: I3eb497d7f2d3abb1cdad42c25cf2ad86eac2e01d
3 files changed
tree: 820097dd2a445715a68a8f209b4298a80a1b50c7
  1. gr-simple-submit-rules-repo-config/
  2. src/
  3. .gitignore
  4. BUILD
  5. LICENSE
  6. plugin.html
  7. README.md
  8. tests.html
README.md

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.