This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
New command rome migrate
or rome config migrate
#1366
ematipico
started this conversation in
Suggestions
Replies: 1 comment 1 reply
-
This would be awesome! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that Rome's configuration is growing and that are allowing multiple formats soon (YAML and TOML), I was thinking that should automatically supports the following cases:
Config extension migration
This would allow the users to change their configuration file from one extension to another (e.g. from RJSON to JSON and vice versa).
Config options migration
This one is maybe to most important one. As we aim to do fast releases and change rapidly, this command would help the users to install a new version of Rome and port their configuration to the new format. For example, if one day we decided to change the name of a key, the
migrate
command could automatically do it for the user. Thanks to the fact we have our own parser, we can surgically update the config to the new version.Plus, it should also maintain multiple versions and how a config file would change across versions. Having a command like this would help us maintainers to make more breaking changes to how we maintain the config file because we just need to run a simple command to fix the new version
Beta Was this translation helpful? Give feedback.
All reactions