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

Handling of latest tag on latest version seems to result in a curl failure. #1

Open
dalarche-te opened this issue Aug 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dalarche-te
Copy link

Describe the bug

Unexpected curl failure when installing using "latest:1.34.2"

curl: (56) HTTP server doesn't seem to support byte ranges. Cannot resume.

This failure doesn't occur when installing "latest:1.34.1"

May not be a bug. Intended usage of "latest:version" is something more like this

asdf install protoc-gen-go latest:1.34

  • Downloading protoc-gen-go release 1.34.2...
    protoc-gen-go 1.34.2 installation was successful!

But found it strange it worked for 1.34.1 and not .2 so thought it might indicate a bug.

Steps to reproduce

asdf plugin add protoc-gen-go
asdf install protoc-gen-go latest:1.34.2
# console-out: * Downloading protoc-gen-go release 1.34.2...
# console-out: curl: (56) HTTP server doesn't seem to support byte ranges. Cannot resume.
# console-out: asdf-protoc-gen-go: Could not download https://github.com/protocolbuffers/protobuf-go/archive/v1.34.2.tar.gz
asdf install protoc-gen-go latest:1.34.1
# console-out: * Downloading protoc-gen-go release 1.34.1...
# console-out: protoc-gen-go 1.34.1 installation was successful!
asdf list protoc-gen-go
# console-out:  1.34.1
asdf install protoc-gen-go latest       
# console-out: * Downloading protoc-gen-go release 1.34.2...
# console-out: protoc-gen-go 1.34.2 installation was successful!
asdf uninstall protoc-gen-go 1.34.2
asdf install protoc-gen-go 1.34.2  
# console-out: * Downloading protoc-gen-go release 1.34.2...
# console-out: protoc-gen-go 1.34.2 installation was successful!

Expected behavior

asdf plugin add protoc-gen-go
asdf install protoc-gen-go latest:1.34.2  
# console-out: * Downloading protoc-gen-go release 1.34.2...
# console-out: protoc-gen-go 1.34.2 installation was successful!

Screenshots

Additional context

@dalarche-te dalarche-te added the bug Something isn't working label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant