| commit | 64c6d5642bb1b225c570857d436d4f0edd0d55c8 | [log] [tgz] |
|---|---|---|
| author | Luca Milanesio <luca.milanesio@gmail.com> | Sun Nov 23 20:59:50 2025 +0000 |
| committer | Luca Milanesio <luca.milanesio@gmail.com> | Sun Nov 23 21:00:49 2025 +0000 |
| tree | e5ee01af714e1e008f51d92fc6128a42d6ceeaff | |
| parent | a7e3a09c15725128945259e6a8e2244be66e3893 [diff] |
Add missing curly brackets in break condition Gerrit uses curly brackets as code style for all blocks. Release-Notes: skip Change-Id: I74509dbdb402432ce8b5da6103f4df7fcc82d07b
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 //plugins/delete-project/web:web_test_runner
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.