Skip to content

Auto-generate maintainer profile entries

Mauro Carvalho Chehab linux-doc linux-riscv lkml workflows 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 3 repliesIn review
  2. v312 patches 1 replySuperseded
  3. v211 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches5 repliesSuperseded

Changes in v4 from the cover letter

- Dropped changes to MAINTAINERS, as other patches already updated media and tip entries.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10docs: maintainers: add SPDX license to the fileDocumentation/process/maintainers.rst+2 -00 replies
2/10docs: maintainers_include: auto-generate maintainer profile TOCDocumentation/sphinx/maintainers_include.py+76 -170 replies
3/10docs: auto-generate maintainer entry profile linksDocumentation/maintainer/maintainer-entry-profile.rst Documentation/process/maintainer-handbooks.rst+14 -290 replies
4/10docs: maintainers_include: use a better title for profilesDocumentation/sphinx/maintainers_include.py+15 -30 replies
5/10docs: maintainers_include: add external profile URLsDocumentation/sphinx/maintainers_include.py+26 -20 replies
6/10docs: maintainers_include: preserve names for files under process/Documentation/sphinx/maintainers_include.py+3 -10 replies
7/10docs: maintainers_include: Only show main entry for profilesDocumentation/process/maintainer-handbooks.rst Documentation/sphinx/maintainers_include.py+1 -30 replies
8/10docs: maintainers_include: improve its outputDocumentation/sphinx/maintainers_include.py+40 -360 replies
9/10docs: maintainers_include: fix support for O=dirDocumentation/sphinx/maintainers_include.py+50 -210 replies
10/10docs: maintainers_include: parse MAINTAINERS just onceDocumentation/sphinx/maintainers_include.py+21 -400 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchRandy DunlapDan Williams
1/10
2/10R-b T-b A-b
3/10R-b T-b
4/10R-b T-b
5/10R-b T-b
6/10R-b T-b
7/10R-b T-b
8/10R-b T-b
9/10R-b T-b
10/10R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/10] Auto-generate maintainer profile entries

Hi Jon,

This is basically the same patch series I sent during the merge window, rebased on the top of post 7.1-rc1 docs-next branch. It is tested both with and without O=DOCS.

It contains just one extra trivial patch adding a missing SPDX header, and, on v4, I dropped two patches touching MAINTAINERS, as those aren't needed anymore.

This patch series change the way maintainer entry profile links are added to the documentation. Instead of having an entry for each of them at an ReST file, get them from MAINTAINERS content.

That should likely make easier to maintain, as there will be a single point to place all such profiles.

The output is a per-subsystem sorted (*) series of links shown as a list like this:

- Arm And Arm64 Soc Sub-Architectures (Common Parts)
- Arm/Samsung S3C, S5P And Exynos Arm Architectures
- Arm/Tesla Fsd Soc Support
...
- Xfs Filesystem

Please notice that the series is doing one logical change per patch. I could have merged some changes altogether, but I opted doing it in small steps to help reviews. If you prefer, feel free to merge maintainers_include changes on merge.

There is one interesting side effect of this series: there is no need to add rst files containing profiles inside a TOC tree: Just creating the file anywhere inside Documentation and adding a P entry is enough. Adding them to a TOC won't hurt.

(*) At the end, I opted to use sorted(), just to ensure it, even
knowing that MAINTAINER entries are supposed to be sorted, as the cost of sorting ~20 already-sorted entries is negligible.

---

v4:
- Dropped changes to MAINTAINERS, as other patches already updated media and tip entries.

v3:
- Added SPDX entry to process/maintainers.rst file;
- rebased after 7.1-rc1 release.

v2:
- I placed the to MAINTAINERS changes at the beginning.
- fix a bug when O=DOCS is used;
- proper handle glob "P" entries (just in case, no profiles use it ATM);
- when SPHINXDIRS=process, instead of producing warnings, point to

    entries at https://docs.kernel.org;
  - MAINTAINERS parsing now happens just once;
  - The output won't be numered for entries inside numered TOC trees;
  - TOC tree is now hidden;
  - instead of display a TOC tree, it shows a list of profiles,
    ordered and named after file system name taken from MAINTAINERS file;

- At the output list, both https and file profiles are shown the same way.

Mauro Carvalho Chehab (10):
docs: maintainers: add SPDX license to the file
docs: maintainers_include: auto-generate maintainer profile TOC
docs: auto-generate maintainer entry profile links
docs: maintainers_include: use a better title for profiles
docs: maintainers_include: add external profile URLs
docs: maintainers_include: preserve names for files under process/
docs: maintainers_include: Only show main entry for profiles
docs: maintainers_include: improve its output
docs: maintainers_include: fix support for O=dir
docs: maintainers_include: parse MAINTAINERS just once

 .../maintainer/maintainer-entry-profile.rst   |  24 +--
 .../process/maintainer-handbooks.rst          |  17 +-
 Documentation/process/maintainers.rst         |   2 +
 Documentation/sphinx/maintainers_include.py   | 161 +++++++++++++++---
 4 files changed, 150 insertions(+), 54 deletions(-)
Signature · 1 line
2.53.0