open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
244 stars 158 forks source link

[chore] update scripts to detect macos or linux for GNU sed usage #1267

Closed adrielp closed 1 month ago

adrielp commented 1 month ago

Changes

Adding some basic OS detection in scripts and make due to the difference between sed on MacOs and Linux. Namely, gsed (GNU Sed) will be used on MacOs. The contributing guide documents the install under pre-reqs and gives the brew bundle command as an optional way to install gsed on Mac. This is simply a quality of life improvement for those on Mac.

Merge requirement checklist