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 dependencies #862

Merged
merged 3 commits into from
Nov 14, 2021
Merged

Update dependencies #862

merged 3 commits into from
Nov 14, 2021

Conversation

breed808
Copy link
Contributor

@breed808 breed808 commented Nov 5, 2021

Update project dependencies, notably go-kit/kit, which was responsible for a number of out-of-date dependencies.

@breed808 breed808 requested a review from a team as a code owner November 5, 2021 08:27
External log package has been extracted to a separate external
repository and module.

Signed-off-by: Ben Reedy <breed808@breed808.com>
Signed-off-by: Ben Reedy <breed808@breed808.com>
Signed-off-by: Ben Reedy <breed808@breed808.com>
@jsturtevant
Copy link
Contributor

There are others that are out of date too (hcsshim as example)? Should those be updated too?

@carlpett
Copy link
Collaborator

carlpett commented Nov 5, 2021

It's a good point, but perhaps we can do that as a separate PR? This one to bump the "prometheus-shared", then others for other bits. Makes it somewhat easier to understand what broke, if anything does :)

@jsturtevant
Copy link
Contributor

makes sense! I was also wondering about the go version. The mod file specifies 1.13:

go 1.13

@breed808
Copy link
Contributor Author

breed808 commented Nov 5, 2021

I had intended a separate PR to propose adding Dependabot to the project to semi-automate dependency updating.

I missed the hcsshim dependencies (and likely others), I don't mind adding them here or in another PR.

Docs for the go.mod file state the version is a minimum version:

The minimum version of Go required to compile packages in this module

So my thinking was to leave it at 1.13 rather than arbitrarily increasing the version requirement. Happy to be wrong about this though!

@jsturtevant
Copy link
Contributor

So my thinking was to leave it at 1.13 rather than arbitrarily increasing the version requirement. Happy to be wrong about this though!

thanks for the explanation, I was looking for the correct golang version to build it in for #864 and noticed this

@jsturtevant
Copy link
Contributor

lgtm

@breed808 breed808 merged commit f8b6260 into prometheus-community:master Nov 14, 2021
@breed808 breed808 deleted the dependencies branch November 14, 2021 01:33
anubhavg-icpl pushed a commit to anubhavg-icpl/windows_exporter that referenced this pull request Sep 22, 2024
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.

3 participants