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

Update speed library #1177

Merged
merged 1 commit into from Sep 16, 2021
Merged

Conversation

sagikazarmark
Copy link
Contributor

Related #1127

Fixes #1176

@sagikazarmark sagikazarmark added this to the v0.12.0 milestone Aug 19, 2021
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
@@ -521,4 +554,5 @@ gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
Copy link
Member

Choose a reason for hiding this comment

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

Why is this here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

❯ go mod graph | grep rsc.io/pdf
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b rsc.io/pdf@v0.1.1
❯ go mod graph | grep gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b
gonum.org/v1/gonum@v0.8.2 gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b github.com/ajstarks/svgo@v0.0.0-20180226025133-644b8db467af
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b github.com/fogleman/gg@v1.2.1-0.20190220221249-0403632d5b90
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b github.com/golang/freetype@v0.0.0-20170609003504-e2365dfdc4a0
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b github.com/jung-kurt/gofpdf@v1.0.3-0.20190309125859-24315acbbda5
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b golang.org/x/exp@v0.0.0-20180807140117-3d87b88a115f
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b golang.org/x/image@v0.0.0-20180708004352-c73c2afc3b81
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b gonum.org/v1/gonum@v0.0.0-20180816165407-929014505bf4
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b rsc.io/pdf@v0.1.1
❯ go mod graph | grep gonum.org/v1/gonum@v0.8.2
github.com/HdrHistogram/hdrhistogram-go@v1.1.0 gonum.org/v1/gonum@v0.8.2
gonum.org/v1/gonum@v0.8.2 golang.org/x/exp@v0.0.0-20190125153040-c74c464bbbf2
gonum.org/v1/gonum@v0.8.2 golang.org/x/tools@v0.0.0-20190206041539-40960b6deb8e
gonum.org/v1/gonum@v0.8.2 gonum.org/v1/netlib@v0.0.0-20190313105609-8cb42192e0e0
gonum.org/v1/gonum@v0.8.2 gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b

The new histogram library requires it (indirectly) for some reason, but since it's only the mod file I doubt it ever gets used by any code path that Go kit uses.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Quick search shows it's only imported in a test: https://github.com/HdrHistogram/hdrhistogram-go/search?q=gonum

God, I hate Go for this.

@@ -9,6 +13,7 @@ github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrd
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 h1:rFw4nCn9iMW+Vajsk51NtYIcwSTkXr+JGrMd36kTDJw=
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
Copy link
Member

Choose a reason for hiding this comment

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

Why is this here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

❯ go mod graph | grep github.com/ajstarks/svgo
gonum.org/v1/plot@v0.0.0-20190515093506-e2840ee46a6b github.com/ajstarks/svgo@v0.0.0-20180226025133-644b8db467af

Same answer as above.

@sagikazarmark
Copy link
Contributor Author

@peterbourgon I don't think the added entries in go.sum is a problem. Since they are just checksums for the the mod files, not the libraries themselves, Go only downloads the mod files for these transitive dependencies, but they are never compiled into the end result.

I agree that this is confusing, irritating to see even, but that's how Go modules work today. :\

@sagikazarmark sagikazarmark merged commit e7eea80 into go-kit:master Sep 16, 2021
@sagikazarmark sagikazarmark deleted the update-speed branch September 16, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

codahale/hdrhistogram repo url has been transferred under the github HdrHstogram umbrella
2 participants