Skip to contentSkip to conversation

YP overview manual: style improvements

PATCH Michael Opdenacker 4 participants 11 messages Mar 30, 2021 – Apr 6, 2021 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

Quoted 1 line · Michael Opdenacker

Thanks in advance for your reviews!

Sorry, I missed again! When I sent the e-mail to myself, both the cover letter and patch were on the same thread.

But, when I sent to the list, I lost that. Here's the command I used (I referred to "man git-send-email"):

git send-email --compose --thread --no-chain-reply --to [email protected] 0001-YP-overview-manual-style-improvements.patch

What would you do to have both messages in the same thread? I mean, without having to run "git send-email" twice, the second time with "--in-reply-to=".

Apologies again for the noise...

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hi Michael,

Quoted 6 lines · Michael Opdenacker

Hello,

Quoted 1 line · Michael Opdenacker

Thanks in advance for your reviews!

Quoted 8 lines

Sorry, I missed again! When I sent the e-mail to myself, both the cover letter and patch were on the same thread.

But, when I sent to the list, I lost that. Here's the command I used (I referred to "man git-send-email"):

git send-email --compose --thread --no-chain-reply --to [email protected] 0001-YP-overview-manual-style-improvements.patch

git format-patch --cover-letter <commit-hash>

(refer to man git-format-patch for the logic behind the <commit-hash>
parameter)

Edit the cover letter manually.

git send-email --to [email protected] *.patch

From memory, so it might be slightly different in reality.

Cheers,
Quentin

#3 lore raw

Hi Quentin,

Thanks for your advise!

Quoted 6 lines

git format-patch --cover-letter <commit-hash>

(refer to man git-format-patch for the logic behind the <commit-hash>
parameter)

Edit the cover letter manually.

Good, I'll try that!

Quoted 2 lines

git send-email --to [email protected] *.patch

Thanks! I had the wrong belief that git send-email was sending by default to separate threads. I tested again and you are obviously right.

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 12 lines · Quentin Schulz

Hi Michael,

Quoted 9 lines · Michael Opdenacker

Hello,

Quoted 1 line · Michael Opdenacker

Thanks in advance for your reviews!

Sorry, I missed again! When I sent the e-mail to myself, both the cover letter and patch were on the same thread.

They seem to be on the same mail thread in my mail client, not sure if anyone else than you has the issue?

