Johannes Schindelin wrote: > Hi team, > > I found myself in dear need to quickly look up mails in the public-inbox > mail archive corresponding to any given commit in git.git. Some time ago, > I wrote a shell script to help me with that, and I found myself using it a > couple of times, so I think it might be useful for others, too. Hello, I think you can dump all the info you need more quickly without cloning 1G of data by dumping NNTP OVER(view) information instead. I've attached a short Perl script which dumps the tab-delimited file to stdout so you can process it with whatever. Columns relevant to you would probably be 2-5: NUM Subject From Date Message-ID On public-inbox-nntpd, Dates are normalized to UTC in the OVER response right now, so you'd need to use TZ=UTC with --date=rfc-local It works with both nntp://news.gmane.org/gmane.comp.version-control.git nntp://news.public-inbox.org/inbox.comp.version-control.git > Note: the way mails are matched is by timestamp. In practice, this works > amazingly often (although not always, I reported findings short after > GitMerge 2017). My plan was to work on this when/as needed. Thanks for that. I've added dt: (date-time) searching to public-inbox (d: (date-only) has been there forever): d: date range as YYYYMMDD e.g. d:19931002..20101002 Open-ended ranges such as d:19931002.. and d:..20101002 are also supported dt: date-time range as YYYYMMDDhhmmss (e.g. dt:19931002011000..19931002011200) To match an exact timestamp, both the begining and end range should be the same. (It'd be nice if Xapian + Perl bindings could get date parsing as good as git's. Too bad C++ / XS overwhelms my tiny brain and waiting for builds overwhelm my patience) > git rev-parse --quiet --verify \ > b60d038730d2c2bb8ab2b48c117db917ad529cf7 >/dev/null 2>&1 || > die "Not a public-inbox directory: $(pwd)" Eep. I'd don't think it's good to put such a hard dependency on a particular mirror I started. Somebody could start another one which wasn't sourced from gmane and the Received: headers would be different. ...And I'm pondering a conversion of what's running on https://public-inbox.org/git/ to the new v2 repository format: https://public-inbox.org/meta/20180419015813.GA20051@dcvr/ https://public-inbox.org/meta/20180209205140.GA11047@dcvr/ https://public-inbox.org/meta/20180215105509.GA22409@dcvr/