This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Migrate dependency management to Go modules #2083
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also, make everything work if `$GOBIN` is defined
Close, but no cigar :( kubernetes/kubernetes#67566 |
lolk8s :-( |
Huhm, there seems to be a solution https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module |
2opremio
changed the title
Move to Go modules from dep
Migrate dependency management to Go modules
May 23, 2019
The build time goes down to 8.5 minutes since, unlike |
hiddeco
approved these changes
May 24, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cloned the project somewhere outside $GOPATH
and checked out your branch, ran make
, make test
and make e2e
, and everything seems to work. 💯
Great, you can actually stop defining GOPATH altogether |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Also:
$GOBIN
work$GOPATH
is not required anymore. @hiddeco @squaremo @stefanprodan make sure to move your Flux outside of$GOPATH
once this is merged (the alternative is to prepend every singlego
invocation byGO111MODULE=on
which I ended up discarding)