[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tkrat.fe0c382d998fca1c@s5r6.in-berlin.de>
Date: Sun, 14 Jan 2007 23:44:45 +0100 (CET)
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Richard Knutsson <ricknu-0@...dent.ltu.se>
cc: linux-kernel@...r.kernel.org
Subject: Re: [RFC] How to (automatically) find the correct maintainer(s)
On 14 Jan, Richard Knutsson wrote:
> Stefan Richter wrote:
>> gcc -o test3.o test.c test.c
>>
> That produces just an executable file with a misleading name :)
#-)
[...]
>> 3. When people notice that patches are misdirected too often, they will
>> update MAINTAINERS.
>>
> You mean they update other maintainers entries? That would be good...
Strictly spoken, only Linus updates MAINTAINERS. Everybody else merely
sends change requests which are forwarded or rejected. If newbie John
Doe finds there is something missing in MAINTAINERS, he could send a
proper patch *to the proper contacts*, et voilĂ . In short, people
including John Doe updated MAINTAINERS.
[...]
>> May I remind that whoever uses scripts to figure out contacts should
>> better double-check what the script found out for him.
[...]
> During development, that's a given. But I would hope that when its more
> stable it will always find the right answer or no answer at all (if
> there is errors in ex MAINTAINERS, even the human will bother the receiver)
Note, if people build scripts which look up contacts, I hope they don't
become careless and forget to search elsewhere for proper contacts if
_no_ contact was found automatically.
[...]
>> It is already somewhat
>> costly to backtrack .c files from .o files from config options, but
>> considerably more so with .h files.
>>
> I think it is to early to be thinking about what is easier, first a
> "algorithm" that does what we want is needed, then I'm more then happy
> to write a script/program for it :)
> Costly?? It is even simple in bash:
> C_FILE=${O_FILE/'.o'/'.c'}
When I wrote "somewhat costly" I didn't refer to a 1:1 mapping between
.c and .o. That's not what it takes. I mostly referred to having to
implement a parser for parts of the Linux Makefile language. On the
bright side, the more indirection you introduce, the less people will
write their own scripts and the less scripts with bugs will be out
there. :-)
[...]
> (I: for "include". Btw, what is F: standing for? Is it instead of P:?)
[...]
Doesn't need to be F. "Files" happens to start with F.
--
Stefan Richter
-=====-=-=== ---= -===-
http://arcgraph.de/sr/
-
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