From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 12:46:47 2017 Received: (at 25969) by debbugs.gnu.org; 6 Mar 2017 17:46:47 +0000 Received: from localhost ([127.0.0.1]:43057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckwic-0002xa-KE for submit@debbugs.gnu.org; Mon, 06 Mar 2017 12:46:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckwia-0002rZ-Np for 25969@debbugs.gnu.org; Mon, 06 Mar 2017 12:46:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ckwiU-000320-Nu for 25969@debbugs.gnu.org; Mon, 06 Mar 2017 12:46:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ckwiP-00030Q-1Y; Mon, 06 Mar 2017 12:46:33 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ckwiN-0004yn-BO; Mon, 06 Mar 2017 12:46:31 -0500 From: Glenn Morris To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#25969: guix-patches debbugs appears to mangle patches References: <20170304225456.GB19780@jasmine> <87a88yww0m.fsf@gnu.org> X-Spook: Al-Qaeda Majic FEMA Human to Human Compsec White Powder X-Ran: \I.ZJ0&uqa@+be,MWAq82/_7xh\m(g#O60._pD?yhUch/`u!N>Cq"m`OsB}#6+DxgXxJt{ X-Hue: cyan X-Attribution: GM Date: Mon, 06 Mar 2017 12:46:31 -0500 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") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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 (-----) 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.