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

asdf should auto install plugins for tool names it has in the short name repo #1678

Open
airtonix opened this issue Nov 10, 2023 · 3 comments

Comments

@airtonix
Copy link

Is your feature request related to a problem? Please describe

it would be nice if i didn't have to keep this kind of thing around in every asdf repo to quickly help my team mates onboard: https://raw.githubusercontent.com/airtonix/bankdownloader/master/setup.sh

Describe the proposed solution

if a .tool-version file looks like :

nodejs 18.0.0

then asdf install should:

  • check if nodejs plugin is not installed
    • then it should attempt asdf plugin add nodejs
  • then proceed as normal

Describe similar asdf features and why they are not sufficient

the above script

Describe other workarounds you've considered

giving up technology and becoming a goat herder.

@ethanjdiamond
Copy link

ethanjdiamond commented Nov 24, 2023

+1 on this, it's annoying to have to manually add every plugin. I'd love a flag on asdf install to say "add any uninstalled plugin required".

I'd actually go one further and say .tool-version should support adding the repo for non-shortname plugins so you wouldn't need to run asdf plugin add ... at all. Something like this:

temporal 0.10.7 https://github.com/asdf-community/asdf-temporal

@ben-509
Copy link

ben-509 commented Jan 6, 2024

+1 on extending .tool-versions to support long names for plugins. That'd be extremely helpful for constructing a reproducible environment.

@lilbobbytable
Copy link

just use rtx. It has all of this.

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

No branches or pull requests

4 participants