COCONUT-SVSM Release Process
Hi,
Some time ago in the SVSM development call we discussed the plan to tag releases in the COCONUT-SVSM repository. For that to make at least some sense I started to draft up a release process document and attached it below.
This is of course not final and we can make any kinds of changes if people feel like it. I also plan to set this on the agenda of tomorrows SVSM call.
Please let me know your comments and thoughts on the document. Once there is agreement on the process I plan to submit this to the COCONUT-SVSM repository as part of the documentation.
Thanks,
Joerg
# COCONUT-SVSM Release Process
This document describes the stages of code and releases in the COCONUT-SVSM projects and sets the expectations users into each stage of development.
## Release Stages
The COCONUT-SVSM project has three stages and some sub-stages for releasing code to its users:
* Main Development Branch
* Development Releases
* Stable Releases
* Release Candidates
* Final Releases
* Release Updates
The next sections explain the expectations users can put into each stage
### Main Development Branch
This is the initial landing site for each new feature and (where applicable) bug fix to the COCONUT-SVSM project. The code is in the main branch of the git repository at [Github](https://github.com/coconut-svsm/svsm/).
Every change must be in the main branch before it can be part of a development or stable release. The only exceptions to this rule are made for fixing bugs present in a stable release but not in the main branch.
The main branch is only intended for developers and active contributors of the COCONUT-SVSM project.
### Development Releases
Development releases are snapshots of the main development branch. A release is marked with a git tag in the COCONUT-SVSM Github repository. Upcoming development releases are announced at least one week ahead of time. In the time from the announcement to the actual release only bug fixes will be merged into the main development branch.
Development releases are intended for testing by a wider community outside of the active contributors, but not recommended for production use. These releases are a marker for COCONUT-SVSM development at a given point in time and will not receive updates for fixing issues or adding new features.
### Stable Releases
Stable releases are code streams intended for production use after the final release. A given release is branched off the main development branch at least 4 weeks ahead of the final release. During this time the branch will only receive bug fixes which are usually cherry-picked from the main development branch. Release candidates will be provided every week until the final release is ready.
After the final release the branch will continue to receive updates for bug fixes at least until the next stable release is finished. Each release candidate, the final release, and updates to the final release are marked with git tags.
## Release Naming
The naming convention for releases is defined as follows:
* [DR]YYYY.MM[.X[-rcX]]
Each release starts with either the letter D for development releases or R for stable releases.
Following the initial letter is a year.month marker of the year and month the final release is expected to happen. A release name ending after the marker is a development or final release.
After the year.month marker of a release there can be an optional -rcX, where the X is an increasing number starting at 1.If present this marks release candidates.
Alternatively there can be a dot after the year.month marker, followed by an increasing number starting at 1. These release names mark a release update.
Some examples of valid release names: D2024.12, R2025.03-rc1, R2025.03, R2025.03.2. Note that development releases always end after the year.month marker.
## Release Cadence
No release cadence is defined yet.
Quoted 87 lines · Jörg Rödel
Hi,
Some time ago in the SVSM development call we discussed the plan to tag releases in the COCONUT-SVSM repository. For that to make at least some sense I started to draft up a release process document and attached it below.
This is of course not final and we can make any kinds of changes if people feel like it. I also plan to set this on the agenda of tomorrows SVSM call.
Please let me know your comments and thoughts on the document. Once there is agreement on the process I plan to submit this to the COCONUT-SVSM repository as part of the documentation.
Thanks,
Joerg
# COCONUT-SVSM Release Process
This document describes the stages of code and releases in the COCONUT-SVSM projects and sets the expectations users into each stage of development.
## Release Stages
The COCONUT-SVSM project has three stages and some sub-stages for releasing code to its users:
* Main Development Branch
* Development Releases
* Stable Releases
* Release Candidates
* Final Releases
* Release UpdatesThe next sections explain the expectations users can put into each stage
### Main Development Branch
This is the initial landing site for each new feature and (where applicable) bug fix to the COCONUT-SVSM project. The code is in the
mainbranch of the git repository at [Github](https://github.com/coconut-svsm/svsm/).Every change must be in the main branch before it can be part of a development or stable release. The only exceptions to this rule are made for fixing bugs present in a stable release but not in the main branch.
The main branch is only intended for developers and active contributors of the COCONUT-SVSM project.
### Development Releases
Development releases are snapshots of the main development branch. A release is marked with a git tag in the COCONUT-SVSM Github repository. Upcoming development releases are announced at least one week ahead of time. In the time from the announcement to the actual release only bug fixes will be merged into the main development branch.
Development releases are intended for testing by a wider community outside of the active contributors, but not recommended for production use. These releases are a marker for COCONUT-SVSM development at a given point in time and will not receive updates for fixing issues or adding new features.
### Stable Releases
Stable releases are code streams intended for production use after the final release. A given release is branched off the main development branch at least 4 weeks ahead of the final release. During this time the branch will only receive bug fixes which are usually cherry-picked from the main development branch. Release candidates will be provided every week until the final release is ready.
After the final release the branch will continue to receive updates for bug fixes at least until the next stable release is finished. Each release candidate, the final release, and updates to the final release are marked with git tags.
## Release Naming
The naming convention for releases is defined as follows:
*
[DR]YYYY.MM[.X[-rcX]]Each release starts with either the letter
Dfor development releases orRfor stable releases.
Quoted 6 lines
Following the initial letter is a year.month marker of the year and month the final release is expected to happen. A release name ending after the marker is a development or final release.
After the year.month marker of a release there can be an optional
-rcX, where theXis an increasing number starting at1.If present this marks
^ missing space
Quoted 8 lines
release candidates.
Alternatively there can be a dot after the year.month marker, followed by an increasing number starting at
1. These release names mark a release update.Some examples of valid release names:
D2024.12,R2025.03-rc1,R2025.03,R2025.03.2. Note that development releases always end after the year.month marker.
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Or do we never expect to have a stable release and a development release in the same month?
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04
Or just use the year and SHA-1 for development releases:
R2025.03
D2025-g9ec10216
D2025-g5f4987a1
D2025-gbb6e9222
R2025.04
The rest LGTM.
Thanks,
Stefano
Quoted 9 lines
## Release Cadence
No release cadence is defined yet.
Signature · 3 lines
Svsm-devel mailing list [email protected] https://mail.8bytes.org/cgi-bin/mailman/listinfo/svsm-devel
Quoted 22 lines · Stefano Garzarella
Quoted 9 lines · Jörg Rödel
## Release Naming
The naming convention for releases is defined as follows:
*
[DR]YYYY.MM[.X[-rcX]]Each release starts with either the letter
Dfor development releases orRfor stable releases.Quoted 6 lines
Following the initial letter is a year.month marker of the year and month the final release is expected to happen. A release name ending after the marker is a development or final release.
After the year.month marker of a release there can be an optional
-rcX, where theXis an increasing number starting at1.If present this marks^ missing space
Quoted 5 lines
release candidates.
Alternatively there can be a dot after the year.month marker, followed by an increasing number starting at
1. These release names mark a release update.
Quoted 8 lines
Quoted 3 lines
Some examples of valid release names:
D2024.12,R2025.03-rc1,R2025.03,R2025.03.2. Note that development releases always end after the year.month marker.My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
At the RPM packaging level, the "R" release will always compare as newer than the "D" release, simply because the "R" is larger than "D" in ascii.
I'd really discourage from using any letters in the main part of the version numbering scheme.
It is pretty unusual practice, except where used as a suffix eg "-rcNN" or "-g<HASH>", and so is liable to have unhelpful / unexpected ripple effects like the above version comparison behaviour.
Quoted 7 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
If you use a "NN" counter instead of month, then you can follow the approach that even numbers are stable releases and odd numbers are development releases. This is a simple rule to understand and has well defined version comparison behaviour
Quoted 7 lines
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04
Quoted 7 lines
Or just use the year and SHA-1 for development releases:
R2025.03
D2025-g9ec10216
D2025-g5f4987a1
D2025-gbb6e9222
R2025.04
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Hi Daniel,
Quoted 3 lines · Daniel P. Berrangé
At the RPM packaging level, the "R" release will always compare as newer than the "D" release, simply because the "R" is larger than "D" in ascii.
Do you expect development and stable releases within the same package stream? My expectation is that distributions package the stable and development releases with different package names (e.g. coconut-svsm vs. coconut-svsm-unstable).
Quoted 4 lines
If you use a "NN" counter instead of month, then you can follow the approach that even numbers are stable releases and odd numbers are development releases. This is a simple rule to understand and has well defined version comparison behaviour
Okay, that is another option. I find that slightly less intuitive, but since other projects do it this way I might be wrong with this and we actually don't need to intensively teach users about that sheme.
Regards,
Signature · 11 lines
Jörg Rödel [email protected] SUSE Software Solutions Germany GmbH Frankenstraße 146 90461 Nürnberg Germany https://www.suse.com/ Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
Quoted 11 lines · Jörg Rödel
Hi Daniel,
Quoted 3 lines · Daniel P. Berrangé
At the RPM packaging level, the "R" release will always compare as newer than the "D" release, simply because the "R" is larger than "D" in ascii.
Do you expect development and stable releases within the same package stream? My expectation is that distributions package the stable and development releases with different package names (e.g. coconut-svsm vs. coconut-svsm-unstable).
I can't speak for all distros, but in Fedora / RHEL we will generally aim to ship a single stream of software, unless there's a very compelling backcompat need to ship multiple *stable* versions.
In Fedora rawhide, we'll sometimes ship development releases, in situations where we expect a followup stable release to be ready, before the Fedora relase branches. The idea of this is that it gets earlier testing of the forthcoming stable release, so we can identify and resolve problems more quickly. This does assume that the upstream project in question is shipping development releases that are considered high quality, which may or may not the case.
I would flip the question around and ask why there is a need to have distinct version number series for development vs stable releases. It is very unusual - personally I can't think of examples of projects doing this. A single version number series is the standard practice.
Quoted 8 lines
Quoted 4 lines
If you use a "NN" counter instead of month, then you can follow the approach that even numbers are stable releases and odd numbers are development releases. This is a simple rule to understand and has well defined version comparison behaviour
Okay, that is another option. I find that slightly less intuitive, but since other projects do it this way I might be wrong with this and we actually don't need to intensively teach users about that sheme.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 11 lines · Daniel P. Berrangé
I can't speak for all distros, but in Fedora / RHEL we will generally aim to ship a single stream of software, unless there's a very compelling backcompat need to ship multiple *stable* versions.
In Fedora rawhide, we'll sometimes ship development releases, in situations where we expect a followup stable release to be ready, before the Fedora relase branches. The idea of this is that it gets earlier testing of the forthcoming stable release, so we can identify and resolve problems more quickly. This does assume that the upstream project in question is shipping development releases that are considered high quality, which may or may not the case.
Okay, thanks. That is a valid point and works well with projects that have a single release stream for development and stable versions. In the longer run I can see the SVSM following such a model as well. Maybe we can go this way following Dionna's suggestion, see below.
Quoted 4 lines
I would flip the question around and ask why there is a need to have distinct version number series for development vs stable releases. It is very unusual - personally I can't think of examples of projects doing this. A single version number series is the standard practice.
I made the distinction because I want to avoid the impression that we consider a release ready for production. My criteria production readiness is that the SVSM has a fallible alloctor API and can handle out-of-memory situations without crashing.
So I want the release name used now to send the message that the code is still under development.
For this release profiles as suggested by Dionna would also work. Something like '2025.03[.NN][-devel]' would work as well and would solve the above situation where packages start with development releases and switch to stable ones later on.
Regards,
Signature · 11 lines
Jörg Rödel [email protected] SUSE Software Solutions Germany GmbH Frankenstraße 146 90461 Nürnberg Germany https://www.suse.com/ Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Quoted 2 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
But I see the problem you are trying to solve, we need a way to cope with multiple development releases per month. This can be solved with adding another counter to the YYYY.MM part.
Regards,
Signature · 11 lines
Jörg Rödel [email protected] SUSE Software Solutions Germany GmbH Frankenstraße 146 90461 Nürnberg Germany https://www.suse.com/ Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
Quoted 42 lines · Jörg Rödel
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Quoted 2 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04
Quoted 4 lines
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
A scheme we use has been YYYY-MM[-DD][-profile][-rcX]
The profile marker is to allow for different build profiles from the same trunk. I don't think that releases from a SHA1 hash make sense, since I would always presume that cutting a release tag means creating a branch upon which to cherry-pick fixes. Cherry-picking on top of the named SHA1 hash changes the head hash and kind of ruins it.
If you want D to mean unstable features but are not broken outright, I'd say to call it the unstable profile. That way you make sure to track experimental/unstable additions behind features that you can later promote to stable.
I wouldn't worry too much about creating multiple canonical profiles at this point though.
Quoted 22 lines
But I see the problem you are trying to solve, we need a way to cope with multiple development releases per month. This can be solved with adding another counter to the YYYY.MM part.
Regards,
--
Jörg Rödel
[email protected]SUSE Software Solutions Germany GmbH
Frankenstraße 146
90461 Nürnberg
Germany
https://www.suse.com/Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
--
Svsm-devel mailing list [email protected]
https://mail.8bytes.org/cgi-bin/mailman/listinfo/svsm-devel
Signature · 1 line
-Dionna Glaze, PhD, CISSP, CCSP (she/her)
Hi Dionna,
Quoted 10 lines · Dionna Amalie Glaze
A scheme we use has been YYYY-MM[-DD][-profile][-rcX]
The profile marker is to allow for different build profiles from the same trunk. I don't think that releases from a SHA1 hash make sense, since I would always presume that cutting a release tag means creating a branch upon which to cherry-pick fixes. Cherry-picking on top of the named SHA1 hash changes the head hash and kind of ruins it.
If you want D to mean unstable features but are not broken outright, I'd say to call it the unstable profile. That way you make sure to track experimental/unstable additions behind features that you can later promote to stable.
Using a profile approach for version strings is a good way for the SVSM as well, thanks for that suggestion.
I will set this topic on the agenda of tomorrows call as well.
Regards,
Signature · 11 lines
Jörg Rödel [email protected] SUSE Software Solutions Germany GmbH Frankenstraße 146 90461 Nürnberg Germany https://www.suse.com/ Geschäftsführer: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
Quoted 48 lines · Dionna Amalie Glaze
Quoted 42 lines · Jörg Rödel
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Quoted 2 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04Quoted 4 lines
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
Quoted 5 lines
A scheme we use has been YYYY-MM[-DD][-profile][-rcX]
The profile marker is to allow for different build profiles from the same trunk. I don't think that releases from a SHA1 hash make sense, since I would always presume that cutting a release tag means creating a branch upon which to cherry-pick fixes. Cherry-picking on top of the named SHA1
I proposed the SHA1 just for development release which from the description are simply a snapshot of the main branch, so no cherry-picking should be done for those releases.
Quoted 8 lines
hash changes the head hash and kind of ruins it.
If you want D to mean unstable features but are not broken outright, I'd say to call it the unstable profile. That way you make sure to track experimental/unstable additions behind features that you can later promote to stable.I wouldn't worry too much about creating multiple canonical profiles at this point though.
Yep, multiple profiles can work.
Thanks,
Stefano
Quoted 56 lines · Stefano Garzarella
Quoted 48 lines · Dionna Amalie Glaze
Quoted 42 lines · Jörg Rödel
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Quoted 2 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04Quoted 4 lines
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
Quoted 5 lines
A scheme we use has been YYYY-MM[-DD][-profile][-rcX]
The profile marker is to allow for different build profiles from the same trunk. I don't think that releases from a SHA1 hash make sense, since I would always presume that cutting a release tag means creating a branch upon which to cherry-pick fixes. Cherry-picking on top of the named SHA1
Quoted 4 lines
I proposed the SHA1 just for development release which from the description are simply a snapshot of the main branch, so no cherry-picking should be done for those releases.
This seems like a nightly situation, no?
I don't know how GitHub manages different release streams. We might want to have an svsm-nightly mirror repo that has its own releases to not drown out the other releases on the tab.
Quoted 14 lines
Quoted 8 lines
hash changes the head hash and kind of ruins it.
If you want D to mean unstable features but are not broken outright, I'd say to call it the unstable profile. That way you make sure to track experimental/unstable additions behind features that you can later promote to stable.I wouldn't worry too much about creating multiple canonical profiles at this point though.
Yep, multiple profiles can work.
Thanks,
Stefano
Signature · 1 line
-Dionna Glaze, PhD, CISSP, CCSP (she/her)
Quoted 57 lines · Dionna Amalie Glaze
Quoted 56 lines · Stefano Garzarella
Quoted 53 lines · Dionna Amalie Glaze
Quoted 42 lines · Jörg Rödel
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Quoted 2 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04Quoted 4 lines
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
A scheme we use has been YYYY-MM[-DD][-profile][-rcX]
The profile marker is to allow for different build profiles from the same trunk. I don't think that releases from a SHA1 hash make sense, since I would always presume that cutting a release tag means creating a branch upon which to cherry-pick fixes. Cherry-picking on top of the named SHA1
Quoted 6 lines
Quoted 4 lines
I proposed the SHA1 just for development release which from the description are simply a snapshot of the main branch, so no cherry-picking should be done for those releases.
This seems like a nightly situation, no?
Yep, maybe not with that frequency, but yes, we can look at it from that perspective IIUC the proposal.
Quoted 3 lines
I don't know how GitHub manages different release streams. We might want to have an svsm-nightly mirror repo that has its own releases to not drown out the other releases on the tab.
Optionally, to notify users that the release is not ready for production and may be unstable, select This is a pre-release.
And in the release tab there is this suggestion:
If the tag isn’t meant for production use, add a pre-release version after the version name. Some good pre-release versions might be v0.2.0-alpha or v5.9-beta.3.
That seems to fit well with the profiles you suggested.
Thanks,
Stefano
Quoted 8 lines · Jörg Rödel
Hi Stefano,
Quoted 4 lines · Stefano Garzarella
My concern is having two types of release in the same month, e.g. R2025.03 and D2025.03.
How do we know which one happened sooner or later?
Quoted 8 lines
Stable releases are branched off at least 4 weeks before they are tagged, so it is safe to assume that, given a development and stable release in the same month, the development release will be based on a more recent code base.
The stable and development releases also target different groups of users, so I wonder why it is important to know which release happened first?
Even as a developer, sometimes I think it is useful to know how a stable release and development are related. For example, it might be useful for some sort of initial triage of a bug discovered in a development release to also quickly infer which stable releases might be affected.
That said, I don't have a strong opinion on this, as I think we'll eventually use the git repo for bisection etc. where it's easy to figure out the relationship between tags.
Quoted 25 lines
Quoted 3 lines
Or do we never expect to have a stable release and a development release in the same month?
Stable an development releases in the same month are allowed, I do not want to forbid that.
Quoted 2 lines
I'm not sure if using YYYY.NN is better, where NN is a counter shared among all release types (D or R).
I'd like to avoid sharing counters between development and stable releases. This would indicate a relationship between these release types that does not exist. Each release type targets a different audience/use-case.
Quoted 9 lines
Another option is to increase the counter only for a stable release (or use the month in this case), and for development releases, add a few digits of the SHA-1 of the commit, something like this:
R2025.03
D2025.03-g9ec10216
D2025.03-g5f4987a1
D2025.03-gbb6e9222
R2025.04
Quoted 7 lines
This might turn version comparisions for package managers into a real nightmare. If we include the sha1 of the top-commit, we still need a growing number to ensure version string ordering.
But I see the problem you are trying to solve, we need a way to cope with multiple development releases per month. This can be solved with adding another counter to the YYYY.MM part.
Yep, I agree.
Thanks,
Stefano