-
Notifications
You must be signed in to change notification settings - Fork 867
Ability to specify a different default plugins repository #952
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
Comments
This is preferred behaviour as it is explicit and users are informed that plugins are merely git repos and not magic of asdf. I think this should be a setting. I would like to note that the plugin repo format is subject to change which would require updates to external plugin repos. |
Yes I believe .asdfrc is a good place for it. The repository URL could be printed alongside the current logs to ease debug and avoid people reporting issues when using a custom repository. Lines 393 to 410 in 3237167
As to the repo format, that would mean format update need to be documented so that plugin repository operators can update the format accordingly. |
Yes, that is a good suggestion.
Yes, we should document it when we get to a stable release. Adding this as a configurable option would mean we are essentially expanding an API scope. We are using semver and on version |
After thinking about this more I don't think the idea of custom plugins repo is a good idea.
This is the preferred user flow. The plugin repo only saves users typing/copy-pasting the
If I have misunderstood the benefits of the short-name plugin repo, please share. Each day I sour more on the plugin repo. |
I am closing this as We're going to explore plugin search of remote VCS (GitHub/GitLab/BitBucket) which would supplant this request as we could allow people to define the list of remotes for internal/private VCS platforms. |
Agree with @jthegedus. I understand how not having this feature make be an inconvenience but I think it isn't worth adding another feature to asdf to support this since the only thing it really does it allow the user to skip specifying the repo URL. I personally think I also don't think the plugin repository has been worth the contributor time that has been put into it. A simple GitHub or Google search for |
Is your feature request related to a problem? Please describe.
Imagine a workplace where plugins should be internalized to assume full control before being usable. Users should only install these vetted plugins. Currently, users have to specify a custom plugin URL for each of these plugins.
Describe the solution you'd like
I'd like to be able to change the default repository URL for plugins, currently located in
asdf/lib/utils.bash
Lines 35 to 37 in 0a3865d
Describe similar asdf features and why they are not sufficient
The plugin list may list plugins that are actually not allowed.
Additional context
It could be a setting in the .asdfrc.
Thanks,
The text was updated successfully, but these errors were encountered: