mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 14:01:31 -10:00
scripts: report on author emails that are mangled by the mailing list
In some cases the Author: email address in patches submitted to the
list gets mangled such that it says
John Doe via Qemu-devel <[email protected]>
This change is a result of workarounds for DMARC policies.
Subsystem maintainers accepting patches need to catch these and fix
them before sending pull requests, so a checkpatch.pl test is highly
desirable.
Reviewed-by: Eric Blake <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Daniel P. Berrangé <[email protected]>
This commit is contained in:
1 parent
00b9e2950b
commit
f5177798d8
1 file changed
+4
@@ -1402,6 +1402,10 @@ sub process {
|
||||
$is_patch = 1;
|
||||
}
|
||||
|
||||
if ($line =~ /^Author: .*via Qemu-devel.*<qemu-devel\@nongnu.org>/) {
|
||||
ERROR("Author email address is mangled by the mailing list\n" . $herecurr);
|
||||
}
|
||||
|
||||
#check the patch for a signoff:
|
||||
if ($line =~ /^\s*signed-off-by:/i) {
|
||||
# This is a signoff, if ugly, so do not double report.
|
||||
|
||||
Reference in new issue
Block a user