-
Notifications
You must be signed in to change notification settings - Fork 790
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
Allow configuring asdf
to use a custom plugin repository
#1194
Comments
Though I know this doesn't entirely solve the issue, you can already provide your own Git URL to a plugin without having to go through the centralized repo. See here. The docs even suggest always using the long method to avoid reliance on the central repo. |
This is true, but my specific use case includes being able to specify Of course, it would be fairly trivial to |
This might interest you too :) #240 (comment) |
Please read #952 (comment) We don't particularly like the plugin repo solution and want to move away from it. Making it configurable turns it into a public API which it wasn't designed for and we don't want to do.
I am inclined to close this as it has been discussed and closed before and our position has not changed. |
TBH my biggest problem with I still think there's a strong use case in high security/air-gapped environments to only allow short-name plugins from a pre-approved/security vetted "plugin repo" list, but if it's not part of the intended long term road map, obviously you can close this. Thanks for the replies. 👍 |
You could have a single internal repo at an org that is used as the approved, high-security plugin repo, you would just need to use |
Discoverability is an area of improvement without the plugin repo, but I assure you this will be a primary concern with any alternative solutions. However, we do not intend to make the plugin repo an public API. I will close as with #952 |
#1227 added support to disable the plugin repo for those who wish to force explicit use of |
Is your feature request related to a problem? Please describe
Yes, right now
asdf
has hard coded the plugin repository which maps names to repository URLs.https://github.com/asdf-vm/asdf/blob/master/lib/utils.bash#L36
This means it cannot be used in high-security or airgapped environments.
Describe the proposed solution
Allowing the plugin repository to be configured through environment variable would be trivial, or perhaps through a new setting in
~/.asdfrc
.Describe similar
asdf
features and why they are not sufficientN/A
Describe other workarounds you've considered
Create a fork of
asdf-vm/asdf
and edit it directly.The text was updated successfully, but these errors were encountered: