Re: A modest proposal -- We need a patch penguin

From: Rob Landley (landley@trommello.org)
Date: Wed Jan 30 2002 - 03:06:15 EST


On Tuesday 29 January 2002 08:38 pm, Miles Lane wrote:
> On Tue, 2002-01-29 at 16:44, Linus Torvalds wrote:
> > It might not be a bad idea to just make that "mention maintainer at the
> > top of the file" the common case.
>
> I do similarly when I am testing Gnome software, but there
> I have the CVS sources to look at, including carefully updated
> ChangeLog files. I find the ChangeLogs and the output of
> "cvs log ChangeLog" to be highly informative and helpful when
> attempting to track down the appropriate person to contact.
> Is it feasible to set up a read-only anonymous cvs server for
> the kernel tree? It seems to me that it would be nice to
> good to have ChangeLogs for the kernel directories as well.

This isn't necessarily a problem for Linus to handle.

Right now, it's pretty easy to find/generate diffs between each "pre
release". Each of those could be incrementally fed into a CVS server, and
bang, you have a revision history. The granualrity might not be the
greatest, but it's a start, and it can be done retroactively. (I vaguely
remember hearing some work along these lines...)

Now to get the kind of patch level granuarity that Linus likes to have made
available to the rest of the world, you need the actual patches, as applied,
made available. Getting a patch penguin (I.E. Alan Cox or Dave Jones) to do
this might not be too hard (as long as it's not too much work), but not
enough patches go through them at the moment to necessarily make it
worthwhile.

Long ago I suggested that since the way Linus works is "append various emails
to a big file, then feed that to patch(1) at the end of a mail run", it
should be possible to send Linus a perl script that copies the individual
emails from the big file to a mailing list when he patches his tree. Not
just the actual patch, but the whole email with the description of the fix
and everything. (Again, no guarantee he wouldn't back them out again, but
it's something that really requires no extra work on his part, gives
immediate acknowledgement that he's looked at something, and gives the rest
of the world access to the level of granularity he expects to receive from
them.)

Of course until such a script is actually written, with a mailing list set up
for it to post to (read-only except for Linus), it's just an idle thought I
haven't had time to pursue. (The diffs between pre-versions have generally
been good enough for me personally, so...)

If the "patches-to-linus" list does get implemented, it would probably also
be fairly easy to automatically match new pre-X->pre-Y diffs against the
recent patches from the list, and extract most of the information that way.
(Assuming Linus doesn't modify them too much, or end up taking a lot of
patches from other sources. A human would probably still have to do at least
part of it, but it might be an improvement on just putting the whole big
version diff in the cvs tree as one lump...)

> Miles

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:14 EST