-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support for arbitrary URLs? #98
Comments
There's already a |
I would note that at this point I'm not sure that So without the "pick the right thing", it's not much different than |
I just looked a the Elvish site and I thought it was kind of funny that their recommended install mechanism is ...
|
My motivation for opening this issue is to be able to install something like Elvish using the |
I see. Thanks for the context. I've been switching my own projects to I think in this case, it might make more sense to submit a PR to add this to aqua - https://github.com/aquaproj/aqua-registry From what I can see, aqua already supports installing from an arbitrary URL. |
Although looking at aqua more closely, it seems like it only supports one version of a package at a time in its registry, which is a bit odd. |
The benefit of From an end-user perspective, it's odd to me that binaries can only be downloaded from Github or Gitlab. Having knowledge of those platforms to ease installation in most cases is great, but it seems like a natural extension to allow any URL. It already kind of does here, but that fails if you try to use any non-Github URL: $ mise use 'ubi:https://dl.elv.sh/linux-amd64/elvish-v0.21.0.tar.gz'
mise ERROR failed to install ubi:https://dl.elv.sh/linux-amd64/elvish-v0.21.0.tar.gz@latest
mise ERROR Failed to install with ubi 'ubi:https://dl.elv.sh/linux-amd64/elvish-v0.21.0.tar.gz@latest': HTTP status client error (404 Not Found) for url (https://api.github.com/repos/linux-amd64/elvish-v0.21.0.tar.gz/releases/tags/vlatest)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information It also would need to be extended to be more templated, mainly to allow for substitution of the platform name. |
Is there any plan to support arbitrary URLs, alongside Github and Gitlab?
For instance, Elvish has a custom URL structure that would be easy enough to parameterize, but its binaries are self-hosted.
The text was updated successfully, but these errors were encountered: