Commit f6f3c7a4 authored by Johann's avatar Johann Committed by LUCI CQ

[docs] update links to developer guide

Change-Id: I906654a06f2833c8ca4089aa7eae3bab104f013a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3020735
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Commit-Queue: Anthony Polito <apolito@google.com>
Reviewed-by: 's avatarAnthony Polito <apolito@google.com>
parent 5eebf6fa
......@@ -3,7 +3,7 @@
# found in the LICENSE file.
# Watchlist Rules
# Refer: http://dev.chromium.org/developers/contributing-code/watchlists
# Refer: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/infra/watchlists.md
{
......
......@@ -143,13 +143,16 @@ def CheckAuthorizedAuthor(input_api, output_api, bot_allowlist=None):
if not any(input_api.fnmatch.fnmatch(author.lower(), valid)
for valid in valid_authors):
input_api.logging.info('Valid authors are %s', ', '.join(valid_authors))
return [error_type(
('%s is not in AUTHORS file. If you are a new contributor, please visit'
'\n'
'https://www.chromium.org/developers/contributing-code and read the '
'"Legal" section\n'
'If you are a chromite, verify the contributor signed the CLA.') %
author)]
return [
error_type((
# pylint: disable=line-too-long
'%s is not in AUTHORS file. If you are a new contributor, please visit\n'
'https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/contributing.md#Legal-stuff\n'
# pylint: enable=line-too-long
'and read the "Legal stuff" section\n'
'If you are a chromite, verify that the contributor signed the CLA.') %
author)
]
return []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment