LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* MAINTAINERS: a question about it
@ 2011-02-11 12:29 Harry Wei
2011-02-11 15:40 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Harry Wei @ 2011-02-11 12:29 UTC (permalink / raw)
To: linux-kernel, greg, akpm, davem, rdunlap; +Cc: trivial
Hi us,
I saw MAINTAINERS these days. I find we should program a script(shell) for checking if a maintainer added himself in correct position.
Because the MAINTAINERS is in alphabetical order and it has lots of maintainers now.
I just want to ask if anyone is doing this work. If it has been began i will do other things about kernel. If not, i will program this script(shell) for us.
Thanks.
Best Regards.
Harry Wei.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MAINTAINERS: a question about it
2011-02-11 12:29 MAINTAINERS: a question about it Harry Wei
@ 2011-02-11 15:40 ` Greg KH
2011-02-11 21:14 ` Florian Mickler
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2011-02-11 15:40 UTC (permalink / raw)
To: linux-kernel, akpm, davem, rdunlap, trivial
On Fri, Feb 11, 2011 at 08:29:28PM +0800, Harry Wei wrote:
> Hi us,
> I saw MAINTAINERS these days. I find we should program a script(shell) for checking if a maintainer added himself in correct position.
> Because the MAINTAINERS is in alphabetical order and it has lots of maintainers now.
> I just want to ask if anyone is doing this work. If it has been began i will do other things about kernel. If not, i will program this script(shell) for us.
Why not just modify the 'scripts/get_maintainers.pl' tool to do this?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MAINTAINERS: a question about it
2011-02-11 15:40 ` Greg KH
@ 2011-02-11 21:14 ` Florian Mickler
2011-02-11 21:25 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: Florian Mickler @ 2011-02-11 21:14 UTC (permalink / raw)
To: Greg KH, Harry Wei; +Cc: linux-kernel, akpm, davem, rdunlap, trivial
On Fri, 11 Feb 2011 07:40:14 -0800
Greg KH <greg@kroah.com> wrote:
> On Fri, Feb 11, 2011 at 08:29:28PM +0800, Harry Wei wrote:
> > Hi us,
> > I saw MAINTAINERS these days. I find we should program a script(shell) for checking if a maintainer added himself in correct position.
> > Because the MAINTAINERS is in alphabetical order and it has lots of maintainers now.
> > I just want to ask if anyone is doing this work. If it has been began i will do other things about kernel. If not, i will program this script(shell) for us.
>
> Why not just modify the 'scripts/get_maintainers.pl' tool to do this?
>
> thanks,
>
> greg k-h
surely, you mean hooking it into 'scripts/checkpatch.pl' ?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MAINTAINERS: a question about it
2011-02-11 21:14 ` Florian Mickler
@ 2011-02-11 21:25 ` Greg KH
2011-02-11 23:43 ` Florian Mickler
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2011-02-11 21:25 UTC (permalink / raw)
To: Florian Mickler; +Cc: Harry Wei, linux-kernel, akpm, davem, rdunlap, trivial
On Fri, Feb 11, 2011 at 10:14:33PM +0100, Florian Mickler wrote:
> On Fri, 11 Feb 2011 07:40:14 -0800
> Greg KH <greg@kroah.com> wrote:
>
> > On Fri, Feb 11, 2011 at 08:29:28PM +0800, Harry Wei wrote:
> > > Hi us,
> > > I saw MAINTAINERS these days. I find we should program a script(shell) for checking if a maintainer added himself in correct position.
> > > Because the MAINTAINERS is in alphabetical order and it has lots of maintainers now.
> > > I just want to ask if anyone is doing this work. If it has been began i will do other things about kernel. If not, i will program this script(shell) for us.
> >
> > Why not just modify the 'scripts/get_maintainers.pl' tool to do this?
> >
> > thanks,
> >
> > greg k-h
>
> surely, you mean hooking it into 'scripts/checkpatch.pl' ?
>
No, I hadn't ment that, as I figured get_maintainers.pl already parsed
the MAINTAINERS file, so it might be easier to do it there.
But you are probably right, it's only an issue when you add a
MAINTAINERS entry, so it should go into that script.
Although I'm really loath to add any more to that script, it's slow
enough as it is on large patches :(
thanks,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MAINTAINERS: a question about it
2011-02-11 21:25 ` Greg KH
@ 2011-02-11 23:43 ` Florian Mickler
[not found] ` <AANLkTikXxf8BDmf5gfOQ6T0OvR=_RUFdOiYEPZVJ2Pm2@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Florian Mickler @ 2011-02-11 23:43 UTC (permalink / raw)
To: Greg KH; +Cc: Harry Wei, linux-kernel, akpm, davem, rdunlap, trivial
On Fri, 11 Feb 2011 13:25:54 -0800
Greg KH <greg@kroah.com> wrote:
> On Fri, Feb 11, 2011 at 10:14:33PM +0100, Florian Mickler wrote:
> > On Fri, 11 Feb 2011 07:40:14 -0800
> > Greg KH <greg@kroah.com> wrote:
> >
> > > On Fri, Feb 11, 2011 at 08:29:28PM +0800, Harry Wei wrote:
> > > > Hi us,
> > > > I saw MAINTAINERS these days. I find we should program a script(shell) for checking if a maintainer added himself in correct position.
> > > > Because the MAINTAINERS is in alphabetical order and it has lots of maintainers now.
> > > > I just want to ask if anyone is doing this work. If it has been began i will do other things about kernel. If not, i will program this script(shell) for us.
> > >
> > > Why not just modify the 'scripts/get_maintainers.pl' tool to do this?
> > >
> > > thanks,
> > >
> > > greg k-h
> >
> > surely, you mean hooking it into 'scripts/checkpatch.pl' ?
> >
>
> No, I hadn't ment that, as I figured get_maintainers.pl already parsed
> the MAINTAINERS file, so it might be easier to do it there.
perl -e '$last = "0"; while (<>) { @F = split(/:/); if ($begin) { if (!/^\s*$/ && length($F[0]) > 1) { unless ($last le $_) { print "header wrongly sorted! ($_)\n"; $err =1; } $last = $_; }}; $begin = 1 if ( $F[0] =~ /\t\t-----------------------------------$/);} exit(1) if ($err); ' < MAINTAINERS
:)
Regards,
Flo
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Fwd: MAINTAINERS: a question about it
[not found] ` <AANLkTikbS9dWOpw-sUKFV01mnMBrQof0rQO6sde+53qe@mail.gmail.com>
@ 2011-02-12 13:29 ` Harry Wei
0 siblings, 0 replies; 6+ messages in thread
From: Harry Wei @ 2011-02-12 13:29 UTC (permalink / raw)
To: florian, greg; +Cc: linux-kernel
On Sat, Feb 12, 2011 at 09:23:23PM +0800, harryxiyou wrote:
> ---------- Forwarded message ----------
> From: Florian Mickler <florian@mickler.org>
> Date: 2011/2/12
> Subject: Re: MAINTAINERS: a question about it
> To: harryxiyou <harryxiyou@gmail.com>
> Cc: Tranlations maintainer for linux kernel <greg@kroah.com>
>
>
> On Sat, 12 Feb 2011 10:56:48 +0800
> harryxiyou <harryxiyou@gmail.com> wrote:
>
> > Hi greg, Florian,
> > I will try to do it. Thanks to your help. Maybe i will do it
> in
> > get_maintainers.pl or a private shell script.
> > I just want to check if anyone has done it :)
> >
> > Thanks.
> > Best regards.
> > Harry Wei.
> >
>
Hi florian,
Thanks to your reply ;)
> Ok. If the script can automatically sort the file, that would be cool.
It can only check if the maintainers in the alphabetical order when maintainer add himself in it.
>
> And a little note, because I don't know if you already know it:
> We almost never drop people from the 'cc:' list. That could be
> considered rude if that person is actually interested in the email
> thread. That is why we, if in doubt, keep the cc list.
Thanks, i will remember this rule. Keep the cc list :)
>
> Another thing that you can try, is to find a bug report with a
> backtrace, locate the bug in the source code and then try to figure out
> why it happened and how it could be prevented from happening. And then
> you can check if the solution somebody else probably already posted in
> the meantime is what you would have done. (Oh, and be warned, some
> people know what they do, and some don't... not easy to tell.. and it
> varies from day to day ;) )
I will surely do it later :) thanks to your help.
Thanks.
Best Regards.
Harry Wei.
>
> Regards,
> Flo
>
>
>
>
> --
> Best Regards.
> Harry Wei.
> Do what u like!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-12 13:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-11 12:29 MAINTAINERS: a question about it Harry Wei
2011-02-11 15:40 ` Greg KH
2011-02-11 21:14 ` Florian Mickler
2011-02-11 21:25 ` Greg KH
2011-02-11 23:43 ` Florian Mickler
[not found] ` <AANLkTikXxf8BDmf5gfOQ6T0OvR=_RUFdOiYEPZVJ2Pm2@mail.gmail.com>
[not found] ` <20110212140158.00c7faa3@schatten.dmk.lab>
[not found] ` <AANLkTikbS9dWOpw-sUKFV01mnMBrQof0rQO6sde+53qe@mail.gmail.com>
2011-02-12 13:29 ` Fwd: " Harry Wei
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).