Skip to content

Conversation

olivielpeau
Copy link
Member

@olivielpeau olivielpeau commented May 6, 2020

What does this PR do?

Changes the go.mod consistency check so that it actually checks the consistency of go.mod against the project imports.

Motivation

Avoid inconsistencies between project imports and go.mod file, as noticed on #5447 (which removed a couple of packages from go.mod that weren't related to PR changes)

Additional Notes

See https://tip.golang.org/cmd/go/#hdr-Maintaining_module_requirements

Testing

The check fails on the commit of the PR (because it doesn't include #5447).

With master (which now includes #5447) merged into this PR, the check should pass.

@olivielpeau olivielpeau added [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead.. changelog/no-changelog labels May 6, 2020
@olivielpeau olivielpeau added this to the 7.20.0 milestone May 6, 2020
@olivielpeau olivielpeau requested a review from clamoriniere May 6, 2020 18:48
@olivielpeau olivielpeau requested a review from a team as a code owner May 6, 2020 18:48
@olivielpeau olivielpeau force-pushed the olivielpeau/go-mod-check branch from a058a6a to 9d48462 Compare May 6, 2020 18:49
@olivielpeau olivielpeau merged commit fb1a191 into master May 11, 2020
@olivielpeau olivielpeau deleted the olivielpeau/go-mod-check branch May 11, 2020 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog [deprecated] team/agent-core Deprecated. Use metrics-logs / shared-components labels instead..
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants