-
Notifications
You must be signed in to change notification settings - Fork 208
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
Gaffer : Version the preferences location #5555
Conversation
Pushed a commit that should fix the Windows test failure - hopefully it makes sense @ericmehl. |
The WIndows fix looks good to me. |
We don't like mixing |
This avoids problems caused by saving preferences from a later version in a format not compatible with an earlier version. The most common problem is saving a layout containing an editor that doesn't exist in the earlier version, and version 1.4 will shortly be introducing a new editor. Fixes GafferHQ#368 Fixes GafferHQ#2882
5959585
to
821a2b4
Compare
I've now pushed a new version which implements this plan. But I don't think we should merge it, for the following reasons :
This all seems like using a sledgehammer to crack a nut when the only problem we've ever had between versions is layouts with editors that don't exist in the previous version. I've opened PR #5619 to deal with that directly, in a way that allows the user to manage a single set of layouts, gracefully handling editors that aren't currently available. I propose we merge #5619, close this PR, and close #368 as "ain't broke; won't fix". |
Closing in favour of #5619. |
This avoids problems caused by saving preferences in a later version in a format not compatible with an earlier version. The most common problem is saving a layout containing an editor that doesn't exist in the earlier version, and version 1.4 will shortly be introducing a new editor.
Fixes #368
Fixes #2882