commit | c17d8939eb1d16cb0104d593ac21db0d0ae7e36f | [log] [tgz] |
---|---|---|
author | Youssef Elghareeb <ghareeb@google.com> | Wed Dec 28 10:14:09 2022 +0100 |
committer | Youssef Elghareeb <ghareeb@google.com> | Wed Dec 28 10:37:25 2022 +0100 |
tree | 1406e654f5b14e01f4d19385c887f68477d83b30 | |
parent | 75798469c9c491913afaaf45f725b620ec6a7612 [diff] |
Add @CanIgnoreReturnValue to methods that always return this This allows callers to ignore the return value of the method. Change-Id: I732e6a86ee76aef94206811ed49f78bea7d0011b
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
.