Skip to content

Commit cf640fe

Browse files
nashifcarlescufi
authored andcommitted
MAINTAINERS: add 2 new keys: tags, tests
Add two new keys: tags, tests. tags for aligning with what we use in tests and samples and tests to associate areas and components with tests. Signed-off-by: Anas Nashif <[email protected]>
1 parent e86b447 commit cf640fe

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

scripts/get_maintainer.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ def __init__(self, filename=None):
191191
area.collaborators = area_dict.get("collaborators", [])
192192
area.inform = area_dict.get("inform", [])
193193
area.labels = area_dict.get("labels", [])
194+
area.tests = area_dict.get("tests", [])
195+
area.tags = area_dict.get("tags", [])
194196
area.description = area_dict.get("description")
195197

196198
# area._match_fn(path) tests if the path matches files and/or
@@ -403,12 +405,16 @@ def _print_areas(areas):
403405
\tcollaborators: {}
404406
\tinform: {}
405407
\tlabels: {}
408+
\ttests: {}
409+
\ttags: {}
406410
\tdescription: {}""".format(area.name,
407411
area.status,
408412
", ".join(area.maintainers),
409413
", ".join(area.collaborators),
410414
", ".join(area.inform),
411415
", ".join(area.labels),
416+
", ".join(area.tests),
417+
", ".join(area.tags),
412418
area.description or ""))
413419

414420

@@ -479,7 +485,7 @@ def ferr(msg):
479485

480486
ok_keys = {"status", "maintainers", "collaborators", "inform", "files",
481487
"files-exclude", "files-regex", "files-regex-exclude",
482-
"labels", "description"}
488+
"labels", "description", "tests", "tags"}
483489

484490
ok_status = {"maintained", "odd fixes", "unmaintained", "obsolete"}
485491
ok_status_s = ", ".join('"' + s + '"' for s in ok_status) # For messages
@@ -504,7 +510,7 @@ def ferr(msg):
504510
"for area '{}'".format(area_name))
505511

506512
for list_name in "maintainers", "collaborators", "inform", "files", \
507-
"files-regex", "labels":
513+
"files-regex", "labels", "tags", "tests":
508514
if list_name in area_dict:
509515
lst = area_dict[list_name]
510516
if not (isinstance(lst, list) and

0 commit comments

Comments
 (0)