Skip to content

Commit 18e476c

Browse files
committed
tests: cc_maintainers: update some explicit email rules
Update email maps and decrease the sensitivity to CCing authors. Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9815538 commit 18e476c

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

tests/patch/cc_maintainers/test.py

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,22 @@
2121
ignore_emails = {
2222
'[email protected]', # Don't expect people to CC LKML on everything
2323
'[email protected]', # For new files NIPA will get marked as committer
24-
24+
25+
26+
27+
28+
29+
30+
31+
32+
2533
}
2634

2735
# Maintainers who don't CC their co-employees
2836
maintainers = {
2937
'[email protected]': ['@broadcom.com'],
3038
'[email protected]': ['@huawei.com', '@hisilicon.com'],
31-
'[email protected]': ['@intel.com', '@lists.osuosl.org'],
39+
'[email protected]': ['@intel.com', '@linux.intel.com', '@lists.osuosl.org'],
3240
3341
'@nvidia.com', '@mellanox.com', '[email protected]', '[email protected]'
3442
]
@@ -40,6 +48,14 @@
4048
4149

4250
local_map = ["Vladimir Oltean <[email protected]> <[email protected]>",
51+
52+
53+
54+
"John Fastabend <[email protected]> <[email protected]>",
55+
"Sergey Shtylyov <[email protected]> <[email protected]>",
56+
"Arseniy Krasnov <[email protected]> <[email protected]>",
57+
"Francesco Ruggeri <[email protected]> <[email protected]>",
58+
"Willem de Bruijn <[email protected]> <[email protected]>",
4359
"Alexander Duyck <[email protected]> <[email protected]>"]
4460

4561
#
@@ -175,7 +191,7 @@ def cc_maintainers(tree, thing, result_dir) -> Tuple[int, str, str]:
175191
ignored = set()
176192
with tempfile.NamedTemporaryFile() as fp:
177193
patch.write_out(fp)
178-
command = ['./scripts/get_maintainer.pl', '--git-min-percent', '25', '--', fp.name]
194+
command = ['./scripts/get_maintainer.pl', '--git-min-percent', '35', '--', fp.name]
179195
with subprocess.Popen(command, cwd=tree.path, stdout=subprocess.PIPE) as p:
180196
line = p.stdout.readline().decode('utf8', 'replace')
181197
while line:

0 commit comments

Comments
 (0)