-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Adding instructions on how to use "dep" to get client-go v3.0.0-beta.0 in INSTALL.md #182
Adding instructions on how to use "dep" to get client-go v3.0.0-beta.0 in INSTALL.md #182
Conversation
$ dep ensure k8s.io/[email protected] | ||
# Unfortunately dep doesn't interpret client-go/Godeps/Godeps.json, so you need | ||
to manually checkout the compatible k8s.io/apimachinery version: | ||
$ dep ensure k8s.io/apimachinery@75b8dd260ef0469d96d578705a87cffd0e09dab8 |
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.
i checked out 72e51762028fdf72f1a20e59bedceece02a425c6.
but i see errors like
scheme.AddDefaultingFuncs undefined (type *runtime.Scheme has no field or method AddDefaultingFuncs)
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.
also both apimachinery and master are broken.
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.
hmm... it seems working now after i got every deps flattened.
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.
Looks like dep doesn't remove nested "vendor" directories golang/dep#120
@caesarxuchao the changes look good to me. I like that you added "experimental" to the dep instructions :) |
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.
Seems fine to mark it experimental.
# If you want to use client-go v3.0.0-beta.0: | ||
$ dep ensure k8s.io/[email protected] | ||
# Unfortunately dep doesn't interpret client-go/Godeps/Godeps.json, so you need | ||
to manually checkout the compatible k8s.io/apimachinery version: |
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.
Nit: prefix with "#"
$ dep ensure k8s.io/[email protected] | ||
# Unfortunately dep doesn't interpret client-go/Godeps/Godeps.json, so you need | ||
to manually checkout the compatible k8s.io/apimachinery version: | ||
$ dep ensure k8s.io/apimachinery@75b8dd260ef0469d96d578705a87cffd0e09dab8 |
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.
Looks like dep doesn't remove nested "vendor" directories golang/dep#120
bug 1949306: regenerate client-go for api
dep
doesn't interpret Godeps.json, so we need to manually checkout the compatible version of apimachinery.I don't want to check in the manifest/lock files of
dep
, as the format is not stable. In fact, the README of dep suggests not checking in these files.Alternative to this PR, perhaps we should remove
dep
from INSTALL.md until it becomes beta? @cscatolini @ericchiang @mbohlool @lavalamp what do you think?