Rename NEVER_SUGGEST annotation to LAST_RESORT_SUGGESTION

With change Id71314cbd the behavior of the NEVER_SUGGEST annotation was
changed, so that code owners the are annotated with NEVER_SUGGEST are
suggested if otherwise the suggestion result would be empty. This is a
bit confusing since this behavior doesn't match the name of the
NEVER_SUGGEST annotation which implies that code owners with this
annotation would never be suggested. To remove this confusion the
NEVER_SUGGEST annotation is renamed to LAST_RESORT_SUGGESTION which
describes the behavior much better. Code owners with this annotation are
suggested as a last resort if no other code owners are available.

Renaming the annotation is a backwards incompatible change and code
owner config files that already use the NEVER_SUGGEST annotation need to
be adapted manually. This is fine, since as far as we know this is only
used at a single place so far.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I74726784ee7138f40aeb9d783e5ee52c917f2ce7
7 files changed
tree: 2759d87075cb6dd0fbd46f95e2bcdcfdedbbac4d
  1. java/
  2. javatests/
  3. proto/
  4. resources/
  5. test/
  6. ui/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. bower.json
  11. BUILD
  12. LICENSE
  13. package-lock.json
  14. package.json
  15. README.md
README.md

Gerrit Code Review code-owners plugin

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.