[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 47/47] script to find outdated entry in MAIN
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC PATCH 47/47] script to find outdated entry in MAINTAINERS |
Date: |
Fri, 28 Jul 2017 14:44:56 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 07/28/2017 11:26 AM, Markus Armbruster wrote:
> Philippe Mathieu-Daudé <address@hidden> writes:
>
>> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
>> ---
>> +# This script checks MAINTAINERS consistency
>
> Consistency? I think you mean coverage.
Indeed - consistency implies even more, such as all email addresses and
git trees are still valid. Coverage is merely that all files at least
have one listed owner, whether or not that owner is still correct.
> But what I really want is checkpatch whining when it happens. Thomas
> posted a patch some time ago. Would you be willing to revive it?
>
> https://lists.gnu.org/archive/html/qemu-devel/2017-01/msg05742.html
> Message-Id: <address@hidden>
>
> Basically:
>
> * Patch deletes a file
>
> - still in MAINTAINERS after the patch: warn
> - else: ok
>
Careful, since we have globs in MAINTAINERS. I guess it really means:
* Patch deletes a file:
- check all lines in MAINTAINERS; if any no longer maps to a file: warn
- else: ok
> * Patch creates a file
>
> - not in in MAINTAINERS after the patch: warn
> - else: ok
>
> * Patch moves a file
Same as delete + move, even if it shows up in git differently.
>
> May have to ignore "uninteresting" files to reduce the noise. But even
> ignoring everything but *.[ch] would be an improvement!
And like all checkpatch warnings, maintainers (or, in this case, lack of
maintainer?) can ignore the warning and submit pull request anyway. But
the key part is that by making it part of checkpatch, coupled with
patchew CI, the whole list would know who's ignoring the warnings :)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 40/47] MAINTAINERS: add missing entry for AIO, (continued)
- [Qemu-devel] [RFC PATCH 41/47] MAINTAINERS: add missing I2C entries, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 43/47] MAINTAINERS: add missing TPM entries, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 42/47] MAINTAINERS: add missing Bluetooth entries, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 44/47] MAINTAINERS: add missing entry for tilegx, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 45/47] MAINTAINERS: add missing entries for loader, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 47/47] script to find outdated entry in MAINTAINERS, Philippe Mathieu-Daudé, 2017/07/28
- [Qemu-devel] [RFC PATCH 46/47] MAINTAINERS: add missing entries for Coccinelle scripts, Philippe Mathieu-Daudé, 2017/07/28
- Re: [Qemu-devel] [RFC PATCH 46/47] MAINTAINERS: add missing entries for Coccinelle scripts, Eric Blake, 2017/07/28