git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: whomto.pl -- finding out whom to send patches to

From
Joe Perches <joe@perches.com>
Date
May 29, 2008, 18:20 UTC
Message-ID
<1212085233.27103.54.camel@localhost>
In-Reply-To
<20080529210018.GA5508@damson.getinternet.no>
> I've written this perl script that takes a patch as input and prints the
> authors/committers of the affected lines, using git-blame as the back end.

Nice enough script. It's unfortunate that it can't output the appropriate mailing lists.

I think the shell script that Linus gave awhile ago: http://lkml.org/lkml/2007/8/14/276

        #!/bin/sh
               git log --since=6.months.ago -- "$@" |
                       grep -i '^    [-a-z]*by:.*@' |
                       sort | uniq -c |
                       sort -r -n | head
        
         (Maybe you want to add a
               grep -v '\(Linus Torvalds\)\|\(Andrew Morton\)'
        
might work just as well.

I still prefer the file pattern match in MAINTAINERS, or another external file, and/or data stored directly into GIT via gitattributes approaches.

This script can give maintainer, mailing lists, and git contact information for patches or files. http://lkml.org/lkml/2007/8/20/352 The script works with git-send-email to cc the appropriate parties.

This script and git repository is very old and probably doesn't apply... git pull git://repo.or.cz/linux-2.6/trivial-mods.git get_maintainer

Previous: Vegard NossumNext: Jesper Juhl
Message 2 of 8 in “whomto.pl -- finding out whom to send patches to”
  1. Vegard NossumMay 29, 2008
  2. Joe PerchesMay 29, 2008
  3. Jesper JuhlMay 29, 2008
  4. Junio C HamanoMay 29, 2008
  5. Vegard NossumMay 31, 2008
  6. Andrea RighiMay 30, 2008
  7. Vegard NossumMay 31, 2008
  8. RoelMay 30, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.