cursorless
cursorless copied to clipboard
Settings csv migration
Today we have user csv files that are in need of updates
- Positions should be moved to connectives/modifiers
- Some identifiers are too explicit and actually used in more a general sense. eg wrapWithDelimitedPair
- And some identifiers have actually been changed and we handle the upgrade path extension side
- Some files are in experimental even though they are not experimental anymore. eg snippets
I think that we actually need to do a proper migration on the users files.
update from meet-up:
- handle migration in https://github.com/cursorless-dev/cursorless/blob/e82485132f5aac8e3a87368616f0b6f05f918509/cursorless-talon/src/spoken_forms.py#L116
- when we detect an old identifier, or an identifier in the wrong file, we pop up something saying to say "cursorless migrate settings" to migrate settings
- migration is fairly straightforward, either change the id in the csv, or delete from old file / move to new
- we support the old configuration for x amount of time, probably 1 year
- every time they restart talon, we pop that up again if they still haven't migrated