Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/modules/misc/version.nix: Don't spam the user with vague warnings
- Loading branch information
4d1332e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @oxij who, IIRC, added this warning a while ago
4d1332e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we had discussed this in 1f0b692#commitcomment-29001452 Everything I've written there is still valid: this warning is not the best thing ever (
stateVersion
should be modularized), but (until that's done) having a warning is better than Postgres/MariaDB silently screwing your on-disk state between upgrades.Another thing I'll have to re-cherry-pick in SLNOS, I guess.
4d1332e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah to flip it around, it's crazy that we'd migrate any user data without giving some sort of warning. Yet that's precisely what his commit does.