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}
This commit is contained in:
kjellander 2016-12-14 00:16:21 -08:00 committed by Commit bot
parent 43c5a974b4
commit e5dc62aeb8
2 changed files with 18 additions and 14 deletions

30
AUTHORS
View File

@ -41,17 +41,19 @@ Vladimir Beloborodov <VladimirTechMan@gmail.com>
Vicken Simonian <vsimon@gmail.com> Vicken Simonian <vsimon@gmail.com>
Victor Costan <costan@gmail.com> Victor Costan <costan@gmail.com>
&yet LLC &yet LLC <*@andyet.com>
Agora IO Agora IO <*@agora.io>
ARM Holdings ARM Holdings <*@arm.com>
BroadSoft Inc. BroadSoft Inc. <*@broadsoft.com>
Google Inc. Google Inc. <*@google.com>
Intel Corporation Intel Corporation <*@intel.com>
MIPS Technologies MIPS Technologies <*@mips.com>
Mozilla Foundation Mozilla Foundation <*@mozilla.com>
Opera Software ASA Opera Software ASA <*@opera.com>
Sinch AB Sinch AB <*@sinch.com>
struktur AG struktur AG <*@struktur.de>
Telenor Digital AS Telenor Digital AS <*@telenor.com>
Temasys Communications Temasys Communications <*@temasys.io>
Vonage Holdings Corp. The Chromium Authors <*@chromium.org>
The WebRTC Authors <*@webrtc.org>
Vonage Holdings Corp. <*@vonage.com>

View File

@ -491,6 +491,8 @@ def _CommonChecks(input_api, output_api):
input_api, output_api)) input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace( results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace(
input_api, output_api)) input_api, output_api))
results.extend(input_api.canned_checks.CheckAuthorizedAuthor(
input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeTodoHasOwner( results.extend(input_api.canned_checks.CheckChangeTodoHasOwner(
input_api, output_api)) input_api, output_api))
results.extend(_CheckNativeApiHeaderChanges(input_api, output_api)) results.extend(_CheckNativeApiHeaderChanges(input_api, output_api))