All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Cc: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
	qemu-devel@nongnu.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"John Snow" <jsnow@redhat.com>, "Cleber Rosa" <crosa@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH 2/2] meson.build: check MAINTAINERS file is consistent with source tree
Date: Wed, 17 Jun 2026 08:42:36 +0200	[thread overview]
Message-ID: <87fr2lpt0j.fsf@pond.sub.org> (raw)
In-Reply-To: <36f118b4-8e24-4425-bc45-df2f13651c21@oss.qualcomm.com> (Pierrick Bouvier's message of "Mon, 15 Jun 2026 19:51:22 -0700")

Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> writes:

> On 6/15/2026 5:35 PM, Philippe Mathieu-Daudé wrote:
>> On 15/6/26 22:17, Pierrick Bouvier wrote:
>>> We add a new script: scripts/check-maintainers-file.py, that will run at
>>> configuration time (and not at build time), to not hurt build time.
>>> This script runs in 0.2s on my dev VM, which has an old cpu.
>>>
>>> We can expect things to be mostly in sync since adding or removing a
>>> source or test file will trigger a configure step.
>> 
>> You mention adding/removing but this script only checks for removals,
>> no additions; did I miss something?
>>
> The initial scope was only to check the MAINTAINERS file itself is
> correct. But while we're at it, we could extend the script to check that
> all files in the tree belong to at least one maintainer entry. This
> could have the benefit to force coverage for all new files. First we can
> try to see what is not covered at the moment.
>
> What do you think Markus?

I periodically post a report on MAINTAINERS coverage.  The most recent
one is for v10.2.0-rc4:

    Subject: Report on MAINTAINERS coverage
    To: qemu-devel@nongnu.org
    Date: Thu, 18 Dec 2025 13:45:24 +0100
    Message-ID: <87h5toc61n.fsf@pond.sub.org>
    https://lore.kernel.org/qemu-devel/87h5toc61n.fsf@pond.sub.org/

We had more than a thousand files not covered then.  Getting to 100%
coverage would take a big push, and require help from many people.

Even with imperfect coverage, we could still require coverage for all
new files.  I'm not sure this is practical without at least some
targeted MAINTAINERS improvements.  Test-drive with a month or three
worth of existing commits to see how bad it would have been, to give us
an idea on how bad it would be?  Or just take the plunge, and revert if
it turns out to be bad?

This series tries to solve a smaller problem.  Even if we decide we want
the bigger problem solved, getting the smaller problem solved sooner is
probably better than getting it solved together with the bigger one
later.



  parent reply	other threads:[~2026-06-17  6:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-15 20:17 [PATCH 0/2] MAINTAINERS: enforce file entries are consistent from meson Pierrick Bouvier
2026-06-15 20:17 ` [PATCH 1/2] MAINTAINERS: fix entry for 'Python scripts' Pierrick Bouvier
2026-06-17  5:48   ` Markus Armbruster
2026-06-15 20:17 ` [PATCH 2/2] meson.build: check MAINTAINERS file is consistent with source tree Pierrick Bouvier
2026-06-15 20:21   ` Pierrick Bouvier
2026-06-16  0:35   ` Philippe Mathieu-Daudé
2026-06-16  2:51     ` Pierrick Bouvier
2026-06-16  3:15       ` Philippe Mathieu-Daudé
2026-06-17  6:42       ` Markus Armbruster [this message]
2026-06-16  7:53   ` Daniel P. Berrangé
2026-06-16  8:30     ` Peter Maydell
2026-06-16 18:16       ` Pierrick Bouvier
2026-06-17  6:19         ` Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fr2lpt0j.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=crosa@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@oss.qualcomm.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.