-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add go.mod file to define dependencies #97
Conversation
The work to turn diego's component to a real go module is a bit more involved. Check out this branch from 3 years ago we have a circular dependency problem where each components brings in other non-go-moded component. In order to truly accomplish this we need to convert each components to be independent. Above branch shows the work involved just to de-couple bbs from locket. I am happy to open a diego-release issue and assign different tasks if folks from your team are interested in doing this work. My estimate is that this is a quite significant undertaking. |
The problem is that the current state is kind of broken, isn't it? It cannot be installed anymore with What is the alternative? Having proper releases might be an alternative. What is the plan? |
If you'd like to install the binary,
If you interested in solving the problem of removing the circular-dependency so |
I've gone ahead and created an issue on diego-release so that the community has a chance for contributing. Closing this issue. |
We are not using What is the downside of adding a It would a) Allow the repo to be built independently |
I am not sure what you mean by "using bosh". The
This will break the diego-release, since it's using a path based module import to use this repositories. |
We do have long term plans to change the way we go mod'd our release, but at this time we're in a bit of a tangled web. Putting a go.mod on this repo would have consequences elsewhere in a way that we're not fully ready to deal with yet. We understand this is not an ideal scenario. |
Summary
To install the
bbs
cli, we callgo install code.cloudfoundry.org/locket/cmd/bbs@latest
. But currently this is not possible because the dependencies are not managed. Adding ago.mod
and ago.sum
file will define the used dependencies.Backward Compatibility
Breaking Change? No