start-os
start-os copied to clipboard
[feat] Do Not Allow Downgrade to Progress When "Downgrades Prohibited"
Currently when performing a downgrade migration, download is completed before error is thrown and migration is abandoned (with error). It would be more ideal to tell the user as soon as they attempt the downgrade.
This would be a pretty big change. This would require us to run the migration before starting the download (since there would be no other way to know whether the migration will error). This would probably require us to implement migration rollbacks (which are probably desirable anyway).
The other option would be to specify a prohibited migration somewhere in the manifest, rather than in the migration js.
Are there any other possible ways to implement @dr-bonez ?
@dr-bonez please comment or close