-
Notifications
You must be signed in to change notification settings - Fork 789
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
Notify users of core or plugin updates #725
Comments
I like this feature request. Since the plugins are git repos, I believe this logic could easily live in the core. TTL cache is a great idea. We could use I think mimicking the
Edit: or Flutter
For reference: asdf plugin update code |
I suppose |
Yes it should, and I imagine the code for this would be the same just with the repo URL being targeted as the only difference |
I'm confident this will be the same code so renaming this Issue to cover the core asdf tool as well. |
Thanks for raising this! I use "brew" to have |
Yes, there's currently no solution for auto-updating the plugins. I have some ideas around this aside from just the message. |
@jthegedus I know it's been a while since this topic had activity, so you might need to reference some notes or jog your memory, but do you have any details to share? |
Since we rely on master branches for plugins (atleast from what I remember), informing the user about plugin update would mean that:
I agree with @jthegedus.
|
On Updates to tags is on my radar, with the general idea to be if a tag ref is in use for a plugin, only update to newer tag refs.
I was thinking a similar solution to ZSH whereby it is on initial |
@jthegedus what do you think about removing this from the v0.9.0 milestone? I'd like to get v0.9.0 tagged soon and this is the only remaining ticket. |
Is your feature request related to a problem? Please describe:
I have encountered multiple installation failures due to an outdated plugin, with no information as to why.
Describe the solution you'd like:
I'd like for a plugin update check to be performed when running
asdf
commands which utilize the plugin, and to be notified if there is an update available for the plugin. For example:asdf list all [plugin]
,asdf install [plugin] [version]
, etc.This could be implemented with a TTL cache so that there aren't repeated network requests performed within a given window of time.
If it is decided that this feature request is ultimately the responsibility of each plugin, then this is a request to provide a framework for plugin authors to easily implement the feature.
Describe similar asdf features and why they are not sufficient:
There are no similar features to compare.
Describe workarounds you've considered:
Manually check if there is a plugin update and install it.
Additional context
asdf-community/asdf-deno#7
The text was updated successfully, but these errors were encountered: