commit | e2c70ab914716f3441d06a7b4ab4320eaf667c42 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Feb 16 12:46:22 2024 +0000 |
committer | Edwin Kempin <ekempin@google.com> | Fri Feb 16 12:46:22 2024 +0000 |
tree | fd77cb49dd226ca5f748fd6a055a05156c2c8b5e | |
parent | 75b79c115ba3dd03aa56a3165e6c319fa30c6c4a [diff] |
Fix PreferredInterfaceType ErrorProne warnings https://errorprone.info/bugpattern/PreferredInterfaceType We intent to set PreferredInterfaceType to ERROR in Gerrit core. Change-Id: I9de6ced5136561f4ac5fa5a8be05a896996f0578 Signed-off-by: Edwin Kempin <ekempin@google.com>
A plugin which allows projects to be deleted from Gerrit via an SSH command, REST API or the Project settings screen.
For running unit tests execute:
bazel test --test_output=all //plugins/delete-project/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/delete-project/web:lint_test bazel run //plugins/delete-project/web:lint_bin -- --fix "$(pwd)/plugins/delete-project/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/delete-project/web:gr-delete-repo cp -f bazel-bin/plugins/delete-project/web/gr-delete-repo.js plugins/
and let the Dev Helper redirect from .+/plugins/delete-project/static/gr-delete-repo.js
to http://localhost:8081/plugins_/gr-delete-repo.js
.