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

Re: Linking topic merges to mailing list threads

From
Jeff King <peff@peff.net>
Date
Oct 2, 2024, 23:34 UTC
Message-ID
<20241002233436.GA3455554@coredump.intra.peff.net>
In-Reply-To
<20241002225057.M796260@dcvr>
On Wed, Oct 02, 2024 at 10:50:57PM +0000, Eric Wong wrote:
Show 13 quoted lines
> Emily Shaffer <nasamuffin@google.com> wrote:
> > Hi all,
> > 
> > We've been wanting to gather metrics on Git's code review process -
> > how long it takes from first contact on list to merge, how many
> > iterations are needed, time between iterations, etc. One missing link
> > is the actual merge time in `next` and `master` - a human can infer
> > the link between the patch and the mailing list thread, but it's more
> > challenging for a script to do it.
> 
> Searching by commit titles as a phrase against email subject (`s:')
> can probably make it easy w/o having to look up amlog or explicitly
> keep track of human-unmemorizable metadata such as Message-IDs.

I do that a lot myself, but it sometimes get tripped up when people put patches inline, like:

  > blah blah blah
  Yes, good idea. Maybe like this:
  -- >8 --
  foo: frobnicate the bar
  Etc...

In that case you have to do an actual body search. I usually find these with phrase searches in the body text (I'm usually using notmuch, not public-inbox, but I think the same would be true). Of course it may also find more false positives, but usually they're from the same thread anyway.

Very occasionally somebody posts a patch snippet and Junio writes a commit message that never even hits the list, but that's pretty rare these days. :)

-Peff
Previous: Eric Wong
Message 18 of 18 in “Linking topic merges to mailing list threads”
  1. Emily ShafferSep 30, 2024
  2. Konstantin RyabitsevSep 30, 2024
  3. Junio C HamanoSep 30, 2024
  4. Documentation: mention the amlog in howto/maintain-git.txtTaylor Blau, Sep 30, 2024
  5. Kristoffer HaugsbakkSep 30, 2024
  6. Taylor BlauOct 2, 2024
  7. Junio C HamanoSep 30, 2024
  8. Taylor BlauOct 2, 2024
  9. Documentation: mention the amlog in howto/maintain-git.txtTaylor Blau, Oct 2, 2024
  10. Junio C HamanoOct 2, 2024
  11. Taylor BlauOct 3, 2024
  12. Documentation: mention the amlog in howto/maintain-git.txtTaylor Blau, Oct 3, 2024
  13. Junio C HamanoOct 3, 2024
  14. Ramsay JonesOct 3, 2024
  15. Taylor BlauOct 3, 2024
  16. Kristoffer HaugsbakkSep 30, 2024
  17. Eric WongOct 2, 2024
  18. Jeff KingOct 2, 2024

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.