Clone this repo:
  1. 52a0419 Fix tests in the plugin to avoid implicit merges. by Dmitrii Filippov · 6 months ago master
  2. 302cf29 Don't reply on EventGson as that is not bound in all environments by Patrick Hiesel · 10 months ago
  3. 9dce875 Perform work asynchronously by Patrick Hiesel · 10 months ago
  4. 8ef8bfe Fix addTapListener both on initial load and on navigation. by Taylor Santiago · 1 year, 5 months ago stable-3.5 stable-3.6
  5. 941930a Use Flogger for writing logs by Edwin Kempin · 2 years, 2 months 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.