commit | 5bb85d937a6d9e41df0722f4c28b968c9c824e0c | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Fri Dec 04 15:16:19 2020 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Thu Dec 10 13:17:54 2020 +0100 |
tree | 420ae1bedba17f253d3122f0daa402172b8d9bc6 | |
parent | 17420e925c3173f36e5ee17eee64a61f544d1ef6 [diff] |
Add test helper methods to set users as code owner This removes duplicate code in tests and makes them more readable. For now only the test of CodeOwnerApprovalCheck make use of the new methods. For some of the tests we now use a code owner config in the root directory rather than a code owner config in the '/foo/' directory as the call is a little simpler and for the tests it makes no difference. Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: I80b916f6af260f3ea3d1cb956054c81d661aab59
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