docs/checklist: Start tagging new dev windows
RFC PATCH 1/1 docs/checklist: Start tagging new dev windows
---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>
This is about figuring out when a change was first introduced. Take 10b719dc88 for example (completely random pick).
The right answer is git tag --contains $sha and look for the oldest RELEASE-$X. In this case it's Xen 4.6, but the tags are not numerically sorted so the answer is towards the end of the list of 166 tags.
The better answer would be to git describe $sha because git has an algorithm to do this nicely. In this case, it's 4.5.0-rc4-934-g10b719dc8830 because we branch first and tag RELEASE-4.6.0 on the branch, rather than releasing off master.
With 0082626f35af (opening of the 4.6 tree) containing an annotated tag of 4.6-dev, git describe now gives 4.6-dev-902-g10b719dc8830 which far more helpful when doing code archeology.
I propose that we retroactively tag each commit which opened a new dev tree (the commit which changes the version number)
Looking back in history, Keir did used to tag the point that the tree branched, but that seems to have stopped when moving from HG to git.
Thoughts?
--- docs/process/branching-checklist.txt | 3 ++- docs/process/release-technician-checklist.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-)
docs/process/branching-checklist.txt +2 -1
@@ -79,7 +79,8 @@ The variables and there content should be: Where X.Y is the release version (e.g. 4.17). Update newly diverging staging (unstable) according to -release-technician-checklist.txt section re README etc. +release-technician-checklist.txt section re README etc., +including tagging the new dev window. Update newly diverging staging-$v according to release-technician-checklist.txt section re README etc.,
docs/process/release-technician-checklist.txt +2 -0
@@ -79,6 +79,8 @@ t=RELEASE-$r # - xen/Kconfig.debug # config DEBUG # default n +# +# - tag staging branch for the new dev window. e.g. 4.20-dev * tag xen-unstable
base-commit: 1ddc8c1bad93aa6cbfe616dd72333460c47f96c9
prerequisite-patch-id: 2ea535e6248ebf47b5db0c59db0f4fcfc7a74cf9
Signature · 1 line
2.39.2
Hi Andrew,
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>
With one remark below:
Quoted 13 lines
---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>This is about figuring out when a change was first introduced. Take
10b719dc88for example (completely random pick).The right answer is
git tag --contains $shaand look for the oldest RELEASE-$X. In this case it's Xen 4.6, but the tags are not numerically sorted so the answer is towards the end of the list of 166 tags.
Quoted 8 lines
The better answer would be to
git describe $shabecause git has an algorithm to do this nicely. In this case, it's 4.5.0-rc4-934-g10b719dc8830 because we branch first and tag RELEASE-4.6.0 on the branch, rather than releasing off master.With
0082626f35af(opening of the 4.6 tree) containing an annotated tag of 4.6-dev, git describe now gives 4.6-dev-902-g10b719dc8830 which far more helpful when doing code archeology.
I think some of this explanation should be in the commit message.
Quoted 41 lines
I propose that we retroactively tag each commit which opened a new dev tree (the commit which changes the version number)
Looking back in history, Keir did used to tag the point that the tree branched, but that seems to have stopped when moving from HG to git.
Thoughts?
--- docs/process/branching-checklist.txt | 3 ++- docs/process/release-technician-checklist.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-)docs/process/branching-checklist.txt +2
-1@@ -79,7 +79,8 @@ The variables and there content should be: Where X.Y is the release version (e.g. 4.17). Update newly diverging staging (unstable) according to -release-technician-checklist.txt section re README etc. +release-technician-checklist.txt section re README etc., +including tagging the new dev window. Update newly diverging staging-$v according to release-technician-checklist.txt section re README etc.,docs/process/release-technician-checklist.txt +2
-0@@ -79,6 +79,8 @@ t=RELEASE-$r # - xen/Kconfig.debug # config DEBUG # default n +# +# - tag staging branch for the new dev window. e.g. 4.20-dev * tag xen-unstable
Quoted 2 lines
base-commit:
1ddc8c1bad93aa6cbfe616dd72333460c47f96c9
prerequisite-patch-id:2ea535e6248ebf47b5db0c59db0f4fcfc7a74cf9
Cheers,
Signature · 1 line
Julien Grall
Quoted 25 lines · Julien Grall
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>With one remark below:
Reviewed-by Julien Grall <[email protected]>Quoted 18 lines
---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>This is about figuring out when a change was first introduced. Take
10b719dc88for example (completely random pick).The right answer is
git tag --contains $shaand look for the oldest RELEASE-$X. In this case it's Xen 4.6, but the tags are not numerically sorted so the answer is towards the end of the list of 166 tags.The better answer would be to
git describe $shabecause git has an algorithm to do this nicely. In this case, it's 4.5.0-rc4-934-g10b719dc8830 because we branch first and tag RELEASE-4.6.0 on the branch, rather than releasing off master.
Quoted 5 lines
Quoted 3 lines
With
0082626f35af(opening of the 4.6 tree) containing an annotated tag of 4.6-dev, git describe now gives 4.6-dev-902-g10b719dc8830 which far more helpful when doing code archeology.I think some of this explanation should be in the commit message.
Imo it could even be moved up verbatim.
Jan
Hi Andrew,
Reviving this thread as we are preparing for Xen 4.20.
Quoted 26 lines · Jan Beulich
Quoted 25 lines · Julien Grall
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>With one remark below:
Reviewed-by Julien Grall <[email protected]>Quoted 18 lines
---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>This is about figuring out when a change was first introduced. Take
10b719dc88for example (completely random pick).The right answer is
git tag --contains $shaand look for the oldest RELEASE-$X. In this case it's Xen 4.6, but the tags are not numerically sorted so the answer is towards the end of the list of 166 tags.The better answer would be to
git describe $shabecause git has an algorithm to do this nicely. In this case, it's 4.5.0-rc4-934-g10b719dc8830 because we branch first and tag RELEASE-4.6.0 on the branch, rather than releasing off master.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
With
0082626f35af(opening of the 4.6 tree) containing an annotated tag of 4.6-dev, git describe now gives 4.6-dev-902-g10b719dc8830 which far more helpful when doing code archeology.I think some of this explanation should be in the commit message.
Imo it could even be moved up verbatim.
Would you be fine if I move your explanation in the commit message and commit it?
Cheers,
Signature · 1 line
Julien Grall
Hi,
Quoted 35 lines · Julien Grall
Hi Andrew,
Reviving this thread as we are preparing for Xen 4.20.
Quoted 30 lines · Jan Beulich
Quoted 29 lines · Julien Grall
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>With one remark below:
Reviewed-by Julien Grall <[email protected]>Quoted 21 lines
---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>This is about figuring out when a change was first introduced. Take
10b719dc88for example (completely random pick).The right answer is
git tag --contains $shaand look for the oldest RELEASE-$X. In this case it's Xen 4.6, but the tags are not numerically sorted so the answer is towards the end of the list of 166 tags.The better answer would be to
git describe $shabecause git has an algorithm to do this nicely. In this case, it's 4.5.0-rc4-934-g10b719dc8830 because we branch first and tag RELEASE-4.6.0 on the branch, rather than releasing off master.With
0082626f35af(opening of the 4.6 tree) containing an annotated tag of 4.6-dev, git describe now gives 4.6-dev-902-g10b719dc8830 which far more helpful when doing code archeology.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
I think some of this explanation should be in the commit message.
Imo it could even be moved up verbatim.
Would you be fine if I move your explanation in the commit message and commit it?
Ping?
Cheers,
Signature · 1 line
Julien Grall