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

[builder] remove the need for adding a replace statement #8763

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

codeboten
Copy link
Contributor

The builder inserted a replace statement for the cloud.google.com/go to address an ambiguous import issue. This has the negative side effect of breaking go install for any modules that use the builder to generate a go.mod. This change removes that replace statement. Instead, the builder explicitly runs go get cloud.google.com/go as part of the generation process.

The builder inserted a replace statement for the cloud.google.com/go to address an ambiguous import issue. This has the negative side effect of breaking go install for any modules that use the builder to generate a go.mod. This change removes that replace statement. Instead, the builder explicitly runs `go get cloud.google.com/go` as part of the generation process.

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten requested review from a team and Aneurysm9 October 26, 2023 19:39
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Files Coverage Δ
cmd/builder/internal/builder/main.go 59.80% <50.00%> (-1.03%) ⬇️

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!.

@dmitryax
Copy link
Member

@codeboten PTAL at the linter failures

Signed-off-by: Alex Boten <[email protected]>
@codeboten codeboten merged commit 6405e15 into open-telemetry:main Oct 26, 2023
31 of 32 checks passed
@codeboten codeboten deleted the codeboten/rm-replace branch October 26, 2023 22:02
@github-actions github-actions bot added this to the next release milestone Oct 26, 2023
codeboten pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
Updating core to bring in the new builder, which no longer uses a
replace in its template
(open-telemetry/opentelemetry-collector#8763)

---------

Signed-off-by: Alex Boten <[email protected]>
codeboten pushed a commit that referenced this pull request Nov 3, 2023
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…etry#28652)

Updating core to bring in the new builder, which no longer uses a
replace in its template
(open-telemetry/opentelemetry-collector#8763)

---------

Signed-off-by: Alex Boten <[email protected]>
RoryCrispin pushed a commit to ClickHouse/opentelemetry-collector-contrib that referenced this pull request Nov 24, 2023
…etry#28652)

Updating core to bring in the new builder, which no longer uses a
replace in its template
(open-telemetry/opentelemetry-collector#8763)

---------

Signed-off-by: Alex Boten <[email protected]>
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