Persist inherited labels locally in case they are modified

Before this commit, editing an inherited label would fail as only local
labels can be modified. This commit adds logic to copy down a label in
case it should be modified.

Change-Id: Icfa329bf7d6d6e43835c0fd94a407ea713161746
3 files changed
tree: fd68904b47e95b9e0f8a02f672de14f31e7a4da5
  1. .gitignore
  2. BUILD
  3. LICENSE
  4. README.md
  5. gr-simple-submit-rules-repo-config/
  6. plugin.html
  7. src/
  8. tests.html
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.