Messages in this thread |  | | | Subject | Re: [PATCH 5/7] MAINTAINERS: Remove L: | | From | Joe Perches <> | | Date | Fri, 10 Jul 2009 09:25:00 -0700 |
| |
On Fri, 2009-07-10 at 14:17 +0100, Mark Brown wrote: > On Thu, Jul 09, 2009 at 12:35:39PM -0700, Joe Perches wrote: > > On Thu, 2009-07-09 at 16:08 +0100, Mark Brown wrote: > > > That's pretty much what I was thinking of too - tweaking the values for > > > the log queries based on the total number of hits so people only turn up > > > if they did a certain proportion of the commits. It'd take some > > > experimentation to work out what the values to use should be, I guess. > > Perhaps something like this: > > + --git-min-percent => minimum percentage of commits required (default: 0) > > That seems reasonably effective with 5% or so as the default. I do > think the default should be non-zero if we're going to be encouraging > people to use this as standard, though.
I'm not sure minimization of maintainers in the result is that desirable but I am for figuring out what works best.
I set it at 0 for now just to play with it.
What have you experimented with and how have the results changed?
If minimization is what's desired, what I've tried seems to work best at around 10.
Here's the little script I used.
#!/bin/bash #
ShowMaintainers() { file=$1 percent=$2 extraargs=$3 echo echo "Maintainers for: $file @ $percent % $extraargs" echo
./scripts/get_maintainer.pl $extraargs --git-min-percent=$percent -f $file } for dir in $(find drivers -type d) ; do dir=$(echo $dir | sed -e 's/\.\///g') ShowMaintainers $dir 0 ShowMaintainers $dir 5 ShowMaintainers $dir 10 ShowMaintainers $dir 0 "--nogit" done
|  |