open-telemetry / opentelemetry-go

OpenTelemetry Go API and SDK
https://opentelemetry.io/docs/languages/go
Apache License 2.0
5.22k stars 1.05k forks source link

Document how files are generated and maybe automate it #583

Closed krnowak closed 9 months ago

krnowak commented 4 years ago

We have some generated files in the repo. Some of them are generated during make precommit (like api/core/numberkind_string.go by the stringer utility). But some of them were generated just once and just lay there:

Would be nice to document it and add some make target (like make generate-misc) so it regenerates the files above. It's something maybe we could do as a part of a release process.

ilyakaznacheev commented 3 years ago

What about proto generation? How do you fix all the versions of protoc and plugins?

MadVikingGod commented 2 years ago

The current state of affairs is:

MrAlias commented 2 years ago
  • The only outstanding one is the thrift code in jaeger. I couldn't find the history of how we adopted this code.

IIRC, that was a manual copy paste.

pellared commented 9 months ago

AFAIK all code generation is now automated.