commit | 8da2e8f8fba5b62c08cb3b3772735d580f047f32 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Mon Sep 03 10:00:21 2018 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Fri Sep 14 08:56:11 2018 +0200 |
tree | 820097dd2a445715a68a8f209b4298a80a1b50c7 | |
parent | 68e6a174e05c47bb43ac4cbe66717d7c0a226244 [diff] |
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
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.