Cleanup classes Remove the complicated constructor SimpleSubmitRulesModule, it is error-prone and Guice might not be entirely ready at this point. Remove #getConfig, which was only used once from NoUnresolvedCommentsRule. Directly call the right method. Qualify sub-classes imports. Change-Id: Ic5a6a4875861279ae237ca6438adf5fd7694a29e
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.