commit | 3d489e2028c0cc4dad4dfdfabd1f4128d2dd9784 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Wed Sep 30 12:57:08 2020 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Thu Oct 01 14:18:50 2020 +0200 |
tree | 42e3842af40b6b5bf606f9a23ddb599f72d848b9 | |
parent | 7adaa59b52784c3e5fc82ff50d2c03fed84227a0 [diff] |
Add REST endpoint to validate the code owner config files of a project This REST endpoint allows project owners to validate the code owner config files in their projects and fix the detected issues. This is important since code owner config files can become invalid after they have been submitted, e.g. because a referenced code owner config file has been deleted. No validation is done for branches for which the code owner functionality is disabled. In the ProjectCodeOwners API class we have an inner class to represent the request to check code owner config files so that we can add parameters for this REST endpoint later without making an incompatible API change. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I3cfa1b846a6dc223e849b6b9c57a7c9ea03abddc
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