docs: netdev: document patchwork patch states
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 docs: netdev: document patchwork patch states
The patchwork states are largely self-explanatory but small ambiguities may still come up. Document how we interpret the states in networking.
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- Documentation/process/maintainer-netdev.rst | 27 ++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)
Documentation/process/maintainer-netdev.rst +26 -1
@@ -120,7 +120,32 @@ Status of a patch can be checked by looking at the main patchwork https://patchwork.kernel.org/project/netdevbpf/list/ The "State" field will tell you exactly where things are at with your -patch. Patches are indexed by the ``Message-ID`` header of the emails +patch: + +================== ============================================================= +Patch state Description +================== ============================================================= +New, Under review pending review, patch is in the maintainer’s queue for review +Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testing +Changes requested patch has not passed the review, new revision is expected + with appropriate code and commit message changes +Rejected patch has been rejected and new revision is not expected +Not applicable patch is expected to be applied outside of the networking + subsystem +Awaiting upstream patch should be reviewed and handled by appropriate + sub-maintainer, who will send it on to the networking trees +Deferred patch needs to be reposted later, usually due to dependency + or because it was posted for a closed tree +Superseded new version of the patch was posted, usually set by the + pw-bot +RFC not to be applied, usually not in maintainer’s review queue, + pw-bot can automatically set patches to this state based + on subject tags +================== ============================================================= + +Patches are indexed by the ``Message-ID`` header of the emails which carried them so if you have trouble finding your patch append the value of ``Message-ID`` to the URL above.
Signature · 1 line
2.41.0
Randy Dunlap
reviewerHi,
Quoted 18 lines · Jakub Kicinski
The patchwork states are largely self-explanatory but small ambiguities may still come up. Document how we interpret the states in networking.
Signed-off-by Jakub Kicinski <[email protected]>---
CC: [email protected]
CC: [email protected]
CC: [email protected]--- Documentation/process/maintainer-netdev.rst | 27 ++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/process/maintainer-netdev.rst +0
-0
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 123
Quoted 5 lines
Documentation/process/maintainer-netdev.rst +1
-1@@ -120,7 +120,32 @@ Status of a patch can be checked by looking at the main patchwork https://patchwork.kernel.org/project/netdevbpf/list/ The "State" field will tell you exactly where things are at with your -patch. Patches are indexed by the ``Message-ID`` header of the emails +patch:
of the patch's email.
?
Quoted 12 lines
Documentation/process/maintainer-netdev.rst +12
-0+ +================== ============================================================= +Patch state Description +================== ============================================================= +New, Under review pending review, patch is in the maintainer’s queue for review +Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testing +Changes requested patch has not passed the review, new revision is expected + with appropriate code and commit message changes +Rejected patch has been rejected and new revision is not expected +Not applicable patch is expected to be applied outside of the networking
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 145
Quoted 10 lines
Documentation/process/maintainer-netdev.rst +10
-0+ subsystem +Awaiting upstream patch should be reviewed and handled by appropriate + sub-maintainer, who will send it on to the networking trees +Deferred patch needs to be reposted later, usually due to dependency + or because it was posted for a closed tree +Superseded new version of the patch was posted, usually set by the + pw-bot +RFC not to be applied, usually not in maintainer’s review queue, + pw-bot can automatically set patches to this state based + on subject tags
Nit:
Above line uses tabs for indentation. All other lines here use spaces.
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 151
Quoted 6 lines
Documentation/process/maintainer-netdev.rst +3
-0+================== ============================================================= + +Patches are indexed by the ``Message-ID`` header of the emails which carried them so if you have trouble finding your patch append the value of ``Message-ID`` to the URL above.
Thanks.
Signature · 1 line
~Randy
Hi Jakub,
Thank you for the patch.
Quoted 18 lines · Jakub Kicinski
The patchwork states are largely self-explanatory but small ambiguities may still come up. Document how we interpret the states in networking.
Signed-off-by Jakub Kicinski <[email protected]>---
CC: [email protected]
CC: [email protected]
CC: [email protected]--- Documentation/process/maintainer-netdev.rst | 27 ++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-)Documentation/process/maintainer-netdev.rst +0
-0
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 128
Quoted 10 lines
Documentation/process/maintainer-netdev.rst +6
-1@@ -120,7 +120,32 @@ Status of a patch can be checked by looking at the main patchwork https://patchwork.kernel.org/project/netdevbpf/list/ The "State" field will tell you exactly where things are at with your -patch. Patches are indexed by the ``Message-ID`` header of the emails +patch: + +================== ============================================================= +Patch state Description +================== ============================================================= +New, Under review pending review, patch is in the maintainer’s queue for review
Is there a meaningful distinction between "New" and "Under review", or are they exactly the same ? The former sounds like nobody has looked at the patch yet, while the latter seems to indicate someone has assigned the task of reviewing the patch to themselves, but maybe netdev uses those two states differently ?
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 131
Quoted 3 lines
Documentation/process/maintainer-netdev.rst +3
-0+Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testing
How does this differ from "Under review" ?
Quoted 4 lines
Documentation/process/maintainer-netdev.rst +4
-0+Changes requested patch has not passed the review, new revision is expected + with appropriate code and commit message changes +Rejected patch has been rejected and new revision is not expected +Not applicable patch is expected to be applied outside of the networking
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 145
Quoted 10 lines
Documentation/process/maintainer-netdev.rst +10
-0+ subsystem +Awaiting upstream patch should be reviewed and handled by appropriate + sub-maintainer, who will send it on to the networking trees +Deferred patch needs to be reposted later, usually due to dependency + or because it was posted for a closed tree +Superseded new version of the patch was posted, usually set by the + pw-bot +RFC not to be applied, usually not in maintainer’s review queue, + pw-bot can automatically set patches to this state based + on subject tags
Incorrect indentation.
Quoted 6 lines
Documentation/process/maintainer-netdev.rst +3
-0+================== ============================================================= + +Patches are indexed by the ``Message-ID`` header of the emails which carried them so if you have trouble finding your patch append the value of ``Message-ID`` to the URL above.
Signature · 3 lines
Regards, Laurent Pinchart
Jakub Kicinski
maintainerQuoted 5 lines · On Mon, 28 Aug 2023 12:05:45 -0700 Randy Dunlap wrote:
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 123
Quoted 3 lines
The "State" field will tell you exactly where things are at with your
Documentation/process/maintainer-netdev.rst +1
-1-patch. Patches are indexed by the ``Message-ID`` header of the emails +patch:of the patch's email.
The diff may be a little confusing. The full sentence is below..
Quoted 16 lines
Quoted 16 lines
+================== =============================================================
Documentation/process/maintainer-netdev.rst +15
-0+Patch state Description +================== ============================================================= +New, Under review pending review, patch is in the maintainer’s queue for review +Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testing +Changes requested patch has not passed the review, new revision is expected + with appropriate code and commit message changes +Rejected patch has been rejected and new revision is not expected +Not applicable patch is expected to be applied outside of the networking + subsystem +Awaiting upstream patch should be reviewed and handled by appropriate + sub-maintainer, who will send it on to the networking trees +Deferred patch needs to be reposted later, usually due to dependency + or because it was posted for a closed tree
Quoted 8 lines
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 145
Quoted 5 lines
Documentation/process/maintainer-netdev.rst +5
-0+Superseded new version of the patch was posted, usually set by the + pw-bot +RFC not to be applied, usually not in maintainer’s review queue, + pw-bot can automatically set patches to this state based + on subject tagsNit:
Above line uses tabs for indentation. All other lines here use spaces.
Thanks, will fix.
Quoted 4 lines
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 149
Quoted 4 lines
+================== =============================================================
Documentation/process/maintainer-netdev.rst +2
-0+ +Patches are indexed by the ``Message-ID`` header of the emails which carried them so if you have trouble finding your patch append
..here.
Randy Dunlap
reviewerQuoted 9 lines · Jakub Kicinski
Quoted 5 lines · On Mon, 28 Aug 2023 12:05:45 -0700 Randy Dunlap wrote:
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 123
Quoted 3 lines
The "State" field will tell you exactly where things are at with your
Documentation/process/maintainer-netdev.rst +1
-1-patch. Patches are indexed by the ``Message-ID`` header of the emails +patch:of the patch's email.
The diff may be a little confusing. The full sentence is below..
Ah yes, my bad. Thanks.
Quoted 33 lines
Quoted 16 lines
Quoted 16 lines
+================== =============================================================
Documentation/process/maintainer-netdev.rst +15
-0+Patch state Description +================== ============================================================= +New, Under review pending review, patch is in the maintainer’s queue for review +Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testing +Changes requested patch has not passed the review, new revision is expected + with appropriate code and commit message changes +Rejected patch has been rejected and new revision is not expected +Not applicable patch is expected to be applied outside of the networking + subsystem +Awaiting upstream patch should be reviewed and handled by appropriate + sub-maintainer, who will send it on to the networking trees +Deferred patch needs to be reposted later, usually due to dependency + or because it was posted for a closed treeQuoted 8 lines
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 145
Quoted 5 lines
Documentation/process/maintainer-netdev.rst +5
-0+Superseded new version of the patch was posted, usually set by the + pw-bot +RFC not to be applied, usually not in maintainer’s review queue, + pw-bot can automatically set patches to this state based + on subject tagsNit:
Above line uses tabs for indentation. All other lines here use spaces.Thanks, will fix.
Quoted 4 lines
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 149
Quoted 4 lines
+================== =============================================================
Documentation/process/maintainer-netdev.rst +2
-0+ +Patches are indexed by the ``Message-ID`` header of the emails which carried them so if you have trouble finding your patch append..here.
Signature · 1 line
~Randy
Jakub Kicinski
maintainerQuoted 7 lines · On Mon, 28 Aug 2023 22:09:11 +0300 Laurent Pinchart wrote:
Quoted 1 line
+New, Under review pending review, patch is in the maintainer’s queue for review
Is there a meaningful distinction between "New" and "Under review", or are they exactly the same ? The former sounds like nobody has looked at the patch yet, while the latter seems to indicate someone has assigned the task of reviewing the patch to themselves, but maybe netdev uses those two states differently ?
The honest answer is that I don't know. I used to think that the distinction is as you described - after someone done the initial triage on the patch it goes New -> Under review.
But there's little consistency with that happening and it's unclear what "initial triage" constitutes at this stage, so for all practical purposes New == Under review.
Quoted 5 lines
Documentation/process/maintainer-netdev.rst Status of a patch can be checked by looking at the main patchwork · line 131
Quoted 3 lines
Documentation/process/maintainer-netdev.rst +3
-0+Accepted patch was applied to the appropriate networking tree, this is + usually set automatically by the pw-bot +Needs ACK waiting for an ack from an area maintainer or testingHow does this differ from "Under review" ?
This indicates that netdev maintainers are waiting for someone who is not a netdev maintainer. Let me s/maintainer/expert/ to make that clearer-ish.