[PATCH v1 0/5] maintainer_utils.py: general cleanups

Richard Earnshaw via Sourceware Forge <[email protected]>
Newsgroups gmane.comp.gcc.patches
Message-ID <bmm.hlit9bvuc0.gcc.gcc.rearnsha.222.1.0@forge-stage.sourceware.org>
This series is a general cleanup of the maintainer_utils code and associated helper scripts.  The main change is to move the MAINTAINERS.yml DCO entries for a user from the 'roles' section to a separate list for each user.  It also adds some additional validation of the data.

Other than moving the DCO entries, no other fixups were needed to the current MAINTAINERS.yml.


---
This is a forge pull request published on the gcc-patches mailing list mailing list
as requested by Richard Earnshaw via Sourceware Forge <[email protected]>.
Forge discussion: https://forge.sourceware.org/gcc/gcc/pulls/222

Get it locally using:
```
git fetch forge-upstream "+refs/versioned_pull/222/*:refs/versioned_pull/222/*"
git switch -c "pr-222-v1" "refs/versioned_pull/222/1/head"
```
Or, download the patch at: https://forge.sourceware.org/gcc/gcc/pulls/222.diff
Created on: 2026-08-20 14:39:50+00:00
Latest update: 2026-08-20 14:40:15+00:00
Changes: 4 changed files, 259 additions, 119 deletions
Head revision: rearnsha/gcc ref mntutils-store commit f80bc9e4fed54ac9be7976d66bf5c177bdc8dc28
Base revision: gcc/gcc ref trunk commit 48425ec4ef2ad3697f07a3075ff52d2d9dea91f4 r17-3472-g48425ec4ef2ad3
Merge base: 48425ec4ef2ad3697f07a3075ff52d2d9dea91f4
Requested Reviewers:

Changed files:
- M: MAINTAINERS.yml
- M: contrib/add-write-after.py
- M: contrib/gen-MAINTAINERS.py
- M: contrib/maintainer_utils.py

Richard Earnshaw (5):
  maintainer_utils.py: Add a store method
  maintainer_utils: Fix errors in schema.
  maintainer_utils: Move DCO entries outside of roles.
  maintainer_utils: Ensure the list of user data is sorted.
  maintainer_utils: more array size verification.

 MAINTAINERS.yml             | 193 +++++++++++++++++++++++-------------
 contrib/add-write-after.py  |  32 +++---
 contrib/gen-MAINTAINERS.py  |  40 ++++++--
 contrib/maintainer_utils.py | 113 ++++++++++++++++-----
 4 files changed, 259 insertions(+), 119 deletions(-)

-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.