Strategy for Save Files - Future Proofing #3218
lucas-wilkins
started this conversation in
ADR
Replies: 1 comment
-
see #3210 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem Outline
We want to be able save the state of SasView, including the GUI state, and the state of the perspectives. This brushes up against the other desirable thing: being able to make changes.
Plan
Saved files should maintain a distinction between data that we don't mind loosing between versions, and data that should transcend versions.
Category I: Examples of data that we wouldn't mind loosing:
Category II: Examples of data where we need to still be able to read it:
For category I data, SasView can attempt to read, but if it fails, we ignore it.
For category II data, we should maintain backwards compatability.
Each section should be version controlled. If changes are made to things that use this data, and these changes affect the save data:
The full save state should be separated into sections, which at the present moment, would align with the current multiplicity of save files. Each section should be versioned independently.
The full save state would look something like this:
Ambiguity
These categories are not forever, we might, for example, choose not to support some subset of the category 2 data if it becomes burdensome.
Status
Proposed
Beta Was this translation helpful? Give feedback.
All reactions