tag | 8d8f11f24afed17f8b1e6aa616f3ef8acdc8d11d | |
---|---|---|
tagger | Luca Milanesio <luca.milanesio@gmail.com> | Fri Apr 12 15:34:25 2024 +0000 |
object | 93038507ff113042bf09ba96d788af43a5deff28 |
v3.9.3
commit | 93038507ff113042bf09ba96d788af43a5deff28 | [log] [tgz] |
---|---|---|
author | Nitzan Gur-Furman <nitzan@google.com> | Thu Nov 02 14:18:31 2023 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Mar 04 13:58:41 2024 +0000 |
tree | b2214618a49db9bb5840ba1b3af1dee15061221b | |
parent | 5cdfd7a75f3bb7350d0ea04545636510c829aba6 [diff] |
Update delete-project plugin following I479588df Bug: Google b/289357382 Release-Notes: skip Change-Id: Ia047b6a5a66ff605c2e229f26928d7722a155645 (cherry picked from commit 723264be4256494c45f5ba056e81be2ad25bbe7c)
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
.