Lines Matching full:maintainers
7 Lists maintainers for files or commits. Similar in function to
9 in MAINTAINERS.yml.
11 The comment at the top of MAINTAINERS.yml in Zephyr documents the file format.
47 args.cmd_fn(Maintainers(args.maintainers), args)
60 "-m", "--maintainers",
62 help="Maintainers file to load. If not specified, MAINTAINERS.yml in "
64 "Paths in the maintainers file will always be taken as relative "
78 id_parser.set_defaults(cmd_fn=Maintainers._path_cmd)
88 commits_parser.set_defaults(cmd_fn=Maintainers._commits_cmd)
100 list_parser.set_defaults(cmd_fn=Maintainers._list_cmd)
104 help="List areas and maintainers")
111 areas_parser.set_defaults(cmd_fn=Maintainers._areas_cmd)
121 orphaned_parser.set_defaults(cmd_fn=Maintainers._orphaned_cmd)
125 help="Count areas, unique maintainers, and / or unique collaborators")
138 "--count-maintainers",
140 help="Count the number of unique maintainers")
146 count_parser.set_defaults(cmd_fn=Maintainers._count_cmd)
156 class Maintainers: class
158 Represents the contents of a maintainers YAML file.
164 defined in the maintainers file
167 The path to the maintainers file
171 Creates a Maintainers instance.
174 Path to the maintainers file to parse. If None, MAINTAINERS.yml in
183 self.filename = self._toplevel / "MAINTAINERS.yml"
190 area.maintainers = area_dict.get("maintainers", [])
248 return "<Maintainers for '{}'>".format(self.filename)
286 if args.maintainer in area.maintainers:
287 print("{:25}\t{}".format(area.name, ",".join(area.maintainers)))
289 print("{:25}\t{}".format(area.name, ",".join(area.maintainers)))
303 maintainers = set()
307 maintainers = maintainers.union(set(area.maintainers))
315 print('{:14}\t{}'.format('maintainers:', len(maintainers)))
358 Represents an entry for an area in MAINTAINERS.yml.
364 key. See MAINTAINERS.yml.
366 maintainers:
367 List of maintainers. Empty if the area has no 'maintainers' key.
412 ", ".join(area.maintainers),
460 # Returns the parsed contents of the maintainers file 'filename', also
475 # Checks the maintainers data in 'yaml', which comes from the maintainers
486 ok_keys = {"status", "maintainers", "collaborators", "inform", "files",
512 if not area_dict.get("maintainers") and area_dict.get("status") == "maintained":
513 ferr("maintained area '{}' with no maintainers".format(area_name))
515 for list_name in "maintainers", "collaborators", "inform", "files", \
607 "Exception raised for MAINTAINERS.yml-related errors"