commit | 811985d544b0712eb7721f9e8c3b0ba49cdfd476 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Wed Sep 26 14:57:40 2018 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Wed Sep 26 14:57:40 2018 +0200 |
tree | 0f2879c4708763e14a2057a55aa694ef1b46150f | |
parent | f45ea0f165d342db1a6b9e0d823d0c71f853d92b [diff] |
Pass around ProjectConfig instead of ProjectState There is an ongoing effort to make ProjectState immutable and we use ProjectConfig as an object directly in other places where we update it. Therefore, pass around ProjectConfig instead of ProjectState. Change-Id: Ie78f3869a7ac511d639d1040dbc273c2a6253c3d
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.