From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Blake Subject: bug#25969: guix-patches debbugs appears to mangle patches Date: Mon, 6 Mar 2017 11:54:56 -0600 Message-ID: <398d7c29-a7c4-f600-49f1-e7db9562b509@redhat.com> References: <20170304225456.GB19780@jasmine> <87a88yww0m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WLLtW2XvICenl2Nhm3NOsR9JEvrrw68UI" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckwrg-0006Xr-9N for bug-guix@gnu.org; Mon, 06 Mar 2017 12:56:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckwra-0006OF-Ne for bug-guix@gnu.org; Mon, 06 Mar 2017 12:56:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckwra-0006O8-KQ for bug-guix@gnu.org; Mon, 06 Mar 2017 12:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ckwra-0003Um-EL for bug-guix@gnu.org; Mon, 06 Mar 2017 12:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Glenn Morris , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25969@debbugs.gnu.org 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--