open-telemetry / opentelemetry-go-build-tools

Build tools for use by the Go API/SDK, the collector, and their associated contrib repositories
https://opentelemetry.io
Apache License 2.0
32 stars 35 forks source link

[crosslink] add --skip flag #480

Closed codeboten closed 8 months ago

codeboten commented 8 months ago

This allows modules in monorepos to opt out of crosslink. This will be used in mdatagen in the Collector core repo for example, where mdatagen has dependencies on internal collector modules, but we don't want to use replace statements as it breaks the ability to go install mdatagen

Related to https://github.com/open-telemetry/opentelemetry-collector/issues/9281

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c2a5fde) 63.78% compared to head (75f3d9a) 63.89%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #480 +/- ## ========================================== + Coverage 63.78% 63.89% +0.11% ========================================== Files 39 39 Lines 2267 2274 +7 ========================================== + Hits 1446 1453 +7 Misses 677 677 Partials 144 144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codeboten commented 8 months ago

The readme has been updated, PTAL