Skip to content

Conversation

@atoulme
Copy link
Contributor

@atoulme atoulme commented Feb 15, 2025

This change is brought about by the realization that with #37945 no code is directly under the root module. This has the unexpected impact that some of the Makefile set up started to show warnings.

It turns out that we do quite a bit of reading files and go packages in the Makefile. This has a performance impact. We also have incorrect code in there, such as the computation of ALL_PKG_DIRS only returns github.com/open-telemetry/opentelemetry-collector-contrib/cmd/checkapi.

@atoulme atoulme requested a review from a team as a code owner February 15, 2025 15:43
@atoulme atoulme requested a review from dehaansa February 15, 2025 15:43
@atoulme
Copy link
Contributor Author

atoulme commented Feb 15, 2025

I have split the typo fixes in this PR to a separate PR #37952.

@MovieStoreGuy MovieStoreGuy merged commit 413f874 into open-telemetry:main Feb 19, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 19, 2025
atoulme pushed a commit that referenced this pull request Mar 19, 2025
Re-enable the use of `make` for the `hostmetricsreceiver` by fixing the
target that was being suppressed.

For targets `misspell` and `misspell-correction` there is no need
anymore of a different version for Windows.

For targets `addlicense` and `checklicense` we can't have a computed
variable with all the filenames since this becomes too big for
`/bin/bash`. I changed it back to the same pattern used in #37951.

I tested on Windows and Mac and the issue described at #38493 didn't
repro with this current change.
lightme16 pushed a commit to lightme16/opentelemetry-collector-contrib that referenced this pull request Mar 19, 2025
…try#38773)

Re-enable the use of `make` for the `hostmetricsreceiver` by fixing the
target that was being suppressed.

For targets `misspell` and `misspell-correction` there is no need
anymore of a different version for Windows.

For targets `addlicense` and `checklicense` we can't have a computed
variable with all the filenames since this becomes too big for
`/bin/bash`. I changed it back to the same pattern used in open-telemetry#37951.

I tested on Windows and Mac and the issue described at open-telemetry#38493 didn't
repro with this current change.
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this pull request Apr 24, 2025
…try#38773)

Re-enable the use of `make` for the `hostmetricsreceiver` by fixing the
target that was being suppressed.

For targets `misspell` and `misspell-correction` there is no need
anymore of a different version for Windows.

For targets `addlicense` and `checklicense` we can't have a computed
variable with all the filenames since this becomes too big for
`/bin/bash`. I changed it back to the same pattern used in open-telemetry#37951.

I tested on Windows and Mac and the issue described at open-telemetry#38493 didn't
repro with this current change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants