๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7432

Bug#854803: gbp pq export does not generate From line anymore

#7432
From: Arnaud Rebillout
Date: Fri, 04 Dec 2026 08:10
33 lines
3096 bytes
On Fri, 10 Feb 2017 16:29:32 +0100 Guido =?iso-8859-1?Q?G=FCnther?= 
<agx@sigxcpu.org> wrote:
 > When generating patches we don't generate a From line anymore like:
 >
 > From f57c88e2e7a94d3f623ee64e3c59adbdfeb9404a Mon Sep 17 00:00:00 2001
 >
 > This is bad since patches can't be easily forwarded with "mutt -f
 > patchname" anymore easily.
 >
 > This got broken by c661c7153783c79c45fbe63d828b03ea0a788215 in 2013.


Alternatively to "generating" a From line, what about "preserving" it?

Common-use case: get a git-formatted patch from upstream, then do a gbp 
pq round trip. The first line "From <hash> <date>" disappears in the 
process.

I'd like it to stay as is, untouched. I don't want to loose the git hash 
of the patch, that's a very useful information to keep.

I know I'm supposed to add a "Origin: ..." tag and record the git hash 
in there, according to DEP-3, but it takes extra time. I don't always do 
this extra step, and I've noticed that others don't do it either.

I think that if gbp could leave this first From line untouched, that 
would be an improvement.

What do you think?

Cheers,

Arnaud
Technical Details
Message-ID: <O6wwF-fTQ8-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ro.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <t9lsJ-5dQ-5@gated-at.bofh.it> <t9lsJ-5dQ-5@gated-at.bofh.it> <t9lsJ-5dQ-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ro.newsdeef.eu!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Arnaud Rebillout <arnaudr@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#854803: gbp pq export does not generate From line anymore
Date: Fri, 04 Dec 2026 09:10:01 +0100
Message-ID: <O6wwF-fTQ8-1@gated-at.bofh.it>
References: <t9lsJ-5dQ-5@gated-at.bofh.it> <t9lsJ-5dQ-5@gated-at.bofh.it> <t9lsJ-5dQ-5@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 08:09:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Arnaud Rebillout <arnaudr@debian.org>, 854803@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: agx@sigxcpu.org
X-Debian-Pr-Message: followup 854803
X-Debian-Pr-Package: git-buildpackage
X-Debian-Pr-Source: git-buildpackage
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: arnaudr
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006889
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 33
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Guido Gรผnther <agx@sigxcpu.org>
X-Original-Date: Fri, 4 Dec 2026 15:07:59 +0700
X-Original-Message-ID: <6b0139e5-a990-4a55-8889-6d076d49fbb6@debian.org>
X-Original-References: <20170210152932.ogdroaz6l4ijjthd@bogon.m.sigxcpu.org> <20170210152932.ogdroaz6l4ijjthd@bogon.m.sigxcpu.org> <20170210152932.ogdroaz6l4ijjthd@bogon.m.sigxcpu.org>