Add option to plugin config to disallow copy score rules

There are settings where it is desirable that only a certain set of copy
score rules can be set. Similar to preventing the configuration of labels
with certain functions, we add an option to prevent the configuration of
copy score rules.

Change-Id: I878fa21f057fa75bc6e4e8b8cb8fcd5d027a8705
3 files changed
tree: 7c7d4dbabcf00550ee3cd791a2c01199264a1cdf
  1. gr-simple-submit-rules-label-config/
  2. gr-simple-submit-rules-repo-config/
  3. src/
  4. .gitignore
  5. BUILD
  6. LICENSE
  7. plugin.html
  8. README.md
  9. 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.