[Reportbug-maint] Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header

Sandro Tosi morph at debian.org
Sat Mar 6 08:25:27 UTC 2010

Hello Piotr,

On Thu, Mar 4, 2010 at 01:56, Piotr Engelking <inkerman42 at gmail.com> wrote:
>> commit c1b3e2969fe87e0607742bc4c478d58691018259
>> Author: Sandro Tosi <morph at debian.org>
>> Date:   Wed Mar 3 19:20:52 2010 +0100
>>    identify the pseudo-headers passed on the command-line and don't
>>    merge them in the mail headers, but add them to the bug "standard"
>>    pseudo-headers; thanks to Piotr Engelking for the report; Closes:
>>    #552167
> This takes care of the pseudo-header specified at the command line,
> but not of the one added by hand during editing. The latter is still
> moved to the mail header.

Yes, that's intended (I'm going to clarify this in the documentation).
The problem is, sometimes is handy to be able to add a mail header in
the "pseudo-header" section, and have it moved to mail header when
sending the report. For example X-Debbugs-CC.

If I have to leave all those files in the pseudoheader section without
moving them, then there would be a kind-of regression. So, I decided
to force those p.h. to be left in the p.h. section only if specified
on the command-line, and keep doing the same filtering (if the field
is recorded in the p.h. list of headers) and move the other fields to
mail headers if specified in the mail text.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Reportbug-maint mailing list