-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Remove glide and switch it to dep #380
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
Remove glide and switch it to dep #380
Conversation
|
|
|
While I like the
So we may want to stick with Glide until we can bump to Go 1.11 here (which we may be able to do already? openshift/release#1365). |
|
@wking Also there is not a reason to believe that we can vendor kubernetes libraries with experimental go mod in go1.11. kubernetes/kubernetes#63607 |
Yeah, I'm not arguing Glide vs.
This issues seems to be about Kubernetes supporting modules cleanly. Which would be awesome. But in the meantime, I expect we can pin to specific commits. For example, see this in my very-WIP go-modules branch from my initial poking around back in August.
No, but the Go folks have committed to forward compat. So I don't have enough experience with the modules approach to know if it will work out or not. But I'm not yet convinced it's not workable ;). |
|
I see the following when I run |
|
I'm in favor of switch to dep, even if we end up switching to go modules relatively soon. |
e118612 to
4218940
Compare
4218940 to
68e2f91
Compare
68e2f91 to
f289bcf
Compare
$ rm -rf tests $ dep init // edit Gopkg.toml ```toml [prune] non-go = true go-tests = true unused-packages = true ``` $ dep ensure
$ dep init // edit Gopkg.toml ```toml [prune] non-go = true go-tests = true unused-packages = true ``` $ dep ensure
f289bcf to
3171d02
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, crawford The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
These escaped the great purge of 0c6d53b (*: remove bazel, 2018-09-24, openshift#342). kubernetes/BUILD.bazel snuck in with 70ea0e8 (tests/smoke/vendor: switch from glide to dep, 2018-09-28, openshift#380), and tectonic/BUILD.bazel snuck in with e2d9fd3 (manifests: make tectonic/ flat dir, 2018-09-25, openshift#330). I'd guess both were due to rebases from commits originally made before openshift#342 landed.
This reverts commit 8ff1cee (2018-09-28, openshift#370). We moved from Glide to dep in 1f45543 (vendor: switch from glide to dep, 2018-09-28, openshift#380), so we no longer need to worry about yamllint vs. Glide.yaml.
From https://github.com/Masterminds/glide#golang-dep
vendordirectoryvendorintests/smoke