-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
genericapiserver: cut off more dependencies – episode 3 #40426
genericapiserver: cut off more dependencies – episode 3 #40426
Conversation
|
@deads2k api/resource: I left a copy to make the cyclic appc/spec dep working. When appc is updated, we can delete that. |
Will take another look at "move semantic", good point. |
Once this merges you'll make the pull upstream? After this merges, update the package to be .readonly. Also, can you remove everything but what appc is using? |
Yes, will create a PR upstream to change the dependency. |
Thanks ! For the record we need this to import dependencies transitively from the scheduler into other projects. |
@jayunit100 upstream already removed the dependency by copying our Quantity implementation. So I will bump the godep. |
dfe9fd8
to
31d0fbf
Compare
31d0fbf
to
aeb9cc6
Compare
be75dd9
to
c23b8ad
Compare
@deads2k semantic equality belongs into a scheme, I agree. Right now, it is independent from any scheme, but of course the equality funcs are fixed. Follow-up ok? |
@deads2k appc/spec is bumped to the latest version, which cuts the cyclic dependency. Godep still complains if |
e37f38e
to
44ea6b3
Compare
@k8s-bot test this |
@deads2k ptal |
lgtm |
api.Semantic should be per scheme eventually. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue |
Posthumous comment: You should probably update the appc/spec dependencies added here to point to a tagged release commit the next time one is made, as this set the dependency to a commit between releases. |
Automatic merge from submit-queue (batch tested with PRs 40798, 40658) genericapiserver: cut off more dependencies – episode 4 Follow-up of #40426. TODO: - [x] resync client-go before "genericapiserver: cutting off pkg/api deps" when #40426 went in and mirror repos are synched. approved based on #40363
Automatic merge from submit-queue genericapiserver: cut off more dependencies – episode 3 Compare commit subjects. This is the first step to get `apiserver_test.go` and `watch_test.go` in `pkg/genericapiserver/endpoints` cutoff from k8s.io/kubernetes dependencies. After this we have to sync client-go and then "episode 4" can go in. approved based on kubernetes#40363
Automatic merge from submit-queue pkg/util: move httpstream to k8s.io/apimachinery pick one commit from @sttts's pull kubernetes/kubernetes#40426 This blocks some client-go splitting, so I'm picking it out and merging it separately. It's not my commit, so its not a self-lgtm in that sense. approved based on kubernetes/kubernetes#40363 Kubernetes-commit: 4bba6105657a8b7a46adf67140cb4065fff1885e
Automatic merge from submit-queue (batch tested with PRs 40798, 40658) genericapiserver: cut off more dependencies – episode 4 Follow-up of kubernetes/kubernetes#40426. TODO: - [x] resync client-go before "genericapiserver: cutting off pkg/api deps" when #40426 went in and mirror repos are synched. approved based on #40363 Kubernetes-commit: 056728067d762d7a7a673b2039f90529e68b78f9
Compare commit subjects.
This is the first step to get
apiserver_test.go
andwatch_test.go
inpkg/genericapiserver/endpoints
cutoff from k8s.io/kubernetes dependencies.After this we have to sync client-go and then "episode 4" can go in.
approved based on #40363