Fix the way the rest API is called

- The URL is relative to the base path, so we must prefix it with a /
- The variable name should be different from the function name

Change-Id: I8184cc4ea0446b313a668044aba52ac2535e7430
1 file changed
tree: 8217e65033330ad667e41cc7dcde750800510067
  1. .gitignore
  2. BUILD
  5. gr-simple-submit-rules-repo-config/
  6. plugin.html
  7. src/
  8. 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.