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: Use internal/tools for tools rather than install from Makefile #1698

Merged
merged 10 commits into from
Jun 25, 2024

Conversation

dpaasman00
Copy link
Contributor

Proposed Change

Updating OTel to v0.103.0 introduces a breaking change in code that mdatagen generates. We've put off updating mdatagen for a while now because doing so caused issues but now we are forced to update it to pull in the new OTel update. In order to update mdatagen (will be done in PR after this one) we need to change how we handle tools.

Checklist
  • Changes are tested
  • CI has passed

Makefile Outdated Show resolved Hide resolved
internal/tools/go.mod Outdated Show resolved Hide resolved
go.mod Show resolved Hide resolved
Copy link
Member

@jsirianni jsirianni left a comment

Choose a reason for hiding this comment

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

CI fails with

Error: main.go:19:2: import "github.com/client9/misspell/cmd/misspell" is a program, not an importable package

It looks right at a glance. I am not sure what the deal is.

@dpaasman00
Copy link
Contributor Author

CI fails with

Error: main.go:19:2: import "github.com/client9/misspell/cmd/misspell" is a program, not an importable package

It looks right at a glance. I am not sure what the deal is.

Yea, not entirely sure what the issue is with it either. BPOP has the same issue/error and we resolve it by adding it to an ignore list for gosec, so I did that here and it should be passing now.

@antonblock
Copy link
Contributor

I think the make test is running tests on every dir with a go.mod. We want to exclude internal/tools from that

internal/tools/main.go Outdated Show resolved Hide resolved
@dpaasman00 dpaasman00 merged commit 18db94a into release/v1.54.0 Jun 25, 2024
15 checks passed
@dpaasman00 dpaasman00 deleted the chore/tools-folder branch June 25, 2024 21:27
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