Revert "Get rid of usage of private _getElement from automerger."

This reverts commit b9bab3a0c4c36de55824c8544baad33e5c5c324c.

Reason for revert: Doesn't compile correctly

Change-Id: I60d4ab08baa7cad7e61d02d6725503a05bb4cb37
1 file changed
tree: b6de23a163a84c092e4452c105969a4e9882a64e
  1. src/
  2. web/
  3. .gitignore
  4. BUILD
  5. external_plugin_deps.bzl
  6. LICENSE
  7. LICENSE-re2j
  8. README.md
README.md

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.