From e5dc62aeb8a724bee0a553f901c051940b6e28b4 Mon Sep 17 00:00:00 2001 From: kjellander Date: Wed, 14 Dec 2016 00:16:21 -0800 Subject: [PATCH] PRESUBMIT: Add authorized-authors check + AUTHORS e-mails. This check will throw a PRESUBMIT error if the author or organization is not present in the AUTHORS file. E-mail wildcard entries were also added to the organizations in the AUTHORS file. BUG=webrtc:6852 NOTRY=True Review-Url: https://codereview.webrtc.org/2564613002 Cr-Commit-Position: refs/heads/master@{#15591} --- AUTHORS | 30 ++++++++++++++++-------------- PRESUBMIT.py | 2 ++ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/AUTHORS b/AUTHORS index bd7d39fa8e..37c19d50fe 100644 --- a/AUTHORS +++ b/AUTHORS @@ -41,17 +41,19 @@ Vladimir Beloborodov Vicken Simonian Victor Costan -&yet LLC -Agora IO -ARM Holdings -BroadSoft Inc. -Google Inc. -Intel Corporation -MIPS Technologies -Mozilla Foundation -Opera Software ASA -Sinch AB -struktur AG -Telenor Digital AS -Temasys Communications -Vonage Holdings Corp. +&yet LLC <*@andyet.com> +Agora IO <*@agora.io> +ARM Holdings <*@arm.com> +BroadSoft Inc. <*@broadsoft.com> +Google Inc. <*@google.com> +Intel Corporation <*@intel.com> +MIPS Technologies <*@mips.com> +Mozilla Foundation <*@mozilla.com> +Opera Software ASA <*@opera.com> +Sinch AB <*@sinch.com> +struktur AG <*@struktur.de> +Telenor Digital AS <*@telenor.com> +Temasys Communications <*@temasys.io> +The Chromium Authors <*@chromium.org> +The WebRTC Authors <*@webrtc.org> +Vonage Holdings Corp. <*@vonage.com> diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 7a64845a7e..e05ac75a47 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -491,6 +491,8 @@ def _CommonChecks(input_api, output_api): input_api, output_api)) results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace( input_api, output_api)) + results.extend(input_api.canned_checks.CheckAuthorizedAuthor( + input_api, output_api)) results.extend(input_api.canned_checks.CheckChangeTodoHasOwner( input_api, output_api)) results.extend(_CheckNativeApiHeaderChanges(input_api, output_api))