feat: Add the ability to install and link plugins#345
Open
feat: Add the ability to install and link plugins#345
Conversation
Owner
|
maybe the more extensible way to handle this would just be to have a preinstall hook? |
Author
|
jdx/mise#7856 solves my primary use case. Edit: I might have spoken too soon -- it seems to install the plugin after tools are installed, but this means I can't use an env plugin to configure tools. It would still be nice to be able to distribute plugins as part of the repo itself, and automatically link them (instead of installing from a remote). One of my pain points with remote plugins right now is they're unpinned, so some users are running stale versions and others are getting latest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds
plugin_installandplugin_linkinputs which, if present, are passed tomise pluginbeforemise install.Ideally I would like these plugins to be installed/linked automatically for more consistency between local & CI environments, but being able to do this as part of the action is a good enough workaround for now.
Fixes #118.
Related jdx/mise#6678.
Related jdx/mise#7017.