commit | f7dc987ee3a2b73c911f717ee1c0d3d82a359869 | [log] [tgz] |
---|---|---|
author | Taylor Santiago <taylorsantiago@google.com> | Sun Sep 08 14:10:44 2024 -0700 |
committer | Taylor Santiago <taylorsantiago@google.com> | Fri Sep 13 10:59:01 2024 -0700 |
tree | 0eecfca1dd54c6fad015fc7298aefbcc028d359a | |
parent | 1f07de4a96f7a5e7660bf1d3cb5839d1bba6e722 [diff] |
Add Cherry-Pick mode. Users can specify 'cherryPickMode = True' in the global section of automerger.config to enable this mode. Also, logging all exceptions thrown in event handler worker threads. Bug: 361415628 Change-Id: I7ce71d24f6f95184e6673af6286fcd363b43feb2
See src/main/resources/documentation.
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
.