From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 12:55:05 2017 Received: (at 25969) by debbugs.gnu.org; 6 Mar 2017 17:55:05 +0000 Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckwqf-0003TW-Hw for submit@debbugs.gnu.org; Mon, 06 Mar 2017 12:55:05 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckwqe-0003Sy-0M for 25969@debbugs.gnu.org; Mon, 06 Mar 2017 12:55:04 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1062C81129; Mon, 6 Mar 2017 17:54:59 +0000 (UTC) Received: from [10.10.124.84] (ovpn-124-84.rdu2.redhat.com [10.10.124.84] (may be forged)) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v26HsvJK009410; Mon, 6 Mar 2017 12:54:58 -0500 Subject: Re: bug#25969: guix-patches debbugs appears to mangle patches To: Glenn Morris , =?UTF-8?Q?Ludovic_Court=c3=a8s?= References: <20170304225456.GB19780@jasmine> <87a88yww0m.fsf@gnu.org> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Organization: Red Hat, Inc. Message-ID: <398d7c29-a7c4-f600-49f1-e7db9562b509@redhat.com> Date: Mon, 6 Mar 2017 11:54:56 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WLLtW2XvICenl2Nhm3NOsR9JEvrrw68UI" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 06 Mar 2017 17:54:59 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 25969 Cc: 25969@debbugs.gnu.org, help-debbugs@gnu.org, Leo Famulari 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: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WLLtW2XvICenl2Nhm3NOsR9JEvrrw68UI Content-Type: multipart/mixed; boundary="RVAibk9gUQCXmMU3Wvb0XRtqwAASvApo2"; protected-headers="v1" From: Eric Blake To: Glenn Morris , =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: 25969@debbugs.gnu.org, help-debbugs@gnu.org, Leo Famulari Message-ID: <398d7c29-a7c4-f600-49f1-e7db9562b509@redhat.com> Subject: Re: bug#25969: guix-patches debbugs appears to mangle patches References: <20170304225456.GB19780@jasmine> <87a88yww0m.fsf@gnu.org> In-Reply-To: --RVAibk9gUQCXmMU3Wvb0XRtqwAASvApo2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/06/2017 11:46 AM, Glenn Morris wrote: > Ludovic Court=C3=A8s wrote: >=20 >> Hello! >> >> Leo Famulari skribis: >> >>> The guix-patches debbugs thing causes a regression in this workflow b= y >>> rewriting the commit messages to include the debbugs ticket number. >>> >>> So, a commit that begins with this: >>> >>> gnu: gitolite: Fix shebangs in hooks. >>> >>> ... becomes this: >>> >>> bug#25966: [PATCH 2/2] gnu: gitolite: Fix shebangs in hooks. >>> >>> Am I missing something, or is debbugs really rewriting the patches? >> >> Good question. Maybe Glenn and others at help-debbugs have an idea? >=20 > I think it's over the top to describe this as "mangling" or "rewriting"= > patches. The system relies on adding a bug number to the subject, so > that replies to the maintainer address can be associated with the right= > bug. I don't see any prospect of this changing. If you are using a tool= > that is sensitive to the subject line in emails, I can only suggest > using eg a trivial sed command to take out the bug number before passin= g > the mail to your tool. 'git am' already knows how to strip anything inside one or more [text] prefix of the subject. I don't know how hard it would be to convince the GNU debbugs instance to output '[bug#25969] ' instead of its current 'bug#25969: ' (and of course to also recognize both spellings on input, when checking for existing mails in reply to existing bugs), but such a tweak would play nicer with a git patch workflow. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --RVAibk9gUQCXmMU3Wvb0XRtqwAASvApo2-- --WLLtW2XvICenl2Nhm3NOsR9JEvrrw68UI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYvaJwAAoJEKeha0olJ0NqZOoIAIDd+x0JUgoVp2OgIGzDYZ0N wEq4zcYl2AYUZ1A9kN5JcJZh0DCDHLjSNpZ0zqudk7vkiHu7TDAMMOF0fazGVrY/ LfwdswX8bFmnsHdDSMk6yC4mVpOQ+jZ9Yx0oXoZbc3UKx9nYLeV+PqYny7tHfKiJ YN9e1rgMo8e5ud7n+jPcKhNEtKTorV4weTDy5MA9rYo2VUHRxYnfa36ZdFp2HPeP lmY9VGIwpLcTa/wdhylJFJBAwV6XzcznMv4+IHfob411Ra54z9KzW17LIwp6JYb5 7kI/x1AxhuZmI7i7pb9G4y9N1ksQ8pu2yeuRxZ8YWAhUtECGE3yQB1U/BxZyH1I= =CB5d -----END PGP SIGNATURE----- --WLLtW2XvICenl2Nhm3NOsR9JEvrrw68UI--