commit | fac8815949114d58b65dceda355bf80f7ec2adee | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser@codeaurora.org> | Mon Dec 06 13:02:45 2021 -0700 |
committer | Nasser Grainawi <nasser@codeaurora.org> | Mon Dec 06 21:27:13 2021 +0000 |
tree | 37ada182f8f6bef7b43c6656eb696bd8f598523e | |
parent | fed529c129169d21fef98d1209b68b3bc3d10246 [diff] | |
parent | 612f143792652d571ecfcb19915ad5754a3ba1a7 [diff] |
Merge branch 'stable-3.5' * stable-3.5: Adapt to new ProjectCache interface Depends-on: https://gerrit-review.googlesource.com/c/gerrit/+/324075 Change-Id: I4a81e47e1bcae476da5ba345bfbba2eaa02181a3
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
.