2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

checkpatch: Add explicit test for mailing list as author.

Somehow some such patches snuck through.  checkpatch caught them (and the
committer missed that) but this makes it even more explicit.

Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Ben Pfaff
2018-11-01 08:06:31 -07:00
parent 1d478a8008
commit 3bd2e465a1
2 changed files with 11 additions and 0 deletions

View File

@@ -731,6 +731,9 @@ def ovs_checkpatch_parse(text, filename, author=None, committer=None):
if not author:
print_error("Patch lacks author.")
continue
if " via " in author or "@openvswitch.org" in author:
print_error("Author should not be mailing list.")
continue
if author in co_authors:
print_error("Author should not be also be co-author.")
continue