From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glenn Morris Subject: bug#25969: guix-patches debbugs appears to mangle patches Date: Mon, 06 Mar 2017 12:46:31 -0500 Message-ID: References: <20170304225456.GB19780@jasmine> <87a88yww0m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckwiu-0004Qh-Jq for bug-guix@gnu.org; Mon, 06 Mar 2017 12:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckwit-0003BT-Nf for bug-guix@gnu.org; Mon, 06 Mar 2017 12:47:04 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44863) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ckwit-0003BP-Jy for bug-guix@gnu.org; Mon, 06 Mar 2017 12:47:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ckwit-00036H-Dx for bug-guix@gnu.org; Mon, 06 Mar 2017 12:47:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a88yww0m.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Mar 2017 11:16:09 +0100") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 25969@debbugs.gnu.org Ludovic Court=C3=A8s wrote: > Hello! > > Leo Famulari skribis: > >> The guix-patches debbugs thing causes a regression in this workflow by >> 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? 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 passing the mail to your tool.