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

deps: update influxdb #26928

Closed
wants to merge 1 commit into from
Closed

deps: update influxdb #26928

wants to merge 1 commit into from

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Mar 20, 2023

While investigating #26926 , to see what it is that pulls in golang.org/x/net@0.4.0, I noticed that out influx dependency is very old, at v1.8.3 when the latest is v1.11.0.

Updates since

It just continues. There's a lot of fixes. After a while, they stopped making big 'releases', and just did the "tag and done", e.g. v1.10.0 release: https://github.com/influxdata/influxdb/releases/tag/v1.10.0 and 11: https://github.com/influxdata/influxdb/releases/tag/v1.11.0

And no, this PR still does not update golang.org./x/net

@karalabe karalabe added this to the 1.11.6 milestone Mar 20, 2023
@karalabe
Copy link
Member

Seems our old dependency pulled in the entire influxdb repo because back then the client was embedded inside. Since then the client is it's separate project and we should switch over to depending on that only.

To make things more fun however, this is the client for Influx 2 (and maybe 1.8 and above) https://github.com/influxdata/influxdb-client-go and this is for below that https://github.com/influxdata/influxdb1-client

I'm unsure which we would need to use honestly. Nor whether we should use both and somehow dynamically switch (based on what?). It might also screw up the flags if authentication changes.

@holiman
Copy link
Contributor Author

holiman commented Mar 21, 2023

Ha,

  • github.com/influxdata/influxdb1-client/v2 -- this is for Influx v1
  • github.com/influxdata/influxdb-client-go -- this is for Influx v2

@holiman
Copy link
Contributor Author

holiman commented Mar 21, 2023

I'll close this and try a different attempt

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.

2 participants