open-telemetry / opentelemetry-ebpf-profiler

The production-scale datacenter profiler (C/C++, Go, Rust, Python, Java, NodeJS, .NET, PHP, Ruby, Perl, ...)
Apache License 2.0
2.31k stars 244 forks source link

legal: fix licenses of dependencies #143

Closed florianl closed 2 weeks ago

florianl commented 2 weeks ago

Replace the costum license checker with google/go-licenses, which is already used in other OTel projects. And run the license check for dependencies as part of the CI.

This fix also makes sure, that the licenses are Go module version aware.

florianl commented 2 weeks ago

With https://github.com/open-telemetry/opentelemetry-ebpf-profiler/pull/143/commits/f8f8db834178d046a88ce7d266614d2de3e30228 applied, CI is failing as expected, as the licenses where not updates https://github.com/open-telemetry/opentelemetry-ebpf-profiler/actions/runs/10683289144/job/29611021732?pr=143. This just confirms that CI tests are working as expected.

rockdaboot commented 1 day ago

:+1: Thanks