| commit | ff4179a04cc291e2f6fd3168af9bbca2064f4829 | [log] [tgz] |
|---|---|---|
| author | Daniele Sassoli <danielesassoli@gmail.com> | Wed Dec 03 13:36:17 2025 +0000 |
| committer | Daniele Sassoli <danielesassoli@gmail.com> | Wed Dec 03 08:35:27 2025 -0800 |
| tree | 3bf59a15ce7fa8efdc419a39a6b73d8e045906aa | |
| parent | 673bbb7bd59acdf4eec4986e70b560dd6f162178 [diff] |
Simplify calculation of overdue files list The casting to FileTime is needless and the compareTo method is not as clear to read as a simple great than operator. Change-Id: Ib736a7e92324e165635c5271fe24bdc4bc977e0f
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.