Skip to content
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

Updated golangci-lint to latest version, which supports Go v.13 #1815

Merged
merged 2 commits into from Sep 10, 2019

Conversation

mhutchinson
Copy link
Contributor

When the same fix is applied to certificate-transparency-go this may allow us to remove the require statements at the bottom of the go.mod file.

@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #1815 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1815   +/-   ##
=======================================
  Coverage   59.63%   59.63%           
=======================================
  Files         110      110           
  Lines       10336    10336           
=======================================
  Hits         6164     6164           
  Misses       3564     3564           
  Partials      608      608

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b422f84...4476492. Read the comment docs.

This removes the transitive dependency on a version of golangci-lint which had a messy go.mod file, which allows the clean up of these requires.
@gdbelvin
Copy link
Contributor

Would you mind including the commands that you ran to produce these changes?

replace github.com/golangci/lint-1 v0.0.0-20180610141402-ee948d087217 => github.com/golangci/lint-1 v0.0.0-20190420132249-ee948d087217

replace mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 => mvdan.cc/unparam v0.0.0-20190209190245-fbb59629db34

replace google.golang.org/genproto v0.0.0-20170818100345-ee236bd376b0 => google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know which dependency has this invalid pseudo-version in their go.mod file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.com/fullstorydev/grpcurl@v1.3.1 requires
github.com/jhump/protoreflect@v1.4.4 requires
google.golang.org/genproto@v0.0.0-20170818100345-ee236bd376b0: invalid pseudo-version: does not match version-control timestamp (2017-08-18T01:03:45Z)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like that was fixed about a month ago: jhump/protoreflect#258

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll upgrade the uber library which has a stale dep. That seems to fix it.

@mhutchinson
Copy link
Contributor Author

Would you mind including the commands that you ran to produce these changes?

It was non-trivial - I had to edit the file. I can try to reproduce it from a fresh client with pure commands if that exercise has value. I was getting surprising errors though; I think go is at least mildly upset we have a dependency cycle between trillian and certificate-transparency-go.

@mhutchinson mhutchinson merged commit fa759d0 into google:master Sep 10, 2019
@mhutchinson mhutchinson deleted the golangci-lint branch September 10, 2019 10:57
RJPercival pushed a commit to RJPercival/trillian that referenced this pull request Oct 31, 2019
…le#1815)

* Updated golangci-lint to latest version, which supports Go v.13

* Updated to latest version of certificate-transparency-go and cleaned up

This removes the transitive dependency on a version of golangci-lint which had a messy go.mod file, which allows the clean up of these requires.
RJPercival pushed a commit to RJPercival/trillian that referenced this pull request Oct 31, 2019
…le#1815)

* Updated golangci-lint to latest version, which supports Go v.13

* Updated to latest version of certificate-transparency-go and cleaned up

This removes the transitive dependency on a version of golangci-lint which had a messy go.mod file, which allows the clean up of these requires.
RJPercival pushed a commit that referenced this pull request Oct 31, 2019
* Updated golangci-lint to latest version, which supports Go v.13

* Updated to latest version of certificate-transparency-go and cleaned up

This removes the transitive dependency on a version of golangci-lint which had a messy go.mod file, which allows the clean up of these requires.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants