Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This partly undoes the changes in #88.
The goal was to install a go.work file, which #88 indicates does not work, and I thought I'd try again anyway.
The problem we are hoping to resolve is that a new user who can run the Golang toolchain ought to be able to run a one-line command to install the OTel Arrow collector from its module name github.com/open-telemetry/otel-arrow/collector/cmd/otelarrowcol.
This does not work because of relative
replace
statements, which breaks the one-line command functionality for Golang installation. If go.work could successfully navigate the release process for us, this would be a winning strategy, but it does not.In the present form of this PR, I removed all
replace
statements because I believe they are unnecessary. Note, however, that current OTC builders will install areplace
for cloud.google.com/go for historical reasons. With or without these replace statements (in two of the three modules here), it seems that go.work cannot survive the release process.The release process DEPENDS on having those relative replace statements, is what I'm trying to say. Is there a way for go.work to succeed in the pre-release state where
sed
has been used to update the new version in each go.mod file but the corresponding tag has not been pushed to github.com yet? This is where I'm stuck.The error is: