-
Notifications
You must be signed in to change notification settings - Fork 615
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
Fix protobuf's inconsistent dependency #2283
Conversation
This is strange, CI is complaining that it's vendoring check is seeing the older (current
But when I run
|
The expected versions of these files are:
|
I'm not confused, the diff here really is missing that first hunk to |
I ran diff --git a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go b/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go
index 9779cb3f..ae159414 100644
--- a/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go
+++ b/vendor/github.com/golang/protobuf/ptypes/empty/empty.pb.go
@@ -1,6 +1,5 @@
-// Code generated by protoc-gen-go.
+// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/golang/protobuf/ptypes/empty/empty.proto
-// DO NOT EDIT!
/*
Package empty is a generated protocol buffer package. |
That's exactly what I see too when I run |
Signed-off-by: Ali Yousuf <aly.yousuf7@gmail.com>
0313e42
to
7c5e988
Compare
Pushed the diff. And it passed the |
Excellent, LGTM. Thanks for sorting this out, I'm still rather mystified about the whole thing but I'll learn to live with it. |
Codecov Report
@@ Coverage Diff @@
## master #2283 +/- ##
=========================================
+ Coverage 60.4% 60.4% +<.01%
=========================================
Files 125 125
Lines 20394 20394
=========================================
+ Hits 12318 12320 +2
- Misses 6682 6686 +4
+ Partials 1394 1388 -6 |
This is interesting. I'd like to understand why CI passed in #2229 (https://circleci.com/gh/docker/swarmkit/7361). I wonder if there's a bug in the |
#2229 didn't use this The package was added to the vendor directory when containerd dependencies were added. It must have been vendored from the earlier version. Then when this was merged, it made the LGTM |
Thanks for figuring it out, I'll sleep a little better! |
- moby/swarmkit#2266 (support for templating Node.Hostname in docker executor) - moby/swarmkit#2281 (change restore action on objects to be update, not delete/create) - moby/swarmkit#2285 (extend watch queue with timeout and size limit) - moby/swarmkit#2253 (version-aware failure tracking in the scheduler) - moby/swarmkit#2275 (update containerd and port executor to container client library) - moby/swarmkit#2292 (rename some generic resources) - moby/swarmkit#2300 (limit the size of the external CA response) - moby/swarmkit#2301 (delete global tasks when the node running them is deleted) Minor cleanups, dependency bumps, and vendoring: - moby/swarmkit#2271 - moby/swarmkit#2279 - moby/swarmkit#2283 - moby/swarmkit#2282 - moby/swarmkit#2274 - moby/swarmkit#2296 (dependency bump of etcd, go-winio) Signed-off-by: Ying Li <ying.li@docker.com> Upstream-commit: 4509a00 Component: engine
- moby/swarmkit#2266 (support for templating Node.Hostname in docker executor) - moby/swarmkit#2281 (change restore action on objects to be update, not delete/create) - moby/swarmkit#2285 (extend watch queue with timeout and size limit) - moby/swarmkit#2253 (version-aware failure tracking in the scheduler) - moby/swarmkit#2275 (update containerd and port executor to container client library) - moby/swarmkit#2292 (rename some generic resources) - moby/swarmkit#2300 (limit the size of the external CA response) - moby/swarmkit#2301 (delete global tasks when the node running them is deleted) Minor cleanups, dependency bumps, and vendoring: - moby/swarmkit#2271 - moby/swarmkit#2279 - moby/swarmkit#2283 - moby/swarmkit#2282 - moby/swarmkit#2274 - moby/swarmkit#2296 (dependency bump of etcd, go-winio) Signed-off-by: Ying Li <ying.li@docker.com> Upstream-commit: 4509a00 Component: engine
I started getting "inconsistent dependency" errors in CI: https://circleci.com/gh/docker/swarmkit/7532
I guess some of the files were missed while revendoring in #2229.
The committed differences were found in
vendor/github.com/golang/protobuf
after runningmake dep-validate
.Signed-off-by: Ali Yousuf aly.yousuf7@gmail.com