docs: netdev: add note about Changes Requested and revising commit messages
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 docs: netdev: add note about Changes Requested and revising commit messages
One of the most commonly asked questions is "I answered all questions and don't need to make any code changes, why was the patch not applied". Document our time honored tradition of asking people to repost with improved commit messages, to record the answers to reviewer questions.
Take this opportunity to also recommend a change log format.
---
I couldn't come up with a real example of the commit message. LMK if the fake one is too silly :)
--- Documentation/process/maintainer-netdev.rst | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+)
Documentation/process/maintainer-netdev.rst +29 -0
@@ -109,6 +109,8 @@ Finally, the vX.Y gets released, and the whole cycle starts over. netdev patch review ------------------- +.. _patch_status: + Patch status ~~~~~~~~~~~~
@@ -143,6 +145,33 @@ Asking the maintainer for status updates on your patch is a good way to ensure your patch is ignored or pushed to the bottom of the priority list. +Changes requested +~~~~~~~~~~~~~~~~~ + +Patches :ref:`marked<patch_status>` as ``Changes Requested`` need +to be revised. The new version should come with a change log, +preferably including links to previous postings, for example:: + + [PATCH net-next v3] net: make cows go moo + + Even users who don't drink milk appreciate hearing the cows go "moo". + + The amount of mooing will depend on packet rate so should match + the diurnal cycle quite well. + + Signed-of-by: Joe Defarmer <[email protected]> + --- + v3: + - add a note about time-of-day mooing fluctuation to the commit message + v2: https://lore.kernel.org/netdev/[email protected]/ + - fix missing argument in kernel doc for netif_is_bovine() + - fix memory leak in netdev_register_cow() + v1: https://lore.kernel.org/netdev/[email protected]/ + +Commit message should be revised to answer any questions reviewers +had to ask in previous discussions. Occasionally the update of +the commit message will be the only change in the new version. + Partial resends ~~~~~~~~~~~~~~~
Signature · 1 line
2.39.2
Randy Dunlap
reviewerQuoted 11 lines · Jakub Kicinski
One of the most commonly asked questions is "I answered all questions and don't need to make any code changes, why was the patch not applied". Document our time honored tradition of asking people to repost with improved commit messages, to record the answers to reviewer questions.
Take this opportunity to also recommend a change log format.
Signed-off-by Jakub Kicinski <[email protected]>---
I couldn't come up with a real example of the commit message. LMK if the fake one is too silly :)
FWIW I like it.
Quoted 39 lines
--- Documentation/process/maintainer-netdev.rst | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+)Documentation/process/maintainer-netdev.rst +16
-0@@ -109,6 +109,8 @@ Finally, the vX.Y gets released, and the whole cycle starts over. netdev patch review ------------------- +.. _patch_status: + Patch status ~~~~~~~~~~~~@@ -143,6 +145,33 @@ Asking the maintainer for status updates on your patch is a good way to ensure your patch is ignored or pushed to the bottom of the priority list. +Changes requested +~~~~~~~~~~~~~~~~~ + +Patches :ref:`marked<patch_status>` as ``Changes Requested`` need +to be revised. The new version should come with a change log, +preferably including links to previous postings, for example:: + + [PATCH net-next v3] net: make cows go moo + + Even users who don't drink milk appreciate hearing the cows go "moo". + + The amount of mooing will depend on packet rate so should match + the diurnal cycle quite well. +
Documentation/process/maintainer-netdev.rst Asking the maintainer for status updates on your · line 171
Quoted 10 lines
Documentation/process/maintainer-netdev.rst +10
-0+ Signed-of-by: Joe Defarmer <[email protected]> + --- + v3: + - add a note about time-of-day mooing fluctuation to the commit message + v2: https://lore.kernel.org/netdev/[email protected]/ + - fix missing argument in kernel doc for netif_is_bovine() + - fix memory leak in netdev_register_cow() + v1: https://lore.kernel.org/netdev/[email protected]/ + +Commit message should be revised to answer any questions reviewers
The commit message should be
Documentation/process/maintainer-netdev.rst Asking the maintainer for status updates on your · line 172
Quoted 1 line
Documentation/process/maintainer-netdev.rst +1
-0+had to ask in previous discussions. Occasionally the update of
asked in previous discussions.
Quoted 5 lines
Documentation/process/maintainer-netdev.rst +2
-0+the commit message will be the only change in the new version. + Partial resends ~~~~~~~~~~~~~~~
Signature · 1 line
~Randy
Jakub Kicinski
maintainerQuoted 3 lines · On Wed, 22 Mar 2023 16:38:53 -0700 Randy Dunlap wrote:
Quoted 1 line
+had to ask in previous discussions. Occasionally the update of
asked in previous discussions.
"had to ask" as in were forced to ask due to a poor commit message, is that not a valid use of "had to"?
Randy Dunlap
reviewerQuoted 7 lines · Jakub Kicinski
Quoted 3 lines · On Wed, 22 Mar 2023 16:38:53 -0700 Randy Dunlap wrote:
Quoted 1 line
+had to ask in previous discussions. Occasionally the update of
asked in previous discussions.
"had to ask" as in were forced to ask due to a poor commit message, is that not a valid use of "had to"?
Oh, that's OK. I didn't get that from reading it.
Thanks.
Signature · 1 line
~Randy
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 22 Mar 2023 16:12:02 -0700 you wrote:
One of the most commonly asked questions is "I answered all questions and don't need to make any code changes, why was the patch not applied". Document our time honored tradition of asking people to repost with improved commit messages, to record the answers to reviewer questions.
Take this opportunity to also recommend a change log format.
[...]
Here is the summary with links:
- [net-next] docs: netdev: add note about Changes Requested and revising commit messages
https://git.kernel.org/netdev/net-next/c/e110ba659271
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html