| commit | ae4ee2acf4a72c508d079ccd9666a64e8bcf6dae | [log] [tgz] |
|---|---|---|
| author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Jun 28 07:53:59 2022 +0000 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jun 28 07:53:59 2022 +0000 |
| tree | d644a961b63dcb19f1704d3b94d4df0ab5d575e2 | |
| parent | b183ee5230273670f3235cc5b3cf32562ccfb7ee [diff] | |
| parent | 306cacedebb61c9ae0afd133d6cb48f8533e751e [diff] |
Merge "Send project-deleted event after project deletion"
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.