From df2f11113c23d65c1fd7824b7ab3c55f7cfb9604 Mon Sep 17 00:00:00 2001 From: Gavin Mak Date: Fri, 2 Jun 2023 21:53:47 +0000 Subject: [PATCH] Update code-owners documentation links Bug: 1223715 Change-Id: Ia4cfaf6c421432f0b64662ab02bc4041f32173d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4585553 Auto-Submit: Gavin Mak Commit-Queue: Aravind Vasudevan Reviewed-by: Aravind Vasudevan --- owners_client.py | 3 ++- presubmit_canned_checks.py | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/owners_client.py b/owners_client.py index 90de55499..cf5fb3c19 100644 --- a/owners_client.py +++ b/owners_client.py @@ -182,4 +182,5 @@ def GetCodeOwnersClient(host, project, branch): raise Exception( 'code-owners plugin is not enabled. Ask your host admin to enable it ' 'on %s. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.' % host) + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.' % host) diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 6a132f77d..8dc3012fd 100644 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -1343,7 +1343,8 @@ def CheckOwnersFormat(input_api, output_api): output_api.PresubmitError( 'code-owners is not enabled. Ask your host enable it on your gerrit ' 'host. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.') + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.') ] @@ -1363,7 +1364,8 @@ def CheckOwners( output_api.PresubmitError( 'code-owners is not enabled. Ask your host enable it on your gerrit ' 'host. Read more about code-owners at ' - 'https://gerrit.googlesource.com/plugins/code-owners.') + 'https://chromium-review.googlesource.com/' + 'plugins/code-owners/Documentation/index.html.') ]