From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id A7B191F5AE for ; Wed, 28 Apr 2021 07:59:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236440AbhD1IAN (ORCPT ); Wed, 28 Apr 2021 04:00:13 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:55112 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbhD1IAM (ORCPT ); Wed, 28 Apr 2021 04:00:12 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B45CC1F5AE; Wed, 28 Apr 2021 07:59:27 +0000 (UTC) Date: Wed, 28 Apr 2021 07:59:27 +0000 From: Eric Wong To: "brian m. carlson" , Jonathan Nieder , git@vger.kernel.org, Raxel Gutierrez , mricon@kernel.org, patchwork@lists.ozlabs.org, Junio C Hamano , Taylor Blau , Emily Shaffer Subject: Re: Pain points in Git's patch flow Message-ID: <20210428075927.GC13114@dcvr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org "brian m. carlson" wrote: > I have tooling to automatically generate the proper range for > range-diffs in cover letters, but that tooling requires some sort of > manual timestamp, which means I need to go search for my previous series > to find the date and generate the range diff, or if I'm in a rush, I > just have to omit it. This can take some time, having to guess what I > named the cover letter the last time and search for it in a mailbox with > a 6-digit quantity of mails[0]. > > In general, I have trouble keeping track of the patch mails I've sent. > I do definitely need to refer to them later, but I don't generally keep > them around on my system since they tend to duplicate my repository, so > I end up needing to find them in my mailbox, which as mentioned, is > slow and error prone. Along the lines of what Ted said about Fcc, I've always Bcc-ed myself on every message I send to verify deliverability and check/train my spam filter. What search tool do you use? mairix can handle the 6-digit quantity of the git list fairly well. The following finds all threads with "sandals" in From/To/Cc: mairix -t a:sandals d:YYYYMMDD-YYYYMMDD and dumps it to whatever Maildir/mbox/IMAP "mfolder" you've configured. (prefixes in public-inbox such as "a:", "d:" and "s:" are stolen from mairix; though mairix ranges use "-" and public-inbox uses ".." due to Xapian). I've also heard good things about notmuch, but I archive old mail to gzipped mboxrd right now[1], and that only supports Maildir... I learned to use Xapian by reading code in notmuch. [1] Fwiw, I'm also working on an AGPL Perl5 storage+search CLI that scales to 7/8-digit mail collections. It's not ready for prime-time, yet, but getting there... (Assuming it doesn't set my SSD on fire, first :x)