-
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
Consume the Go dependency from the Paketo dep server #280
Comments
Attempting to complete this issue, the Taking a look at the metadata on the API endpoint (https://api.deps.paketo.io/v1/dependency?name=go), we can see that the
This issue is blocked until either a) jam is patched to allow for this type of version or b) the dep server changes its versioning for this dependency. |
@sophiewigmore Do you have context on why the versions of the Go dependency aren't semver in the dep server? |
I'm assuming it wasn't intentional. The version retrieval code just reaches out and grabs whatever metadata it can from https://golang.org/doc/devel/release.html, and the versions there are just formatted like that. I will add something to get the versions into a semver compliant format when they get published. Thanks for finding this! |
The semver version issue is discussed in paketo-buildpacks/dep-server#53 . This will be unblocked once that issue is addressed. |
@fg-j the versions in the dep-server are now semantic versioned and will continue to be as new versions come out |
part of switch to dep server paketo-buildpacks/go-dist#280
Per paketo-buildpacks/dep-server#45, we should start consuming the Go runtime dependency from the dep-server (See https://api.deps.paketo.io/v1/dependency?name=go for example dependency URIs) instead of the https://buildpacks.cloudfoundry.org/dependencies/go/... location we currently get the dependencies from.
This will make the dependency publishing/consumption process more transparent than the process we use for the dependencies available via the dependency-builds pipeline.
We have already done this switch-over in the Node Engine and Yarn Buildpacks. The outline of what this work will entail can be found in the dep-server issue linked at the top.
The text was updated successfully, but these errors were encountered: