YP overview manual: style improvements
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
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
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
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
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
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
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
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 improvementsHi 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
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 improvementsQuoted 2 lines
-----Original Message-----
From: [email protected] <[email protected]> OnBehalf
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 improvementsHi 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
Quoted 46 lines · Peter Kjellerstedt
Quoted 2 lines
-----Original Message-----
From: [email protected] <[email protected]> OnBehalf
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 improvementsQuoted 2 lines
-----Original Message-----
From: [email protected] <[email protected]> OnBehalf
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 improvementsHi 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
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