commit | 71e864a319d3e63cdff298e233e92da153dc2b90 | [log] [tgz] |
---|---|---|
author | Milutin Kristofic <milutin@google.com> | Wed Oct 27 14:35:39 2021 +0200 |
committer | Milutin Kristofic <milutin@google.com> | Wed Oct 27 22:40:28 2021 +0200 |
tree | 3fc1da6f67ac90634e5c35d9dc66e07aff08a643 | |
parent | d04b02bc436e09326dd7a715252adfac348b5550 [diff] |
Connect code-owners with new submit requirements Related to Change 322136 Google-Bug-Id: b/202289548 Change-Id: I86f2c5f7ec660006bdf0c1e847d94455d7d3649b
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
.