From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 09 15:52:22 2023 Received: (at 58813) by debbugs.gnu.org; 9 Jan 2023 20:52:22 +0000 Received: from localhost ([127.0.0.1]:38318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEz81-0001Lp-UJ for submit@debbugs.gnu.org; Mon, 09 Jan 2023 15:52:22 -0500 Received: from mail-qv1-f51.google.com ([209.85.219.51]:35371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEz80-0001LZ-0n for 58813@debbugs.gnu.org; Mon, 09 Jan 2023 15:52:20 -0500 Received: by mail-qv1-f51.google.com with SMTP id i12so7105224qvs.2 for <58813@debbugs.gnu.org>; Mon, 09 Jan 2023 12:52:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=P2opFA/IkV1659OcLvjrKE7YNGNUk5IPEEcP5uSzqco=; b=Ll9jqOhIRWeZoeL9wslt0Mou3mCcUgZ72zCu1zEeJjhV++DrgTxddziXGjcHVOkX5A dZMkCzXhzcTEgQWC4ge5zSVDVrrwt/5hpzPPwEAY8h4fjjWmBFdrQvdYCegrA81teZjH hAeq2dq8CLjbgd0LcTJbc8RDg6YrF7DziWNIJ1N8GWG4qImZShqs1P1nV0j74QAPiZiO /3mbQ28HW+zMBgg7K+AjfU/1m+3LyzLr61rfBxRTMAba5kYkTV9wFIGm29eW3GCxPx5v MXhJsQ5qArqN8Wks8Mcy8ujTen73vM/zrTHcb5x4JcIAU9bA4Lb8ivV7lOGSW5W8XRsz /rxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=P2opFA/IkV1659OcLvjrKE7YNGNUk5IPEEcP5uSzqco=; b=N8QtDXz5XsplGNECZQNm3nkaYcUA6g94w0625/ghZ1IXuvE7hIyfi6tflggMmoU1ue IBMgi1gmUivqgBEdC/96wmHNAu9rHFwWYhwNaH98PaWHlVr4AvwD/Kf3r2prG0vL42U6 y3kQnIVW/XLWOwiuFwpfurf+7zyzhdWN07KihRWtFU+ccdV6am8RwraeXCJp5n0HziaV +oBaN6LJeIk1gGxIhbWxr33P80dkOYP6ByQJPdDwKSstY8dEkBYjKdqobK2I5xg8tj1q mZ/dp3KDr7JHs+plhciDWDQI7r37qS8D/kaNMH7fLh/wvh0lmxEqsMv3utCWvkIB3WjB rVRw== X-Gm-Message-State: AFqh2ko/oWCSO5e6Uvzg6ReISa2Pq+vLdakx8UZOisDXnvf5tSv7XJvt 8PBC1JeF4WShEKtSkGZeBs9Y3y3etByhcQ== X-Google-Smtp-Source: AMrXdXuQXxSvmympp1R1cynQ0GRBUEWLyH7VHV/eauxJWVliK87uqGQaQRqjkCXN7zH4CKGSB5VMBg== X-Received: by 2002:a05:6214:2b90:b0:532:2c0e:412a with SMTP id kr16-20020a0562142b9000b005322c0e412amr10063216qvb.52.1673297534248; Mon, 09 Jan 2023 12:52:14 -0800 (PST) Received: from hurd (dsl-157-228.b2b2c.ca. [66.158.157.228]) by smtp.gmail.com with ESMTPSA id k2-20020a05620a414200b006faaf6dc55asm6042830qko.22.2023.01.09.12.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 12:52:13 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#58813: can't substitute etc/teams.scm command as doc suggests References: <87a62z6yl7.fsf@gnu.org> <86fscp6uk7.fsf@gmail.com> <87tu14oqna.fsf@gmail.com> <87v8lfpqpb.fsf_-_@gnu.org> Date: Mon, 09 Jan 2023 15:52:12 -0500 In-Reply-To: <87v8lfpqpb.fsf_-_@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s?= =?utf-8?Q?=22's?= message of "Mon, 09 Jan 2023 18:23:28 +0100") Message-ID: <87358jmnwj.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 58813 Cc: guix-devel@gnu.org, 58813@debbugs.gnu.org, Simon Tournier 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 Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Simon Tournier writes: >> >>> Hi Ludo, >>> >>> On Tue, 03 Jan 2023 at 23:29, Ludovic Court=C3=A8s wrote: >>> >>>> The manual recommends this (info "(guix) Teams"): >>>> >>>> git send-email --to ISSUE_NUMBER@debbugs.gnu.org $(./etc/teams.scm c= c mentors) *.patch >>>> >>>> where: >>>> >>>> --8<---------------cut here---------------start------------->8--- >>>> =CE=BB ./etc/teams.scm cc mentors >>>> --add-header=3D"X-Debbugs-Cc: rg@raghavgururajan.name" >>>> --add-header=3D"X-Debbugs-Cc: zimon.toutoune@gmail.com" =E2=80=A6 >>>> --8<---------------cut here---------------end--------------->8--- >>>> >>>> I believe this cannot work because the shell will split words on each >>>> whitespace; IOW, the double quotes above do not have the desired effec= t. >> >>> Well, IIUC, this part is tracked by #58813 [1]. >>> >>> 1: >> >> Indeed (CC'd). >> >> I thought about not using whitespace in the generated output, but I'm >> not sure if Debbugs or email clients in general would care, plus it's a >> dirty fix. > > Right. > > How about just outputting a line like: > > X-Debbugs-Cc: maxim@example.org, ludo@example.org > > that people would paste in their cover letter? Yes, that's better. > How do Linux=E2=80=99s scripts work? I think the scripts just print stuff at the terminal and expect the user to copy paste. Patman can be used to provide automation on top of that. >> With the recent patman integration merged (though do apply #60576 as a >> fixup commit), I'm tempted to remove the mentions of git send-email >> $(etc/teams.scm cc-members ...) and replace that by 'Further automation >> of git send-email and etc/teams.scm is possible via the patman package'. >> >> What do you think? > > This is the first time I hear about patman. :-) > > The =E2=80=9CSubmitting Patches=E2=80=9D section mentions =E2=80=98git se= nd-email=E2=80=99; I don=E2=80=99t > think this is about to change, is it? It wouldn't change; patman would be hinted at briefly with a reference to its documentation (info '(u-boot) Patman patch manager' from the u-boot-documentation package) as a nice way to stay organize with submissions and automate a few things on top of git send-email. --=20 Thanks, Maxim