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

Stop checking upgrades for clickhouse-go/v2 #5086

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

heanlan
Copy link
Contributor

@heanlan heanlan commented Jun 6, 2023

We stop auto-upgrade from Dependabot on the package as it will involve dependency conflicts. We should upgrade the package manually when needed.

@@ -16,6 +16,7 @@ updates:
- dependency-name: "github.com/aws/*" # updates are too frequent
- dependency-name: "antrea.io/ofnet"
- dependency-name: "antrea.io/libOpenflow"
- dependency-name: "github.com/ClickHouse/clickhouse-go/v2" # auto-upgrade involves dependency conflicts
Copy link
Contributor

Choose a reason for hiding this comment

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

I think /v2 can be removed? @antoninbas

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure actually. Because of how it works in Go, the v2 is actually part of the module name: https://github.com/ClickHouse/clickhouse-go/blob/f5051e3d27e9f795670d76b203717958f0f1a536/go.mod#L1

There isn't exactly a lot of information in the dependabot documentation...

If we do remove it, we may need a wildcard?

I am happy with keeping the dependency name as it is. I feel like we could add update-types: ["version-update:semver-major", "version-update:semver-minor"] so we still potentially get patches. ("version-update:semver-major" would not really have an effect 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.

update-types added

We stop auto-upgrade from Dependabot on the package as it will
involve dependency conflicts. We should upgrade the package
manually when needed.

Signed-off-by: heanlan <[email protected]>
@antoninbas
Copy link
Contributor

/skip-all

@antoninbas antoninbas merged commit c003098 into antrea-io:main Jun 7, 2023
@heanlan heanlan deleted the add-ch-to-dependabot branch June 7, 2023 16:25
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