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:
@@ -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
|
||||
|
Reference in New Issue
Block a user