commit | a8ea07c787c5d10a580c348138808676479ea043 | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Mon Jan 24 11:58:13 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jan 24 11:58:13 2022 +0000 |
tree | 41483f9f75f5291b98302303d959e7a65ecc30ec | |
parent | 242ed61f2213b1d6576afe32114235daa48ba26e [diff] | |
parent | 002c79a10c5897855339d825542b83af976c801e [diff] |
Merge "Adapt to API change in Gerrit core and handle case where branch rev not present"
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.
Also see resources/Documentation/about.md.
IMPORTANT: Before installing/enabling the plugin follow the instructions from the setup guide, see resources/Documentation/setup-guide.md.
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/code-owners/ui:code-owners cp -f bazel-bin/plugins/code-owners/ui/code-owners.js plugins/
and let the Dev Helper redirect from .+/plugins/code-owners/static/code-owners.js
to http://localhost:8081/plugins_/code-owners.js
.