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 <[email protected]>
@@ -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

@sagikazarmark sagikazarmark Aug 19, 2021

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/[email protected] rsc.io/[email protected]
❯ go mod graph | grep gonum.org/v1/[email protected]
gonum.org/v1/[email protected] gonum.org/v1/[email protected]
gonum.org/v1/[email protected] github.com/ajstarks/[email protected]
gonum.org/v1/[email protected] github.com/fogleman/[email protected]
gonum.org/v1/[email protected] github.com/golang/[email protected]
gonum.org/v1/[email protected] github.com/jung-kurt/[email protected]
gonum.org/v1/[email protected] golang.org/x/[email protected]
gonum.org/v1/[email protected] golang.org/x/[email protected]
gonum.org/v1/[email protected] gonum.org/v1/[email protected]
gonum.org/v1/[email protected] rsc.io/[email protected]
❯ go mod graph | grep gonum.org/v1/[email protected]
github.com/HdrHistogram/[email protected] gonum.org/v1/[email protected]
gonum.org/v1/[email protected] golang.org/x/[email protected]
gonum.org/v1/[email protected] golang.org/x/[email protected]
gonum.org/v1/[email protected] gonum.org/v1/[email protected]
gonum.org/v1/[email protected] gonum.org/v1/[email protected]

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/[email protected] github.com/ajstarks/[email protected]

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