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

Create post install script so we can gracefully update internals across versions #28

Open
RamonGebben opened this issue Apr 25, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@RamonGebben
Copy link
Owner

When we want to modify something internal from mergify we will have some users that still have the previous version. To not break on update with for instance config changes I suggest we use a post install script to verify that mergify can run, otherwise perform migration.

@RamonGebben RamonGebben added the enhancement New feature or request label Apr 25, 2018
@jlengrand
Copy link
Collaborator

Totally agree.
I'm not sure I understand what postinstall should actually do.

Convert any existing config to the new format?

@RamonGebben
Copy link
Owner Author

@jlengrand that was indeed what I was thinking.
However I doubt that it's going to be limited to that.

For instance the issue #29 that you've opened, we could show a message after update that the API has changed and invoke the help message.

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

No branches or pull requests

2 participants