-
Notifications
You must be signed in to change notification settings - Fork 320
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Crash on aqua:gitlab.com/gitlab-org/cli install #3310
Comments
perhaps the docs need to be updated but I think you need to specify |
Hmm, not sure how to specify https there.
The aqua registry does have explicit gitlab.com/gitlab-org/cli path for this, I haven't checked if there are any others with the domain in it:
Anyway I thought the crash was the more interesting thing here rather than failure to install (be it due to using a wrong syntax or not). |
oh sorry, I forgot, everything in aqua is hardcoded to github. I hadn't seen anything in there that wasn't using github. In fact it seems this is something handled as a special case because the registry is specified as http: https://github.com/aquaproj/aqua-registry/blob/main/pkgs/gitlab.com/gitlab-org/cli/registry.yaml#L3-L5 I don't think we can support this one unless we also add in similar exceptions |
I think I'm inclined to wait on this one until aqua more formally defines gitlab, other I'd basically need to handle this one package uniquely in the repo in many ways |
That's all fine with me, thanks for considering. Although perhaps the crash could be fixed meanwhile, even if installing the thing would not work.
Just thought I'd note that at least 1password is specified as http in aqua too, but it's not a GitHub thing, and installing it via mise works fine (albeit without automatic remote version info).
|
http is not a problem, using gitlab is since this appears to be the only tool in aqua not using github |
The mentioned |
we don't use either one, and it doesn't appear mise can get the versions for either one |
I'm not sure what "we don't use" means. Anyway, https://mise.jdx.dev/registry.html even explicitly says
So, to highlight the difference and that it does not seem to be about GitHubness:
On the other hand:
|
Tools only "work" in the strictest sense in mise if we can't list the versions. So much of the functionality doesn't work if we can't list versions that I don't really consider something "working" if we can't list them. That's why 1password doesn't use aqua by default. I take your point that something other than listing versions is making this tool not work, but unless we were able to list the versions I wouldn't consider putting it into the registry anyways. |
I agree with version listing availability being a good "gatekeeper" for what gets included in mise's registry. But I hope the general ability to just use something from aqua (or ubi for that matter) no matter if they're in mise's registry or not does not go away or become a coincidence. In some use cases, version listing is entirely moot, and tools are always installed or exec'd by explicit versions, and mise's ability to transparently download them if needed on the fly is very useful. Anyway, we digress -- this bug report is not about version support or whether a tool is supported for one reason or the other, but that in my (not so humble :)) opinion, crashing on something like the reproducer here is not appropriate. Gracefully exiting with a non-zero exit code and a descriptive message would be fine. |
from a practical standpoint, this is the only tool in aqua that uses gitlab. It appears from the aqua registry given the TODO there are plans to more formally support gitlab. I think at that point, once aqua has a |
I don't have an example but I believe there are |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
mise crashes on installing aqua:gitlab.com/gitlab-org/cli.
To Reproduce
mise use -g aqua:gitlab.com/gitlab-org/cli
Expected behavior
No crash,
glab
installed.mise doctor
outputAdditional context
The text was updated successfully, but these errors were encountered: