Skip to content

stg mail --compose is not setting In-Reply-To or Reference from the cover letter. #459

Description

@chaudron

When I use stg as follows:

stg email send --to eelco@redhat.com -a --annotate -v 3 --compose

The cover letter generated/sent is not the first email, where the rest references too. It's sent as a stand-alone email. Here is an example, see the missing In-Reply-To on PATCH 1/8, and the In-Reply-To to PATCH 1/8 in PATCH 2/8:

$ stg email send --to eelco@redhat.com -a --annotate -v 3 --compose                                                  
/tmp/b4MDc8p329/v3-0001-netdev-linux-Fix-possible-int-overflow-in-tc_add_.patch
/tmp/b4MDc8p329/v3-0002-cfm-Fix-possible-integer-overflow-in-tc_add_match.patch                                                                                                                                                                                                                                 
/tmp/b4MDc8p329/v3-0003-sflow-Replace-libc-s-random-function-with-the-OVS.patch
/tmp/b4MDc8p329/v3-0004-sflow-Use-uint32_t-instead-of-time_t-for-tick-han.patch
/tmp/b4MDc8p329/v3-0005-sflow-Fix-check-for-disabled-receive-time.patch
/tmp/b4MDc8p329/v3-0006-ofproto-dpif-Define-age-as-time_t-in-ofproto_unix.patch
/tmp/b4MDc8p329/v3-0007-db-ctl-base-Initialize-the-output-variable-in-the.patch
/tmp/b4MDc8p329/v3-0008-netdev-linux-Fix-uninitialized-gso_type-case.patch

From: Eelco Chaudron <echaudro@redhat.com>
To: eelco@redhat.com
Subject: [PATCH 0/8] Cover letter test.
Date: Wed, 29 May 2024 11:29:47 +0200
Message-ID: <20240529094318.770728-1-echaudro@redhat.com>
X-Mailer: git-send-email 2.44.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y
OK. Log says:
Server: smtp.corp.redhat.com
MAIL FROM:<echaudro@redhat.com>
RCPT TO:<eelco@redhat.com>
From: Eelco Chaudron <echaudro@redhat.com>
To: eelco@redhat.com
Subject: [PATCH 0/8] Cover letter test.
Date: Wed, 29 May 2024 11:29:47 +0200
Message-ID: <20240529094318.770728-1-echaudro@redhat.com>
X-Mailer: git-send-email 2.44.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Result: 250 

From: Eelco Chaudron <echaudro@redhat.com>
To: eelco@redhat.com
Subject: [PATCH v3 1/8] netdev-linux: Fix possible int overflow in tc_add_matchall_policer().
Date: Wed, 29 May 2024 11:29:48 +0200
Message-ID: <94d1b4674a464d21b825f7df0c29717475997271.1716974994.git.echaudro@redhat.com>
X-Mailer: git-send-email 2.44.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): y
OK. Log says:
Server: smtp.corp.redhat.com
MAIL FROM:<echaudro@redhat.com>
RCPT TO:<eelco@redhat.com>
From: Eelco Chaudron <echaudro@redhat.com>
To: eelco@redhat.com
Subject: [PATCH v3 1/8] netdev-linux: Fix possible int overflow in tc_add_matchall_policer().
Date: Wed, 29 May 2024 11:29:48 +0200
Message-ID: <94d1b4674a464d21b825f7df0c29717475997271.1716974994.git.echaudro@redhat.com>
X-Mailer: git-send-email 2.44.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Result: 250 

From: Eelco Chaudron <echaudro@redhat.com>
To: eelco@redhat.com
Subject: [PATCH v3 2/8] cfm: Fix possible integer overflow in tc_add_matchall_policer().
Date: Wed, 29 May 2024 11:29:49 +0200
Message-ID: <3f0f433c3d6b91c80261730640a8bc7e4f14b400.1716974994.git.echaudro@redhat.com>
X-Mailer: git-send-email 2.44.0
In-Reply-To: <94d1b4674a464d21b825f7df0c29717475997271.1716974994.git.echaudro@redhat.com>
References: <94d1b4674a464d21b825f7df0c29717475997271.1716974994.git.echaudro@redhat.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions