-
Notifications
You must be signed in to change notification settings - Fork 35
Conversation
Switches cppforlive/go-patch → SUSE/go-patch, which has been updated with support for qcopy and qmove ops. There is still a residual indirect reference to cppforlive/go-patch from the bosh-cli module: $ go mod why -m github.com/cppforlife/go-patch # github.com/cppforlife/go-patch code.cloudfoundry.org/cf-operator/pkg/bosh/manifest github.com/cloudfoundry/bosh-cli/director/template github.com/cppforlife/go-patch/patch go.sum has been pruned via `go mod tidy`.
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/172594552 The labels on this github issue will be updated when the story is started. |
I still don't understand how the Go tools could not figure this out themselves. Seems like a serious flaw is hiding in the whole version management somewhere.
I had to manually bump the I can see that the previous dependency on - github.com/cppforlife/go-patch v0.0.0-20171006213518-250da0e0e68c
+ github.com/cppforlife/go-patch v0.2.0 // indirect The cppforlife/go-patch@250da0e0e68c commit corresponds to I would be grateful if somebody could explain to me what is going on here. Not being able to trust the dependency manager produces so much anxiety... |
In such case we could use go mod For the pinning issue, which golang version are you using locally? I've experienced similar issues with |
Maybe, but I found golang/go#30354:
So now I'm not sure if this is the right thing to do here or not. I assume the
I've been using 1.14.2. I would be suspicious of the Google man-in-the-middle service being out-of-date because it also didn't pick up on the new
But then the I also find it somewhat disturbing that the service only starts indexing the new tag once I tell it that it is a private module, but that could be a coincidence, or some local Go module caching interference? #include <rant about the Go tools being so brittle and unpredictable> here 😦 |
|
Fixes #900.
Switches
cppforlive/go-patch
→SUSE/go-patch
, which has been updated with support forqcopy
andqmove
ops.There is still a residual indirect reference to
cppforlive/go-patch
from thebosh-cli
module:I believe the
bosh-cli
is only used for variable interpolation, but not for ops file application. If this understanding is wrong, then this PR may be incomplete.go.sum
has been pruned viago mod tidy
.