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 
9 files changed
tree: d817530e455825bea3bfc6bf00ce568c73b78143
  1. src/
  2. .gitignore
  3. BUILD
  4. LICENSE
  5. README.md
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.