New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Major-to-major OS update only #3629
Comments
In discussion, jumping to
Proposed solution is to upgrade to the latest release of the next major release. For that to work we need to have a dictionary which allows to loop up what the last release of a particular series is, e.g. "hassos-upgrade": {
"6": "6.6",
"5": "5.13",
} The logic would check as follows:
This would mean following upgrade paths:
|
12 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
At times OS changes requires some migration. To make migration maintainable, we typically assume upgrades from one major to the next.
In a particular case,
ova
andgeneric-x86-64
updates from 6.1 and before cannot be done to 7.6 and beyond (read the details in home-assistant/operating-system#1889).Decision
We should prevent upgrades which skip major versions. We do not have metadata about older release readily available, hence that does not allow us to jump to the latest version of a particular major release. However, we do know the first version of a particular major release, hence we can enforce an update to that version only, e.g.:
6.0
->7.0
6.6
->7.0
7.0
->8.0
The text was updated successfully, but these errors were encountered: