Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin handling updating of config files #104

Open
MatthieuDartiailh opened this issue Jun 19, 2017 · 0 comments
Open

Plugin handling updating of config files #104

MatthieuDartiailh opened this issue Jun 19, 2017 · 0 comments

Comments

@MatthieuDartiailh
Copy link
Member

When a config file is loaded and found to use older packages than the ones available, we may need to update part of it (and save after update) or abort the loading. Aborting is the choice of the user and should be left to the user, trying to update the file requires to have tools able to do the update.
The updating mechanism should require contributed updaters that work on the config object and specify the old version and the new version (ideally those two should be two contiguous releases) and collect all the updaters that need to be applied (potentially chain multiple ones).
This system also requires to be able to report update failure to provide a meaningful error message.

Some details may be missing so this remains at the discussion stage for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant