commit | 75b79c115ba3dd03aa56a3165e6c319fa30c6c4a | [log] [tgz] |
---|---|---|
author | Alvaro Vilaplana Garcia <alvaro.vilaplana@gmail.com> | Mon Feb 12 13:45:06 2024 +0000 |
committer | Alvaro Vilaplana Garcia <alvaro.vilaplana@gmail.com> | Mon Feb 12 14:27:27 2024 +0000 |
tree | 69d81eb96ef298e11467ff879b1df752efd91e13 | |
parent | f046ac6773ea1c6e10b5e95b763ae685c24ec7f1 [diff] | |
parent | 825dcb41a9abfc5892ef3b0f8e89b7ca25c8dfe1 [diff] |
Merge branch 'stable-3.8' * stable-3.8: ConfigurationTest: Remove flaky invalidTargetArchiveFolder test Send Project Deleted Events also when archiving Change-Id: Ic64ac7317f430f520ef0350c0bbdb63846823086
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
.