]> git.ipfire.org Git - thirdparty/gcc.git/commit
MAINTAINERS: Add additional checking to check-MAINTAINERS.py
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 19 May 2026 17:38:55 +0000 (18:38 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Wed, 27 May 2026 09:37:10 +0000 (10:37 +0100)
commit911d91af025eae3d581ae0da59646fdba0e173b0
tree40c7565c3e2f8c840b3fafc7f0bfe42d35f2da69
parentd69d2ed43fda2d882d1126d82964c1f52eb10be8
MAINTAINERS: Add additional checking to check-MAINTAINERS.py

In order to maintain the new sorting, add a number of additional checks
to check-MAINTAINERS.py.  In summary, these are:
- arrange to sort names by surname and then forname(s).
- rework the code to use regex matches for the fields to accommodate
some fields that spill over into the next column.
- arrange to sort by more than one field.

contrib/ChangeLog:

* check-MAINTAINERS.py (get_surname): Rename to ...
(get_name_for_sort): ... this.  Add the forenames after the
surname.
(check_group): match against regexs and support additional
fields for secondary sorting.
(sections): Rework to use regexs, add rules for the other
sections in the MAINTAINERS file.
contrib/check-MAINTAINERS.py