Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933723AbXHNSnR (ORCPT ); Tue, 14 Aug 2007 14:43:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758967AbXHNSm7 (ORCPT ); Tue, 14 Aug 2007 14:42:59 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:37564 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753499AbXHNSm5 (ORCPT ); Tue, 14 Aug 2007 14:42:57 -0400 Date: Tue, 14 Aug 2007 11:40:09 -0700 (PDT) From: Linus Torvalds To: Joe Perches cc: Rene Herman , git@vger.kernel.org, Junio C Hamano , Alan Cox , Arjan van de Ven , Trond Myklebust , Mariusz Kozlowski , akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [1/2many] - FInd the maintainer(s) for a patch - scripts/get_maintainer.pl In-Reply-To: <1187116082.32555.122.camel@localhost> Message-ID: References: <1186984174.10249.7.camel@localhost> <200708131933.10125.m.kozlowski@tuxland.pl> <1187026955.2688.4.camel@laptopd505.fenrus.org> <1187037445.6628.98.camel@heimdal.trondhjem.org> <1187054366.2757.0.camel@laptopd505.fenrus.org> <46C10AA8.3090505@gmail.com> <20070814102033.604c8695@the-village.bc.nu> <46C1CFFE.4000001@gmail.com> <1187110824.32555.76.camel@localhost> <46C1EE6F.2080807@gmail.com> <1187116082.32555.122.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1355 Lines: 44 On Tue, 14 Aug 2007, Joe Perches wrote: > On Tue, 2007-08-14 at 20:03 +0200, Rene Herman wrote: > > "git info --maintainer drivers/ide/ide-cd.c" or some such would say "Alan > > Cox ". > > Perhaps maintainer(s), approver(s), listener(s)? > > I think something like this should be a git-goal. > What do the git-wranglers think? The thing is, if you have git, you can basically already do this. Do a script like this: #!/bin/sh git log --since=6.months.ago -- "$@" | grep -i '^ [-a-z]*by:.*@' | sort | uniq -c | sort -r -n | head and it gives you a rather good picture of who is involved with a particular subdirectory or file. A much *better* picture than some manually maintained thing, in fact, because it tells you who really does the work, and which way patches go... (Maybe you want to add a grep -v '\(Linus Torvalds\)\|\(Andrew Morton\)' to avoid seeing the normal chain too much, but hey, we probably want to know too. Anyway - the script can certainly be tweaked, the point is really just that the git tree _already_ contains the relevant information). Linus - 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/