commit | caf5bb1ed0bbe0f1e930c584925711e6236f0020 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Apr 16 10:19:47 2021 +0200 |
committer | Edwin Kempin <ekempin@google.com> | Fri Apr 16 10:23:16 2021 +0200 |
tree | 769893bdbd7122b5f9819a22a548c391e96885a1 | |
parent | 034b65c982d642c9752d1b99e7a6ccb2303f9f83 [diff] |
CodeOwnerSubmitRule: Do not return RULE_ERROR for internal server errors Change I018ce9e13 in Gerrit core redefined RULE_ERROR to be only used for user-caused errors, but no longer for internal server errors. Internal server errors in a submit rule should be thrown as a RuntimeException now. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Id32b1212b4680f13368c070b3cff68ab01e84c54
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.