From: "Daniel P. Berrange" <berrange@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] MAINTAINERS leaves too many files uncovered
Date: Tue, 22 Sep 2015 11:06:09 +0100 [thread overview]
Message-ID: <20150922100609.GI28888@redhat.com> (raw)
In-Reply-To: <876132olyi.fsf@blackfin.pond.sub.org>
On Tue, Sep 22, 2015 at 11:13:57AM +0200, Markus Armbruster wrote:
> Paolo asked for an update.
>
> Markus Armbruster <armbru@redhat.com> writes:
>
> > Markus Armbruster <armbru@redhat.com> writes:
> >
> >> In my experience, too many files are not covered by MAINTAINERS.
> >> scripts/get_maintainer.pl falls back to git then, unless you say
> >> --no-git-fallback. Copies sent there tends to annoy their recipients
> >> without accomplishing all that much.
> >>
> >> Two obvious improvements:
> >>
> >> * Easy: Flip scripts/get_maintainer.pl's default to --no-git-fallback.
> >> I'll post the obvious patch, please raise your objections there.
> >>
> >> * Harder: improve MAINTAINERS coverage.
> >
> > A few folks have started doing that. Much appreciated!
> >
> > I collected recent patches to MAINTAINERS, and reran my analysis.
> >
> >> Let me back up subjective experience with hard data. The tree has quite
> >> a few files:
> >>
> >> $ git-ls-files | wc -l
> >> 3746
> >
> > Now 3752.
>
> Eleven months later, this is 4387.
>
> >> Counting them by extension:
> >>
> >> $ git-ls-files | sed -n 's#.*/##;s#.*\.##p' | sort | uniq -c | sort -nr
> >> 1836 c
> >> 818 h
> >> 133 out
> >> 105 S
> >> 97 objs
> >> 69 s
> >> 64 mak
> >> 48 json
> >> 47 py
> >> 41 txt
> >> 33 exit
> >> 33 err
> >> 16 xml
> >> 16 bin
> >> 13 rom
> >> 12 sh
> >> 12 dsl
> >> [Long tail that doesn't add up to anything interesting omitted]
> >>
> >> Let's look for .c not in MAINTAINERS:
> >>
> >> $ for i in `git-ls-files`; do [ "`scripts/get_maintainer.pl -f
> > --no-git-fallback $i`" ] || echo $i; done >unmaintained-files
> >> $ grep -c '\.c$' unmaintained-files
> >> 1066
> >>
> >> That's almost 60%. Not good.
> >
> > Down to 491 our of 1841 (27%). Progress, but not quite enough.
>
> 461 out of 1945 (24%). At this linear rate, we'll reach 10%
> unmaintained in five years.
>
> We're still adding unmaintained .c files:
>
> $ git-diff --diff-filter=A --name-only e668d1b | grep -c '\.c$'
> 116
> $ git-diff --diff-filter=A --name-only e668d1b | grep '\.c$' | join unmaintained-files - | wc -l
> 37
>
> 37 out of 116 new files (32%) are not covered. That's worse than we do
> for old files. Inexcusable.
We could extend the checkpatch.pl script so that it reports an error
if the patch contains a new file which is not covered by MAINTAINERS.
That would immediately prevent the situation getting any worse.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2015-09-22 10:06 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 9:19 [Qemu-devel] MAINTAINERS leaves too many files uncovered Markus Armbruster
2014-10-20 18:36 ` Paolo Bonzini
2014-10-22 8:23 ` Markus Armbruster
2014-10-22 9:00 ` Paolo Bonzini
2014-10-22 11:45 ` Markus Armbruster
2014-10-22 11:50 ` Paolo Bonzini
2014-10-22 13:06 ` Markus Armbruster
2014-10-22 13:22 ` Alexander Graf
2014-10-22 13:36 ` Paolo Bonzini
2014-10-22 11:58 ` [Qemu-devel] MAINTAINERS: please add myself as usb-serial.c and baum.c maintainer Samuel Thibault
2014-10-22 12:51 ` Paolo Bonzini
2014-10-22 13:00 ` Markus Armbruster
2014-10-22 13:53 ` Samuel Thibault
2014-10-22 15:21 ` Markus Armbruster
2014-10-22 12:06 ` [Qemu-devel] MAINTAINERS leaves too many files uncovered Michael Roth
2014-10-22 12:54 ` Luiz Capitulino
2015-09-22 9:13 ` Markus Armbruster
2015-09-22 10:06 ` Daniel P. Berrange [this message]
2015-09-22 10:18 ` Paolo Bonzini
2015-09-22 13:42 ` Thomas Huth
2015-09-22 14:58 ` Gerd Hoffmann
2015-09-22 15:13 ` Juan Quintela
2015-09-22 14:58 ` Daniel P. Berrange
2015-09-22 15:40 ` Peter Maydell
2015-09-22 18:07 ` Eric Blake
2015-09-22 19:50 ` Paolo Bonzini
2015-09-23 8:24 ` Kevin Wolf
2015-09-23 8:30 ` Alberto Garcia
2015-09-24 12:49 ` Markus Armbruster
2015-09-24 12:47 ` Markus Armbruster
2015-09-22 18:37 ` John Snow
2016-08-30 11:31 ` Markus Armbruster
2016-08-30 12:26 ` Cornelia Huck
2016-08-30 12:40 ` Paolo Bonzini
2016-08-30 13:29 ` Cornelia Huck
2016-08-30 12:48 ` Paolo Bonzini
2016-08-30 12:57 ` Peter Maydell
2016-08-30 18:31 ` John Snow
2016-08-30 14:47 ` Paolo Bonzini
2016-08-30 15:29 ` Markus Armbruster
2016-08-30 15:33 ` Paolo Bonzini
2016-08-31 8:28 ` Markus Armbruster
2016-08-30 13:39 ` Cornelia Huck
2016-09-12 13:56 ` Thomas Huth
2016-09-23 12:56 ` Thomas Huth
2016-09-23 14:47 ` Thomas Huth
2018-11-21 18:14 ` Markus Armbruster
2018-11-22 12:22 ` Thomas Huth
2018-11-22 21:56 ` BALATON Zoltan
2018-11-23 5:17 ` Philippe Mathieu-Daudé
2018-11-23 10:56 ` BALATON Zoltan
2018-11-23 11:03 ` Philippe Mathieu-Daudé
2018-11-26 13:54 ` Markus Armbruster
2014-10-22 14:02 ` Alex Bennée
2014-10-22 15:26 ` 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=20150922100609.GI28888@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).