commit | 8fe544ac569efa357ee054257143d8e1d4aa6afd | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Tue Sep 28 20:17:38 2021 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Wed Sep 29 10:11:33 2021 +0000 |
tree | 9f22520580795fa9db719a79e2eb85c6b89e5830 | |
parent | 3481845462f86959ff4ae4efb726e2bc3e494c3d [diff] |
Use base url for return url after deleting a repo Change-Id: I1d1a9b6a7744b8427297d57a7684d207436570cd
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
.