[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100911113811.7c685c6d@schatten.dmk.lab>
Date: Sat, 11 Sep 2010 11:38:11 +0200
From: Florian Mickler <florian@...kler.org>
To: Joe Perches <joe@...ches.com>
Cc: Mark Brown <broonie@...nsource.wolfsonmicro.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Hemminger <shemminger@...tta.com>,
Wolfram Sang <w.sang@...gutronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scripts/get_maintainer.pl: Add --git-blame --rolestats
"Authored lines" information
On Fri, 10 Sep 2010 17:22:21 -0700
Joe Perches <joe@...ches.com> wrote:
> > > Something based on percentage of the driver written rather than log
> > > entry counts might also be interesting.
> > There is a --git-blame option, but it uses a count of file commits
> > active in the file rather than % of lines authored.
>
> When options --git-blame and --rolestats are specified, add
> the maintainers with the qualifying --git-min-percent amount
> of lines authored of the complete file. Does not add more
> authors than specified by --git-max-maintainers.
>
> For anyone using hg, this option works but is _very_ slow.
> It's orders of magnitude slower than git slow.
>
> The get_maintainer.pl version was incremented to 0.25.
>
> This can be used with or without --git.
>
> For instance:
>
> $ ./scripts/get_maintainer.pl --git-blame --nogit --rolestats -f lib/bitmap.c
> Paul Jackson <pj@....com> (authored lines:406/613=66%,commits:7/20=35%)
> Akinobu Mita <mita@...aclelinux.com> (authored lines:87/613=14%,commits:3/20=15%)
> Reinette Chatre <reinette.chatre@...ux.intel.com> (authored lines:42/613=7%)
> Andrew Morton <akpm@...ux-foundation.org> (commits:16/20=80%)
> Paul Mundt <lethal@...ux-sh.org> (commits:3/20=15%)
> Randy Dunlap <randy.dunlap@...cle.com> (commits:2/20=10%)
>
> $ ./scripts/get_maintainer.pl --git-blame --git --rolestats -f lib/bitmap.c
> Andrew Morton <akpm@...ux-foundation.org> (commit_signer:4/5=80%,commits:16/20=80%)
> Akinobu Mita <akinobu.mita@...il.com> (commit_signer:2/5=40%,authored lines:87/613=14%,commits:3/20=15%)
> Jack Steiner <steiner@....com> (commit_signer:1/5=20%)
> Ben Hutchings <ben@...adent.org.uk> (commit_signer:1/5=20%)
> Lee Schermerhorn <lee.schermerhorn@...com> (commit_signer:1/5=20%)
> Paul Jackson <pj@....com> (authored lines:406/613=66%,commits:7/20=35%)
> Reinette Chatre <reinette.chatre@...ux.intel.com> (authored lines:42/613=7%)
> Paul Mundt <lethal@...ux-sh.org> (commits:3/20=15%)
> Randy Dunlap <randy.dunlap@...cle.com> (commits:2/20=10%)
> linux-kernel@...r.kernel.org (open list)
>
> Signed-off-by: Joe Perches <joe@...ches.com>
I think this is a good change. I also think this should be made
default. (linestat is probably more of a hint then nr of commits.
But I don't think it really solves the same problem as the annotations
on the name. We really want to show who just used a script to cc people
and who made an effort to find the right people to send the patch to.
Cheers,
Flo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists