Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Consume the dep binary from the Paketo dep-server #212

Closed
fg-j opened this issue Jul 9, 2021 · 4 comments
Closed

Consume the dep binary from the Paketo dep-server #212

fg-j opened this issue Jul 9, 2021 · 4 comments
Labels
enhancement A new feature or request status/blocked This issue has been triaged and resolving it is blocked on some other issue
Projects

Comments

@fg-j
Copy link

fg-j commented Jul 9, 2021

Per paketo-buildpacks/dep-server#45, we should start consuming the dep dependency from the dep-server (See https://api.deps.paketo.io/v1/dependency?name=dep for dependency metadata) instead of the https://buildpacks.cloudfoundry.org/dependencies/dep/... 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.

@fg-j fg-j added the enhancement A new feature or request label Jul 9, 2021
@fg-j fg-j added this to Inbox in Go via automation Jul 9, 2021
@fg-j fg-j moved this from Inbox to Ready in Go Jul 9, 2021
@fg-j
Copy link
Author

fg-j commented Jul 9, 2021

This is blocked until the dep server supports the dep dependency. Currently, hitting the dependency API endpoint (https://api.deps.paketo.io/v1/dependency?name=dep) returns an error.

@fg-j fg-j added the status/blocked This issue has been triaged and resolving it is blocked on some other issue label Jul 9, 2021
@sophiewigmore
Copy link
Member

@fg-j I don't actually think that the dep dependency is in the dependency builds pipeline either (probably because it's deprecated by Golang in favour of go modules). It looks like the version of the dependency in the buildpack.toml has not been updated in 12 months, and was last updated by hand. We probably don't need this issue, since we have no reason to poll for new dep versions in the dep-server

@ryanmoran
Copy link
Member

The golang/dep repo has been archived and there will be no future releases. Support for dep only exists as a legacy support mechanism and will be removed once go.mod becomes the only package management mechanism.

@fg-j
Copy link
Author

fg-j commented Jul 13, 2021

In that case, it sounds like we don't actually care to consume dep from the dep-server. Closing for now. Feel free to re-open if I've got the wrong idea here.

@fg-j fg-j closed this as completed Jul 13, 2021
Go automation moved this from Ready to Done Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement A new feature or request status/blocked This issue has been triaged and resolving it is blocked on some other issue
Projects
Go
Done
Development

No branches or pull requests

3 participants