| commit | 8c44ef0352fa0ab15ad6fe3d64ea967e69e7cee9 | [log] [tgz] |
|---|---|---|
| author | Paladox none <thomasmulhall410@yahoo.com> | Wed Apr 23 16:59:50 2025 -0700 |
| committer | Paladox none <thomasmulhall410@yahoo.com> | Wed Apr 23 17:20:59 2025 -0700 |
| tree | f8f84ee4be2ca05074e35de1cc871dbf2037514e | |
| parent | 04815f5f664e8abd41097c1c348b9a672321104c [diff] |
Migrate from karma to web-test-runner We want to get rid of the final remnants of karma from gerrit core. The recommended way to run tests is with web-test-runner. Depends-On: I4e9134e04475d7375d7a09d618892edbe0b555bc Change-Id: Ic708f4b0d53970c3f1ed5fb1e6a0cad97a66d284
This plugin provides support for defining code owners for files in a repository.
If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.
For a detailed description of the plugin functionality please refer to the plugin documentation.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide.
NOTE: The plugin documentation only renders correctly when the plugin is installed in Gerrit and the documentation is accessed via https:///plugins/code-owners/Documentation/index.html. If you want to read the documentation before installing the plugin, you can find it properly rendered here.
From the root of the gerrit repository.
bazel test //plugins/code-owners/web:karma_test
For testing the plugin with the Gerrit FE Dev Helper the command below builds
bazel build //plugins/code-owners/web:code-owners
ln -s bazel-bin/plugins/code-owners/web/code-owners.js polygerrit-ui/app/plugins/
and let the Dev Helper redirect from .+/plugins/code-owners/static/code-owners.js to http://localhost:8081/plugins/code-owners.js.