From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 13 21:17:26 2020 Received: (at 44625) by debbugs.gnu.org; 14 Nov 2020 02:17:26 +0000 Received: from localhost ([127.0.0.1]:49586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdl81-0000pZ-Vu for submit@debbugs.gnu.org; Fri, 13 Nov 2020 21:17:26 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdl7y-0000pH-HT for 44625@debbugs.gnu.org; Fri, 13 Nov 2020 21:17:24 -0500 Received: by mail-wm1-f66.google.com with SMTP id a3so14480213wmb.5 for <44625@debbugs.gnu.org>; Fri, 13 Nov 2020 18:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=tUiqfS0ATJM+HDz4/EoqkxUEk9mEJgwalnK8+9QXOVw=; b=Y1hsWym6qH31d4hrfn3iBju7Tn26Jn6+gbreRuHYsejCLyROmD2buwON7Gts5U2825 wAjwghjFi+32UnysnL0L1zSk3C4x9kFiDCztl96lXXPWKWnQzCzL6s8p84vZ0fekpT9b YF0ax0P3Kb08Nx4zY6N4o4eAPjIQVr9zKlteAcMotDngKMwxBDm5SvnesygPTnDj2oNm f/6ZOukPOf2FiKWVX98n+rSJQaSPMiBBXAV+XcYQCzwSv4GpQ9MYaPdZGDqSpTHZCdO3 H32bSe425fdQtqNtFH8vnsSHrNDs71BaD5GucH9KAhyF7md6CTtUQiT+fKONT/xzhD/7 sIxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=tUiqfS0ATJM+HDz4/EoqkxUEk9mEJgwalnK8+9QXOVw=; b=B2tqAl3dQWAu0KCBs7t0hWe55gNJU8rCkn93j6ZVLQ9azYJZrTzvVs1qcjyFyURtNC 89Aq+Em1vBhunS/iPq614oCNyUFn9lhwp8hZw8CvamjCG8mllPltbLnf3wJ6uoVCslav 84cN4Fx1EErugEi6kpSvzOp8dr6OwPdn0Bn+hVGzmvnR8DyO2vWPak2A81RtEA5lnwmC 0s1VuDNNksvpE47HTgTnCLUqHSa8m9pMpJCoiEWFdBZd6BivoRdlO28C4YC31WHzkP2l HfMHQR2MmTK+BOu/oEI5xgbWUQ4DdKVwTDooDzmKq/yRVkMPlu7xguM8cJcLfFp3KPX/ aW7Q== X-Gm-Message-State: AOAM532PVHu/WElSqV8dKGgHTYslwv9ykZTf/jXuq/jIGbaGVEgf7r7x 0pxdCDC7utnzZZXqOBdQOLrBeX+PyoAPAg== X-Google-Smtp-Source: ABdhPJyB1oS7zCEwOZ+3FmaJM+gYVBAo6rsSvdEl5c3sAZS/F0diIpUHuOt8USUJBcverT5zuZ644g== X-Received: by 2002:a1c:f31a:: with SMTP id q26mr5059840wmq.178.1605320236173; Fri, 13 Nov 2020 18:17:16 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g20sm11807341wmh.20.2020.11.13.18.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 18:17:15 -0800 (PST) From: zimoun To: Kyle Meyer , 44625@debbugs.gnu.org Subject: Re: [bug#44625] [PATCH] gnu: Add b4. In-Reply-To: <20201114003906.25111-1-kyle@kyleam.com> References: <20201114003906.25111-1-kyle@kyleam.com> Date: Sat, 14 Nov 2020 03:14:26 +0100 Message-ID: <86ima8d6rh.fsf@tournier.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 44625 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Kyle, I have not tried your patch, yet. And I have questions about tooling, maybe it is not the right place to do so. On Fri, 13 Nov 2020 at 19:39, Kyle Meyer wrote: > b4 is focused on lore.kernel.org public-inbox archives, but it's useful= for > any public-inbox [1] instance, including yhetil.org/guix-patches :). H= ere's > an example with a recent multi-patch thread that involves multiple vers= ions. Look super useful. > $ # in the guix repo > $ git config b4.attestation-policy off > $ git config b4.midmask https://yhetil.org/guix-patches/%s > $ b4 am 20201028165112.28575-1-zimon.toutoune@gmail.com > > The end result is a filtered mbox with the v2 patches. Also, because t= he > sender helpfully included the base commit, `b4 am' will use that inform= ation > in the instructions that it outputs. You mean =E2=80=99b4=E2=80=99 filters out the 2 Ludo=E2=80=99s messages whe= n applying the 2 patches, right? In this case, =E2=80=99b4=E2=80=99 will also fetch the patches from yhetil.= org, right? If exposes (somewhere?) the Message-ID (as we have discussed [1]), then one user could browse, copy the Message-ID that they is interested and paste locally as you explain above; without the need to subscribe or use Emacs-Debbugs. Right? BTW, I think that base commit should be strongly encouraged when submitting patches. See [2] :-) 1; 2: > If the above sounds useful to you but you'd prefer to work in Emacs, you > might be interested in piem (), whi= ch > includes a transient (i.e magit-popup's successor) interface to b4. I have not tried either. Is it packaged for Guix? Well, does b4 and piem works with worktree? Currently, I am using Emacs and Notmuch. I have subscribed to guix-patches and when I try a patch, I do: | git gam the-branch-worktree where =E2=80=99gam=E2=80=99 is just =E2=80=99-C ~/src/guix/wk/ am -3 --reje= ct=E2=80=99. And depending on the thread structure, sometimes I have to go patch by patch. Using b4+piem, then reading the message, I will do =E2=80=99M-x piem-b4-am= =E2=80=99 and whatever the thread structure, the patches sent as =E2=80=9Cin-reply-to=E2= =80=9C will be applied. Right? (Aside messages including non inlined patches, if I read correctly the doc.) All the best, simon