-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Dependency update [lightstep-tracer-go/go-opencensus] #1029
Conversation
/CC @vrazdalovschi |
@@ -1,11 +1,12 @@ | |||
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= | |||
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= |
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.
Did you manually remove this (and other) lines from go.sum, or was it done automatically somehow?
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.
Just go mod tidy
.
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.
Yes, go mod tidy
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.
Strange, I thought go.sum
was append-only.
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.
The checksum database is append only, and go.sum used to be append only, but see golang/go#26381 for when the thought process changed and https://golang.org/ref/mod#go for where it is documented that go mod tidy
removes unnecessary entries.
Also the upgrade button in the go.mod file provided by VS Code. No manual
edits by me though.
…On Mon, Nov 2, 2020, 7:53 PM Peter Bourgon ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In go.sum <#1029 (comment)>:
> @@ -1,11 +1,12 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
Did you manually remove this (and other) lines from go.sum, or was it done
automatically somehow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1029 (review)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIC6Z7V2TKASXB272CEAVLSN5IALANCNFSM4TIDG3GA>
.
|
Sure, although I want to observe that this won't actually fix the problem. Go modules' solving algorithm, MVS, can substitute a given dependency+version with any "compatible" version of that dependency, and "compatibility" under major version 0 is basically "any version".
|
Of course the main module can override anything with a replace in its go.mod. That's what replace is for and outside the scope of anything that we should worry about in the Go kit |
Fixes #1000