You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can add versioning to the config, so when people update the version of ssc and run it, we can know the version of config.ini is not compatible with the version of ssc and throw a readable error and maybe even provide an update script.
Left value is a current value which we should move or delete
Right value is a new field and optional mapping function when we need to change a value (the mapping function isstd::identity by default)
This way we can create a chain of transformations for each config field for any old version to the latest version
Comments above reflect the recent changes made in #124
The text was updated successfully, but these errors were encountered:
We can add versioning to the config, so when people update the version of
ssc
and run it, we can know the version ofconfig.ini
is not compatible with the version ofssc
and throw a readable error and maybe even provide an update script.I think we can add an ungrouped field like this:
Then,
ssc
wants a newer version of config, we print something likeCurrent version of config is outdated and not compatible with your version of 'ssc'
ssc
version is too old, we printCurrent version of config is newer than installed 'ssc' can use. Please update your version of 'ssc'.
Automatic updates
We can add something like
ssc config update
to automatically update the config version"Migrations" should provide the change for every field in such manner
Left value is a current value which we should move or delete
Right value is a new field and optional mapping function when we need to change a value (the mapping function is
std::identity
by default)This way we can create a chain of transformations for each config field for any old version to the latest version
Comments above reflect the recent changes made in #124
The text was updated successfully, but these errors were encountered: