commit | f45ea0f165d342db1a6b9e0d823d0c71f853d92b | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Tue Sep 18 14:03:52 2018 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Wed Sep 26 14:06:22 2018 +0200 |
tree | 7c7d4dbabcf00550ee3cd791a2c01199264a1cdf | |
parent | 0538d75db5e3bfc778c8b6cadec4f2d884df488e [diff] |
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
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.