Documentation: extend guidance for submitting patches
PATCH 1/1 Documentation: extend guidance for submitting patches
Before submitting patches on the mailing list, it is often a good idea to check for previous related discussions or if similar work is already in progress. This enables better coordination amongst contributors and could avoid duplicating work.
Additionally, it is often recommended to give reviewers some time to reply to a patch series before sending new versions. This helps collect broader feedback and reduces unnecessary churn from rapid rerolls.
Document this guidance in "Documentation/SubmittingPatches" accordingly.
--- Documentation/SubmittingPatches | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Documentation/SubmittingPatches +13 -0
@@ -38,10 +38,23 @@ they have no obligation to help you (i.e. you ask them for help, you don't demand). +git log -p {litdd} _$area_you_are_modifying_+ would help you find out who they are. +It is also a good idea to check whether your topic has been discussed +previously on the mailing list, or whether similar work is already in +progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the same +area. + . You get comments and suggestions for improvements. You may even get them in an "on top of your change" patch form. You are expected to respond to them with "Reply-All" on the mailing list, while taking them into account while preparing an updated set of patches. ++ +It is often beneficial to allow some time for reviewers to provide +feedback before sending a new version, rather than sending an updated +series immediately after receiving a review. This helps collect broader +input and avoids unnecessary churn from many rapid iterations. . Polish, refine, and re-send your patches to the list and to the people who spent their time to improve your patch. Go back to step (2).
base-commit: 628a66ccf68d141d57d06e100c3514a54b31d6b7
Signature · 1 line
2.53.0.381.g628a66ccf6
Quoted 9 lines · Justin Tobler
Before submitting patches on the mailing list, it is often a good idea to check for previous related discussions or if similar work is already in progress. This enables better coordination amongst contributors and could avoid duplicating work.
Additionally, it is often recommended to give reviewers some time to reply to a patch series before sending new versions. This helps collect broader feedback and reduces unnecessary churn from rapid rerolls.
Quoted 6 lines
Document this guidance in "
Documentation/SubmittingPatches" accordingly.Signed-off-by Justin Tobler <[email protected]>--- Documentation/SubmittingPatches | 13 +++++++++++++ 1 file changed, 13 insertions(+)
What's written in these two new paragraphs are all agreeable, but is the first addition in the right place with correct mark-up?
This whole section is a sequence of bullet points that shows "a typical life cycle of a patch series". The first bullet point starts with "You come up with an itch." and the second one is "You send the patches", whose end part is what we see in the pre-context of the patch, ending with "help you find out who they are."
If the new paragraph is meant as yet another paragraph to elaborate on that second bullet point, wouldn't we need that "a line with only a single '+' on it" before it, instead of a blank line, and the last line of the first new paragraph should not be such a "single '+'" line but a plain vanilla blank line?
Quoted 30 lines
Documentation/SubmittingPatches +13
-0@@ -38,10 +38,23 @@ they have no obligation to help you (i.e. you ask them for help, you don't demand). +git log -p {litdd} _$area_you_are_modifying_+ would help you find out who they are. +It is also a good idea to check whether your topic has been discussed +previously on the mailing list, or whether similar work is already in +progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the same +area. + . You get comments and suggestions for improvements. You may even get them in an "on top of your change" patch form. You are expected to respond to them with "Reply-All" on the mailing list, while taking them into account while preparing an updated set of patches. ++ +It is often beneficial to allow some time for reviewers to provide +feedback before sending a new version, rather than sending an updated +series immediately after receiving a review. This helps collect broader +input and avoids unnecessary churn from many rapid iterations. . Polish, refine, and re-send your patches to the list and to the people who spent their time to improve your patch. Go back to step (2).base-commit:
628a66ccf68d141d57d06e100c3514a54b31d6b7
Quoted 27 lines · Junio C Hamano
Quoted 9 lines · Justin Tobler
Before submitting patches on the mailing list, it is often a good idea to check for previous related discussions or if similar work is already in progress. This enables better coordination amongst contributors and could avoid duplicating work.
Additionally, it is often recommended to give reviewers some time to reply to a patch series before sending new versions. This helps collect broader feedback and reduces unnecessary churn from rapid rerolls.
Quoted 6 lines
Document this guidance in "
Documentation/SubmittingPatches" accordingly.Signed-off-by Justin Tobler <[email protected]>--- Documentation/SubmittingPatches | 13 +++++++++++++ 1 file changed, 13 insertions(+)What's written in these two new paragraphs are all agreeable, but is the first addition in the right place with correct mark-up?
This whole section is a sequence of bullet points that shows "a typical life cycle of a patch series". The first bullet point starts with "You come up with an itch." and the second one is "You send the patches", whose end part is what we see in the pre-context of the patch, ending with "help you find out who they are."
Quoted 5 lines
If the new paragraph is meant as yet another paragraph to elaborate on that second bullet point, wouldn't we need that "a line with only a single '+' on it" before it, instead of a blank line, and the last line of the first new paragraph should not be such a "single '+'" line but a plain vanilla blank line?
Ah yes apologies. The first addition to start with a line prefixed with '+' intead of a blank line. I do believe it does already end with a blank line though. I'll correct in the next version.
Thanks,
-Justin
Quoted 3 lines · Justin Tobler
Ah yes apologies. The first addition to start with a line prefixed with '+' intead of a blank line. I do believe it does already end with a blank line though. I'll correct in the next version.
I have the following queued on top. If there is nothing else, I can just squash it in.
Subject: [PATCH] SQUASH??? mark-up fix
--- Documentation/SubmittingPatches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/SubmittingPatches +1 -1
@@ -37,7 +37,7 @@ most likely to be knowledgeable enough to help you, but they have no obligation to help you (i.e. you ask them for help, you don't demand). +git log -p {litdd} _$area_you_are_modifying_+ would help you find out who they are. - ++ It is also a good idea to check whether your topic has been discussed previously on the mailing list, or whether similar work is already in progress. Prior discussions may contain useful context, design
Signature · 1 line
2.53.0-621-g5d45fffb26
Quoted 8 lines · Junio C Hamano
Quoted 3 lines · Justin Tobler
Ah yes apologies. The first addition to start with a line prefixed with '+' intead of a blank line. I do believe it does already end with a blank line though. I'll correct in the next version.
I have the following queued on top. If there is nothing else, I can just squash it in.
Perfect. Thanks for fixing. :)
-Justin
Quoted 27 lines · Justin Tobler
Before submitting patches on the mailing list, it is often a good idea to check for previous related discussions or if similar work is already in progress. This enables better coordination amongst contributors and could avoid duplicating work.
Additionally, it is often recommended to give reviewers some time to reply to a patch series before sending new versions. This helps collect broader feedback and reduces unnecessary churn from rapid rerolls.
Document this guidance in "
Documentation/SubmittingPatches" accordingly.Signed-off-by Justin Tobler <[email protected]>--- Documentation/SubmittingPatches | 13 +++++++++++++ 1 file changed, 13 insertions(+)Documentation/SubmittingPatches +0
-0@@ -38,10 +38,23 @@ they have no obligation to help you (i.e. you ask them for help, you don't demand). +git log -p {litdd} _$area_you_are_modifying_+would
help you find out who they are.
Documentation/SubmittingPatches
Quoted 2 lines
Documentation/SubmittingPatches +2
-0+It is also a good idea to check whether your topic has been discussed +previously on the mailing list,
This is at the start of the document. “The mailing list” footnote (git-ml) does not get mentioned until line 535.
Although there is the initial mention of MyFirstContribution which prominently features the address at the start.
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 48
Quoted 7 lines
or whether similar work is already in
Documentation/SubmittingPatches +6
-0+progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the same +area. +
This seems useful to cite. It seems less useful for people who go to the effort of reading this file themselves. They presumably care enough to try to get the procedural steps correct. It’s difficult to imagine that they either think that their idea has to be unique or that there isn’t a history.
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 57
Quoted 9 lines
. You get comments and suggestions for improvements. You may even get
them in an "on top of your change" patch form. You are expected to respond to them with "Reply-All" on the mailing list, while taking them into account while preparing an updated set of patches.
++Documentation/SubmittingPatches +4
-0+It is often beneficial to allow some time for reviewers to provide +feedback before sending a new version, rather than sending an updated +series immediately after receiving a review. This helps collect broader +input and avoids unnecessary churn from many rapid iterations.
This addition makes sense including its placement.
Quoted 7 lines
. Polish, refine, and re-send your patches to the list and to the people
who spent their time to improve your patch. Go back to step (2).base-commit:
628a66ccf68d141d57d06e100c3514a54b31d6b7--
2.53.0.381.g628a66ccf6
Quoted 9 lines · Kristoffer Haugsbakk
Review
Quoted 2 lines · Justin Tobler
(quoted diff) +2
-0+It is also a good idea to check whether your topic has been discussed +previously on the mailing list,This is at the start of the document. “The mailing list” footnote (git-ml) does not get mentioned until line 535.
Although there is the initial mention of
MyFirstContributionwhich prominently features the address at the start.
We also mention "the list" several times in the surround bullet points prior to the footnote too. If we think it matters I can move the footnote up.
Quoted 5 lines
Quoted 5 lines
or whether similar work is already in
Documentation/SubmittingPatches +4
-0+progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the same
Quoted 8 lines
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 48
Quoted 2 lines
Documentation/SubmittingPatches +2
-0+area. +This seems useful to cite. It seems less useful for people who go to the effort of reading this file themselves. They presumably care enough to try to get the procedural steps correct. It’s difficult to imagine that they either think that their idea has to be unique or that there isn’t a history.
Ya, I agree that most folks who feel inclined to read this document proactively would likely also lookup previous/on-going mailing list discussions. I do think this would be useful though to include so we can point contributors this direction when needed.
Thanks,
-Justin
Quoted 8 lines · Justin Tobler
Quoted 7 lines · Kristoffer Haugsbakk
Review
Quoted 2 lines · Justin Tobler
(quoted diff) +2
-0+It is also a good idea to check whether your topic has been discussed +previously on the mailing list,This is at the start of the document. “The mailing list” footnote (git-ml) does not get mentioned until line 535.
Quoted 6 lines
Quoted 2 lines
Although there is the initial mention of
MyFirstContributionwhich prominently features the address at the start.We also mention "the list" several times in the surround bullet points prior to the footnote too. If we think it matters I can move the footnote up.
Yeah that can be solved separately also. :)
Quoted 14 lines
Quoted 5 lines
Quoted 5 lines
or whether similar work is already in
Documentation/SubmittingPatches +4
-0+progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the sameQuoted 8 lines
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 48
Quoted 2 lines
Documentation/SubmittingPatches +2
-0+area. +This seems useful to cite. It seems less useful for people who go to the effort of reading this file themselves. They presumably care enough to try to get the procedural steps correct. It’s difficult to imagine that they either think that their idea has to be unique or that there isn’t a history.
Quoted 4 lines
Ya, I agree that most folks who feel inclined to read this document proactively would likely also lookup previous/on-going mailing list discussions. I do think this would be useful though to include so we can point contributors this direction when needed.
That sounds good to me.
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 47
Quoted 7 lines · Justin Tobler
Documentation/SubmittingPatches +7
-0+It is also a good idea to check whether your topic has been discussed +previously on the mailing list, or whether similar work is already in +progress. Prior discussions may contain useful context, design +considerations, or earlier attempts at solving the same problem. Being +aware of such discussions can help you avoid duplicating work and may +allow you to coordinate with other contributors working in the same +area.
This seems reasonable. We've had cases of patch series that have stalled due to a minor issue and someone wanting to send a patch may find that they really could fix that minor issue on top of the existing patch and have their problem solved. Or at least, they might be inclined to not get stuck in the same way.
I try to do this anyway, but it's much easier on forge-style systems than it is on a mailing list, so mentioning it may help refresh people's memories.
You could, if you wanted to, link to {gitml} after the phrase “the mailing list,” which might help folks find the right location. Or you could link to the https://lore.kernel.org/git/ archives instead via a footnote.
Documentation/SubmittingPatches they have no obligation to help you (i.e. you ask them for help, · line 57
Quoted 4 lines
Documentation/SubmittingPatches +4
-0+It is often beneficial to allow some time for reviewers to provide +feedback before sending a new version, rather than sending an updated +series immediately after receiving a review. This helps collect broader +input and avoids unnecessary churn from many rapid iterations.
I think this is a good idea, too.
Signature · 2 lines
brian m. carlson (they/them) Toronto, Ontario, CA