Rename copyScores to copyScoreRules in REST API

copyScores is not indicative enough, so we rename it to copyScoreRules.
copyScores is now deprecated and will be removed in a future commit.

For now, the API remains compatible and will use the deprecated field
when copyScoreRules is null. It populates both fields on the returned
JSON object.

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