start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[feat] Do Not Allow Downgrade to Progress When "Downgrades Prohibited"

Open kn0wmad opened this issue 2 years ago • 2 comments

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.

kn0wmad avatar Mar 02 '23 22:03 kn0wmad

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 ?

chrisguida avatar Mar 03 '23 21:03 chrisguida

@dr-bonez please comment or close

MattDHill avatar May 31 '23 14:05 MattDHill