Kernel revision numbering moving to semantic versioning
Posted: Thu May 23, 2024 4:39 pm
Recently there has been a discussion to change how the kernel version is handled:
https://discord.com/channels/6312867737 ... 3474416653
Currently the build system takes the highest SVN $Revision$ number for any kernel source file, e.g. 1234, and makes that the Kernel revision.
This system does not work under Git.
The proposal is to move the Kernel version over to a semantic system: major.minor.patch. See: https://semver.org.
This would only affect the Kernel, and the OS would continue to be versioned as currently.
Any breaking changes to the ABI would increment the major version of the kernel. Despite some recent breaking changes, we would probably start with the current version as `0.7.7`. This kernel version would be held in a variable in the source code, requiring manual intervention, when a new kernel release is determined.
This change may, in addition, require an update to the system function(s) for storing and providing the version.
Please provide feedback on this change! Feel free to even just post 'Ok' to indicate you have read the proposal.
Many thanks.
https://discord.com/channels/6312867737 ... 3474416653
Currently the build system takes the highest SVN $Revision$ number for any kernel source file, e.g. 1234, and makes that the Kernel revision.
This system does not work under Git.
The proposal is to move the Kernel version over to a semantic system: major.minor.patch. See: https://semver.org.
This would only affect the Kernel, and the OS would continue to be versioned as currently.
Any breaking changes to the ABI would increment the major version of the kernel. Despite some recent breaking changes, we would probably start with the current version as `0.7.7`. This kernel version would be held in a variable in the source code, requiring manual intervention, when a new kernel release is determined.
This change may, in addition, require an update to the system function(s) for storing and providing the version.
Please provide feedback on this change! Feel free to even just post 'Ok' to indicate you have read the proposal.
Many thanks.