commit | 9d6982c73b36a9d65b9b66af3f8027098df4507f | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Jun 10 06:22:46 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jun 10 06:22:46 2022 +0000 |
tree | 77598e48167a8037946ce5a0c57f93bcf2317786 | |
parent | 7129c2a9a7b69e47b6373bfee0c51695f77c9541 [diff] | |
parent | 53919c251f40dfe3887854dbdf1259c1820c0135 [diff] |
Merge changes Ife0cb7fb,Id1a0a442,Idaafa178,I204ed759 * changes: Document that being a code owner doesn't grant the user permissions to approve ChangedFiles: Correct comment about initial commits Document that per-file lines should not contain additional spaces Document why non-resolvable emails are reject with a generic message
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.
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
.