Merge branch 'stable-2.16'

* stable-2.16:
  ConfigServlet: use provider to get "MetaDataUpdate.User"
  Remove deprecated API field
  Remove wrongly used @Singleton
  Reformat with gjf
  Correct UI label to match API
  Ship simple-submit-ui as 'simple-submit-rules.html' instead of ssr

Change-Id: I6123b12a4d49d67f6f6d55588ad8661419369a77
tree: f08ed8b9baf2d2bef471247ebfab4f05af603e92
  1. .gitignore
  2. BUILD
  5. gr-simple-submit-rules-label-config/
  6. gr-simple-submit-rules-repo-config/
  7. plugin.html
  8. src/
  9. tests.html

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.