From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IPZyErOWBmRNYQEASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 02:43:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qO8pEbOWBmTuewAAG6o9tA (envelope-from ) for ; Tue, 07 Mar 2023 02:43:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8D3920A84 for ; Tue, 7 Mar 2023 02:43:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nzXQb02i; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678153395; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Lnx4k+tT0HPc0EKVa9ALB8KE3Ur3ypXwjJc5js29BaY=; b=VmO5KtvjKCijsMbGGrEVn3MGEte5CN3hkr+FpZ811pYLrtlUI3HmsHhFZPtJGJ0Ie/D32g fXCGA1ttKJHwCDiGvu4efI73h52QD9PmpQXGs/S4TE7WweDELae8jDuhwan0ES9OcunOLR EsNqahAhoPIwjYY7Muvg527g9Sb7BOIO5ITcJ61lNqPuMAPJ2rFlE2Rxc40hXegic4VUiP Pv0QHbbhqUNL7r6+00s28lYOg3RXk0eLoj8H23OlAManfNrc626MxzYv+TTEIpIw/iNylL sUDXndPz6T1lnYuW0PvuVIX5npMQjJIyzLVagcIeJc8sNRHk8PRfOVyvgaYXKQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678153395; a=rsa-sha256; cv=none; b=GyrnZq81seuxPlLWXcRioF6TMZ8oliXoLN0QS76x5rFs3Axda4XrF0Fwft7zP9Db07Tx7C eAli/QGABLA53HnZWwDWaku3v0roV5UQ/p8IFjNRyJLIfcCpe+z7U/HVMSyBLr+eNfz0DQ YiyAozL9oQ2WBLsW4yZadLFmDUl1RcaArFBXK1qyE9Gsgp4G3yn+VnPZMr9ZJRErwzBabL UsnEuyFvH7OGTaPGH6cXy6raCQumXtvJ1R8fbGkKa9FK0zkmKOTEPIOMR6R7CAxZSVMR2A fLd6uY7X++s7y2WJT1NbbD9Lu5aHRW/e1ii5awZJAXY72+p/y7HOQbMTxfInFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=nzXQb02i; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZLoC-0003HS-4F; Mon, 06 Mar 2023 20:08:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZLoA-0003HD-BU for bug-guix@gnu.org; Mon, 06 Mar 2023 20:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZLo9-0004ZH-QR for bug-guix@gnu.org; Mon, 06 Mar 2023 20:08:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZLo9-0006Wt-Ls for bug-guix@gnu.org; Mon, 06 Mar 2023 20:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#58813: [PATCH] doc: Document how to use Patman for patches submission. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Mar 2023 01:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58813 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: liliana.prikler@gmail.com, 58813@debbugs.gnu.org, zimon.toutoune@gmail.com Received: via spool by 58813-submit@debbugs.gnu.org id=B58813.167815123725046 (code B ref 58813); Tue, 07 Mar 2023 01:08:01 +0000 Received: (at 58813) by debbugs.gnu.org; 7 Mar 2023 01:07:17 +0000 Received: from localhost ([127.0.0.1]:44028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZLnQ-0006Vr-T1 for submit@debbugs.gnu.org; Mon, 06 Mar 2023 20:07:17 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:40930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZLnP-0006Vd-2g for 58813@debbugs.gnu.org; Mon, 06 Mar 2023 20:07:15 -0500 Received: by mail-qt1-f178.google.com with SMTP id h19so12837935qtk.7 for <58813@debbugs.gnu.org>; Mon, 06 Mar 2023 17:07:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678151229; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Lnx4k+tT0HPc0EKVa9ALB8KE3Ur3ypXwjJc5js29BaY=; b=nzXQb02ioN/bInLMHVKfcqLPHyX3g3xO5zO4x3xCoxutP17q6V2UDT1XXt0wsBo9Ot qL9BjyBNGc+cgVszx/r2bY15WDY0FAC/A9kYNa8tl3cfpyL2dNGkkTUtplBY1OJzQBfl lsv+Y3JM/anOUSGrkE4jizHW1v9jdFjHMqa6GwBbxR+utFNbJnvgkB45JIAsrfb3oaMJ 3JMIIG1eq+1GNRaMobvp+QUEPjjIIjb5aLACiJz9nG12wceldi76n6R5YaEMBCiy1bdV nVJVZqFfYNHPVV9z5UCRNVSnYF5BEyR1kNQxCGc31GvoR1l4gfHBZgnZp9THGIcPB4Fl L+hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678151229; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Lnx4k+tT0HPc0EKVa9ALB8KE3Ur3ypXwjJc5js29BaY=; b=sBvxQA4vq+fvj+p0xJWmEdtJtvSB+dzyUrkLJfubNGjRqW8zOt5Js9DjyRzZ7Lb6m+ n4ze/Mt3FREiuttJQCzYpO+eMptCDkYWzJCsK6YveLNwzT4uNtrdjA1C8J1K3PPI3Yrl pycfztUe7pV1e1PEgU/T93vmABDZst6zmZUI8VTK+dqm6zQ9g67jrTR6y/nkz/TwIvta 63E7xltfUtlCT+51gT2lGbEQ2Wdxv9o1VDHbN6a3Pi2E9EadHmLTiRgWqZkik2+TB0Un oTWdHV7o1URG+PkggDMDV646sIpCGQOKHIiQ/fUrSf5uqoIsUtfU42sbaljafvPgUQ9W 204w== X-Gm-Message-State: AO0yUKWrP78fepVu3nxXsNK2kJVNRdF4tv+Ytir3bJfKdrJTVKvRFmQP 040EOL2Qswil5nowumSjErc= X-Google-Smtp-Source: AK7set+m48UQVYBPOxKU7KtddAjrMF5q2B/cP8PrBwzfMFqXrH1iD5xPGxtFpdL962UAi1+z/6XTuw== X-Received: by 2002:a05:622a:1106:b0:3bd:1835:b001 with SMTP id e6-20020a05622a110600b003bd1835b001mr21844339qty.20.1678151229425; Mon, 06 Mar 2023 17:07:09 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id bl14-20020a05620a1a8e00b00706bc44fda8sm8431519qkb.79.2023.03.06.17.07.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 17:07:08 -0800 (PST) From: Maxim Cournoyer References: <20230226035515.16214-1-maxim.cournoyer@gmail.com> <87y1oeyxbt.fsf@gnu.org> Date: Mon, 06 Mar 2023 20:07:07 -0500 In-Reply-To: <87y1oeyxbt.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 03 Mar 2023 10:54:14 +0100") Message-ID: <87fsahz7wk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: X-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam: Yes X-Migadu-Queue-Id: D8D3920A84 X-Spam-Score: 8.19 X-Migadu-Spam-Score: 8.19 List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: mqaW4AFOM//J Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Fixes . > > It=E2=80=99s only tangentially related, no? It's not totally a tangent, because it removes examples which do not work, and replace them with ones that do work, and recommend a tool that can do what the previous shell command substitution failed to do correctly (due to shell parsing rules). >> * doc/contributing.texi (Sending a Patch Series): Mention Patman. Adjus= t the >> examples to no longer showcase broken command substitutions. Add a sect= ion >> about how to use Patman, with examples. > > I=E2=80=99m not convinced we=E2=80=99d want to advocate for yet another t= ool. I feel > like this would make patch submission guidelines even more complex, or > at least look more complex. > > Also, how many of the ~40 committers would be able to provide guidance > with patman? That shouldn=E2=80=99t be the only criterion, but it certai= nly is > an important one. Since it's just documented as another tool on top, I don't think this matters too much (it can be adopted or not). It's also a very simple tool, which is more often than not invoked as simply 'patman' or 'patman -n' (for dry-run). I've also discovered about '--cc-cmd', which could be used with the recently introduced get-maintainer mode (which was added for patman support); it can be used like this: --8<---------------cut here---------------start------------->8--- git send-email --cc-cmd=3D'etc/teams.scm get-maintainer' --dry-run -1 --8<---------------cut here---------------end--------------->8--- It does the same thing as the copy/pasting of the output of --8<---------------cut here---------------start------------->8--- etc/teams.scm cc-members HEAD^ HEAD --8<---------------cut here---------------end--------------->8--- To the git send-email command, but with one difference: it uses '--cc' for the email addresses instead of the nicer --add-header=3D"X-Debbugs-Cc: mail@example.org" ones. The later is best because when initially sending the message to Debbugs, there's no bug # known yet, and the receivers would be left to guess and perhaps even reply erroneously to guix-patches@gnu.org and create a new ticket. For this reason, I'm toying with the idea of contributing a "--x-cmd" option to git send-email, which would be a script that outputs arbitrary git send-email options to add to its command line. To be continued... --=20 Thanks, Maxim