issues
search
rufuspollock-okfn
/
dataexplorer
View, visualize, clean and process data in the browser.
http://explorer.okfnlabs.org
148
stars
47
forks
source link
Approach for handling upgrades of the gist structure
#135
Open
rufuspollock
opened
11 years ago
rufuspollock
commented
11 years ago
We need a proper pattern for doing this:
Increase manifest_version
Need a function that handles changing old structure into new
Have a function per manifest_version change
rufuspollock
commented
11 years ago
Propose that:
unserializeProject function take care of checking the manifest and upgrading this
implication: should become async as may need to load data to do this (e.g. if this were an old style project with remote data)
[optional] new loadProjectFromGist function to encapsulate loading from gist
Asides:
Stuff like checkDatasetLoaded should become a thing of the past as all data loaded when the project loaded
We need a proper pattern for doing this: