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

[Feature Request] Support multiple global version files #1764

Open
DerekTBrown opened this issue Jul 3, 2024 · 0 comments
Open

[Feature Request] Support multiple global version files #1764

DerekTBrown opened this issue Jul 3, 2024 · 0 comments

Comments

@DerekTBrown
Copy link

Is your feature request related to a problem? Please describe

  • For CLI tools (i.e. kubectl, istioctl, etc). It doesn't make sense to put these inside a .tool-versions file in a repository, since they should be usable globally.
  • If I am developing with a team, I would ideally like to provide everyone a consistent version of these CLI tools. This currently isn't possible on a global level, since this would override users' personal ~/.tool-versions.

Describe the proposed solution

  • Similar to other dotfiles, support a ~/.tool-versions.d folder. All files are combined and the latest version is used in each instance.

Describe similar asdf features and why they are not sufficient

  • There isn't a direct asdf feature for this.

Describe other workarounds you've considered

  • Maintain a script that runs asdf global install X. This is painful, since users have to run it repeatedly.
  • Maintain a custom script that generates a ~/.tool-versions. This is also bespoke.
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

1 participant