It is possible your mail client is confused because git send-email will add yourself to the recipients (since you're the author and added your SoB), so you might receive the mail twice, once from the mailing list, once "from" git send-email (your own mail server reading the recipients basically).

Quentin

#6 lore raw
Quoted 10 lines · Quentin Schulz
Quoted 9 lines · Quentin Schulz

Hi Michael,

Quoted 6 lines · Michael Opdenacker

Hello,

Quoted 1 line · Michael Opdenacker

Thanks in advance for your reviews!

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

Sorry, I missed again! When I sent the e-mail to myself, both the cover letter and patch were on the same thread.

They seem to be on the same mail thread in my mail client, not sure if anyone else than you has the issue?

Looks fine for me too.
However please avoid cover letter when you have just one patch. You can add additional information when you send one email, if you add it after the commit message (after the ---), this will not be used when applying the patch.

Quoted 13 lines

It is possible your mail client is confused because git send-email will add yourself to the recipients (since you're the author and added your SoB), so you might receive the mail twice, once from the mailing list, once "from" git send-email (your own mail server reading the recipients basically).

Quentin

#7 lore raw

Hi Nicolas,

Quoted 7 lines · Nicolas Dechesne

On 3/30/21 5:36 PM, Quentin Schulz wrote:

Looks fine for me too.
However please avoid cover letter when you have just one patch. You can add additional information when you send one email, if you add it after the commit message (after the ---), this will not be used when applying the patch.

Very good to know! I'll do that next time.
Indeed, I didn't want to provide some context by replying to my patch.

Or maybe I'm just being too verbose ;-)

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#8 lore raw
Quoted 21 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Michael Opdenacker
Sent: den 30 mars 2021 18:25
To: Nicolas Dechesne <[email protected]>; Quentin Schulz <[email protected]>
Cc: [email protected]
Subject: Re: [docs] [PATCH 0/1] YP overview manual: style improvements

Hi Nicolas,

Quoted 7 lines · Nicolas Dechesne

On 3/30/21 5:36 PM, Quentin Schulz wrote:

Looks fine for me too.
However please avoid cover letter when you have just one patch. You can add additional information when you send one email, if you add it after the commit message (after the ---), this will not be used when applying the patch.

Quoted 6 lines

Very good to know! I'll do that next time.
Indeed, I didn't want to provide some context by replying to my patch.

Or maybe I'm just being too verbose ;-)

Michael.

Please make sure to prefix the commit subjects with a relevant document or similar, just like we do for all commits to, e.g., OE-Core. Contrary to, e.g., commits in the bitbake repository, there is no prefix added when the commits to the documentation repository are included in poky, making these commit stand out and lacking context when using, e.g., git log --oneline. Look back through the git log to get examples of how this has traditionally been done.

//Peter

#9 lore raw

Hi Peter,

Quoted 7 lines · Peter Kjellerstedt

Please make sure to prefix the commit subjects with a relevant document or similar, just like we do for all commits to, e.g., OE-Core. Contrary to, e.g., commits in the bitbake repository, there is no prefix added when the commits to the documentation repository are included in poky, making these commit stand out and lacking context when using, e.g., git log --oneline. Look back through the git log to get examples of how this has traditionally been done.

Thank you for the advise; it definitely makes sense when understanding the Poky constraints.

I split the patch into 2 different commits with a proper subject header. They are now in branch "master-next".

Thanks again,

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw
Quoted 45 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 31 mars 2021 18:40
To: Michael Opdenacker <[email protected]>
Cc: [email protected]
Subject: Re: [docs] [PATCH 0/1] YP overview manual: style improvements

Quoted 2 lines

-----Original Message-----
From: [email protected] <[email protected]> On

Behalf

Quoted 19 lines

Of Michael Opdenacker
Sent: den 30 mars 2021 18:25
To: Nicolas Dechesne <[email protected]>; Quentin Schulz <[email protected]>
Cc: [email protected]
Subject: Re: [docs] [PATCH 0/1] YP overview manual: style improvements

Hi Nicolas,

Quoted 7 lines · Nicolas Dechesne

On 3/30/21 5:36 PM, Quentin Schulz wrote:

Looks fine for me too.
However please avoid cover letter when you have just one patch. You can add additional information when you send one email, if you add it after the commit message (after the ---), this will not be used when applying the patch.

Quoted 6 lines

Very good to know! I'll do that next time.
Indeed, I didn't want to provide some context by replying to my patch.

Or maybe I'm just being too verbose ;-)

Michael.

Please make sure to prefix the commit subjects with a relevant document or similar, just like we do for all commits to, e.g., OE-Core. Contrary to, e.g., commits in the bitbake repository, there is no prefix added when the commits to the documentation repository are included in poky, making these commit stand out and lacking context when using, e.g., git log --oneline. Look back through the git log to get examples of how this has traditionally been done.

Quoted 1 line

//Peter

And I of course chose a bad example mail to respond to as this one actually has a prefix. ;)

//Peter

#12 lore raw
Quoted 46 lines · Peter Kjellerstedt
Quoted 2 lines

-----Original Message-----
From: [email protected] <[email protected]> On

Behalf

Quoted 43 lines

Of Peter Kjellerstedt
Sent: den 31 mars 2021 18:40
To: Michael Opdenacker <[email protected]>
Cc: [email protected]
Subject: Re: [docs] [PATCH 0/1] YP overview manual: style improvements

Quoted 2 lines

-----Original Message-----
From: [email protected] <[email protected]> On

Behalf

Quoted 19 lines

Of Michael Opdenacker
Sent: den 30 mars 2021 18:25
To: Nicolas Dechesne <[email protected]>; Quentin Schulz <[email protected]>
Cc: [email protected]
Subject: Re: [docs] [PATCH 0/1] YP overview manual: style improvements

Hi Nicolas,

Quoted 7 lines · Nicolas Dechesne

On 3/30/21 5:36 PM, Quentin Schulz wrote:

Looks fine for me too.
However please avoid cover letter when you have just one patch. You can add additional information when you send one email, if you add it after the commit message (after the ---), this will not be used when applying the patch.

Quoted 6 lines

Very good to know! I'll do that next time.
Indeed, I didn't want to provide some context by replying to my patch.

Or maybe I'm just being too verbose ;-)

Michael.

Please make sure to prefix the commit subjects with a relevant document or similar, just like we do for all commits to, e.g., OE-Core. Contrary to, e.g., commits in the bitbake repository, there is no prefix added when the commits to the documentation repository are included in poky, making these commit stand out and lacking context when using, e.g., git log --oneline. Look back through the git log to get examples of how this has traditionally been done.

Quoted 6 lines
Quoted 1 line

//Peter

And I of course chose a bad example mail to respond to as this one actually
has a prefix. ;)

well. now that you say it... i think the prefix should be 'overview-manual' , or 'ref-manual' if we look at past commits!

Quoted 7 lines

//Peter

#13 lore raw
In reply to Quentin Schulz

Hi again Quentin,

Quoted 12 lines · Quentin Schulz
Quoted 11 lines · Quentin Schulz

Hi Michael,

Quoted 8 lines · Michael Opdenacker

Hello,

Quoted 1 line · Michael Opdenacker

Thanks in advance for your reviews!

Sorry, I missed again! When I sent the e-mail to myself, both the cover letter and patch were on the same thread.

Quoted 8 lines

They seem to be on the same mail thread in my mail client, not sure if anyone else than you has the issue?

It is possible your mail client is confused because git send-email will add yourself to the recipients (since you're the author and added your SoB), so you might receive the mail twice, once from the mailing list, once "from" git send-email (your own mail server reading the recipients basically).

Yes, indeed, I checked after removing the message sent directly to me, just keeping the messages from the list.

It's good to know that you and Nicolas see the same e-mail thread. There is a reference to the first message in the second one, so most probably my e-mail client (Thunderbird) and the web interface on
https://lists.yoctoproject.org/g/docs/topics are confused because they both see two different threads.

I'll file a bug on https://lists.yoctoproject.org in case that's just a configuration issue.

Thanks!

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com