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

feat: add post update plugin support #1049

Merged
merged 2 commits into from Sep 23, 2021

Conversation

yacchi
Copy link
Contributor

@yacchi yacchi commented Sep 18, 2021

Summary

Currently, asdf does not have a hook that is called when a plugin is updated, so it is not possible for plugins to perform migrations.

For example, if a plugin has a problem and needs to be fixed under "installs", the only way to do this is to have the user do it after installation.

With the post-install-hook, it will be possible to migrate when updating, which will make it easier to develop plug-ins and improve the usability for users.

Other Information

This may also answer the request of #859 .

@yacchi yacchi requested a review from a team as a code owner September 18, 2021 18:51
docs/plugins/create.md Outdated Show resolved Hide resolved
Copy link
Member

@Stratus3D Stratus3D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me. @jthegedus what do you think?

@jthegedus
Copy link
Contributor

Yes, this looks good. A very useful hook.

@jthegedus jthegedus merged commit 304f72d into asdf-vm:master Sep 23, 2021
@yacchi yacchi deleted the add-post-update-plugin-support branch September 24, 2021 00:53
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

Successfully merging this pull request may close these issues.

None yet

3 participants