Clone this repo:
  1. f7dc987 Add Cherry-Pick mode. by Taylor Santiago · 5 weeks ago master
  2. 1f07de4 Fix user lookup to take into account contextUserId. by Taylor Santiago · 5 weeks ago
  3. b275c98 Capture CurrentUser in event listeners to use in ExecutorService threads. by Taylor Santiago · 6 weeks ago
  4. d702775 Fix the 204 handling in rest api call. by Kamil Musin · 7 weeks ago
  5. 2e90c2a Migrate from the deprecated Charsets to StandardCharsets by Edwin Kempin · 7 weeks ago

Gerrit Code Review Automerger Plugin

See src/main/resources/documentation.

Web Plugin Development

For running unit tests execute:

bazel test --test_output=all //plugins/automerger/web:karma_test

For checking or fixing eslint formatter problems run:

bazel test //plugins/automerger/web:lint_test
bazel run //plugins/automerger/web:lint_bin -- --fix "$(pwd)/plugins/automerger/web"

For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/ folder:

bazel build //plugins/automerger/web:automerger
cp -f bazel-bin/plugins/automerger/web/automerger.js plugins/

and let the Dev Helper redirect from .+/plugins/automerger/static/automerger.js to http://localhost:8081/plugins_/automerger.js.