-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Try removing replace directives from go.mod. #30651
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjwagner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -35,6 +21,10 @@ require ( | |||
github.com/bazelbuild/buildtools v0.0.0-20200922170545-10384511ce98 | |||
github.com/blang/semver/v4 v4.0.0 | |||
github.com/bwmarrin/snowflake v0.0.0 | |||
// Upstream is unmaintained. This fork introduces two important changes: |
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.
Can you check that running make update-go-deps
does not erase these comments?
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 tried locally and it didn't change any files. 👍
@@ -35,6 +21,10 @@ require ( | |||
github.com/bazelbuild/buildtools v0.0.0-20200922170545-10384511ce98 | |||
github.com/blang/semver/v4 v4.0.0 | |||
github.com/bwmarrin/snowflake v0.0.0 | |||
// Upstream is unmaintained. This fork introduces two important changes: | |||
// * We log an error if writing a cache key fails (e.G. because disk is full) |
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: e.g.
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.
Oops forgot to fix this. I've addressed it in the next PR.
Looks like just a handful of unit tests fail. In your next update, apart from fixing the broken tests, could you also link to golang/go#44840 (comment) in your commit message description? |
7d5a4e6
to
2a4ffa1
Compare
I just removed the failing unit test cases for the |
c608f40
to
38b5984
Compare
Looks like the update I made to the AKS sdk is affected by the breaking changes. We'll need to follow the migration guide here to remove that replace directive. |
@cjwagner Sure. I'll try to update kubetest. |
See golang/go#44840 (comment) for why these are problematic for 'go install' and 'go get'.
38b5984
to
abe3067
Compare
I looked for a changelog describing when these lints were deprecated, but I couldn't find anything. Other lints are still working so /shrug.
abe3067
to
f18b3ce
Compare
Thanks @droslean! |
/lgtm |
I'm not sure if this will work, but it would be really nice to get rid of the
replace
directives in our go.mod file so that we cango get
andgo install
packages from this repo./cc @listx