Patch set versioning
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?
Thank you,
./drv
Quoted 5 lines · Deepak R Varma
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?
All patches in the set get the udpated version number, even if they have not changed individually. That is practice across the kernel community.
How it is noted in the changelog, may have varying styles. I typically state what is unchanged to save my reviewers time. Something like:
Changed v3 -> v4
- Replace blah with blah in Patch 1. (*name)
- Patches 2-4 are unchanged.
I typically give name of reviewer who suggested rework if applicable. It's partly giving 'credit', but it also makes it easier for reviewers to jog their memory of what they asked for and should look for in the new set.
Quoted 6 lines
Thank you,
./drv
Quoted 14 lines · Alison Schofield
Quoted 5 lines · Deepak R Varma
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?All patches in the set get the udpated version number, even if they have not changed individually. That is practice across the kernel community.
How it is noted in the changelog, may have varying styles. I typically state what is unchanged to save my reviewers time. Something like:
Quoted 8 lines
Changed v3 -> v4
- Replace blah with blah in Patch 1. (*name)
- Patches 2-4 are unchanged.I typically give name of reviewer who suggested rework if applicable. It's partly giving 'credit', but it also makes it easier for reviewers to jog their memory of what they asked for and should look for in the new set.
This is very helpful. Thank you so much Alison for the detailed reply.
Quoted 7 lines
Quoted 7 lines
Thank you,
./drv
Quoted 19 lines · Deepak R Varma
Quoted 18 lines · Alison Schofield
Quoted 5 lines · Deepak R Varma
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?All patches in the set get the udpated version number, even if they have not changed individually. That is practice across the kernel community.
How it is noted in the changelog, may have varying styles. I typically state what is unchanged to save my reviewers time. Something like:
Changed v3 -> v4
- Replace blah with blah in Patch 1. (*name)
- Patches 2-4 are unchanged.
Quoted 6 lines
Quoted 4 lines
I typically give name of reviewer who suggested rework if applicable. It's partly giving 'credit', but it also makes it easier for reviewers to jog their memory of what they asked for and should look for in the new set.
This is very helpful. Thank you so much Alison for the detailed reply.
Another related query hence extending this thread.
Is it okay to include additional patches in an already submitted patch set's new version? Some of these patches are based on the feedback received on the current patch set and few patches are continued code clean up work while waiting for the patch set review/feedback.
Thank you,
./drv
Quoted 11 lines
Quoted 8 lines
Quoted 8 lines
Thank you,
./drv
Quoted 25 lines · Deepak R Varma
Quoted 24 lines · Deepak R Varma
Quoted 22 lines · Alison Schofield
Quoted 5 lines · Deepak R Varma
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?All patches in the set get the udpated version number, even if they have not changed individually. That is practice across the kernel community.
How it is noted in the changelog, may have varying styles. I typically state what is unchanged to save my reviewers time. Something like:
Changed v3 -> v4
- Replace blah with blah in Patch 1. (*name)
- Patches 2-4 are unchanged.I typically give name of reviewer who suggested rework if applicable. It's partly giving 'credit', but it also makes it easier for reviewers to jog their memory of what they asked for and should look for in the new set.
Quoted 8 lines
Quoted 1 line
This is very helpful. Thank you so much Alison for the detailed reply.
Another related query hence extending this thread.
Is it okay to include additional patches in an already submitted patch set's new version? Some of these patches are based on the feedback received on the current patch set and few patches are continued code clean up work while waiting for the patch set review/feedback.
I just read feedback from Greg KH in another thread and deriving "yes" to be the answer to my query above. Please do let me know if there are any further comments for me.
Thank you,
./drv
Quoted 19 lines
Thank you,
./drvQuoted 11 lines
Quoted 8 lines
Quoted 8 lines
Thank you,
./drv
Quoted 35 lines · Deepak R Varma
Quoted 25 lines · Deepak R Varma
Quoted 24 lines · Deepak R Varma
Quoted 22 lines · Alison Schofield
Quoted 5 lines · Deepak R Varma
Hello,
If I have a patch set with 5 patches included and only one of the patch needs to undergo revision. In this situation, when I resubmit the patch set, do I mark all patches as v2 along with the cover letter or should I just raise the individual patch version and resubmit the patch set with all patches included?All patches in the set get the udpated version number, even if they have not changed individually. That is practice across the kernel community.
How it is noted in the changelog, may have varying styles. I typically state what is unchanged to save my reviewers time. Something like:
Changed v3 -> v4
- Replace blah with blah in Patch 1. (*name)
- Patches 2-4 are unchanged.I typically give name of reviewer who suggested rework if applicable. It's partly giving 'credit', but it also makes it easier for reviewers to jog their memory of what they asked for and should look for in the new set.
Quoted 8 lines
Quoted 1 line
This is very helpful. Thank you so much Alison for the detailed reply.
Another related query hence extending this thread.
Is it okay to include additional patches in an already submitted patch set's new version? Some of these patches are based on the feedback received on the current patch set and few patches are continued code clean up work while waiting for the patch set review/feedback.
Quoted 6 lines
I just read feedback from Greg KH in another thread and deriving "yes" to be the answer to my query above. Please do let me know if there are any further comments for me.
Thank you,
./drv
Hi Deepak,
Sorry about the late reply and I think you've gone down the big patchset route. This is the time to explore such things and what you have done is fine. I'm sure everyone does a large patch set that they later wish they had split, and vica-versa.
The mess on these cleanup patches can come when GregKH takes a couple from the set, but not all. Then you repost the set, minus the patches he took, keep the same patch set title, and note in the changelog, something like ' 2 patches were merged, so now this is only 8'. I don't know if this is going to happen to you, but it's going to happen somewhere on this list, this round.
Good luck w your 10 patch set,
Alison
Quoted 22 lines
Quoted 20 lines
Thank you,
./drvQuoted 11 lines
Quoted 8 lines
Quoted 8 lines
Thank you,
./drv
Quoted 14 lines · Alison Schofield
Quoted 13 lines · Deepak R Varma
Quoted 7 lines · Deepak R Varma
Another related query hence extending this thread.
Is it okay to include additional patches in an already submitted patch set's new version? Some of these patches are based on the feedback received on the current patch set and few patches are continued code clean up work while waiting for the patch set review/feedback.
I just read feedback from Greg KH in another thread and deriving "yes" to be the answer to my query above. Please do let me know if there are any further comments for me.
Quoted 8 lines
Quoted 2 lines
Thank you,
./drvHi Deepak,
Sorry about the late reply and I think you've gone down the big patchset route. This is the time to explore such things and what you have done is fine. I'm sure everyone does a large patch set that they later wish they had split, and vica-versa.
No problem at all. I should have been more watchful of the messages in the email rather than asking this query.
You spoke my heart. I struggled a bit while re basing the patches. But it was an awesome learning. I am so happy that I manged to rebase the commits with no overlapping. Took 3 aborts to get it right :)
Quoted 7 lines
The mess on these cleanup patches can come when GregKH takes a couple from the set, but not all. Then you repost the set, minus the patches he took, keep the same patch set title, and note in the changelog, something like ' 2 patches were merged, so now this is only 8'. I don't know if this is going to happen to you, but it's going to happen somewhere on this list, this round.
That advise is helpful. Thanks. I am just worried to meet the first target of getting 10+ patches into Greg's tree. I lost 4 days initially to overcome secureboot complication. Hopefully these patches will get through soon and I will be able to move on to the next task.
Any advise if the mentors can be requested to share the next tasks while we await the patches to clear through???
Quoted 3 lines
Good luck w your 10 patch set,
Alison
Thank you Sir. This was very helpful.
./drv
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines