Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out protoc package? #194

Open
jakirkham opened this issue Oct 12, 2023 · 2 comments
Open

Split out protoc package? #194

jakirkham opened this issue Oct 12, 2023 · 2 comments

Comments

@jakirkham
Copy link
Member

There are some use cases for protobuf where only the CLI protoc is needed. In these cases the library is unneeded (or not needed as a direct dependency). Really what is needed is a CLI package that can be installed by the user or in the case of a recipe in build. This could also be excluded from migrations (as long as there are not format changes)

Am curious to know whether there is appetite for a change like this among maintainers. Also whether there are things to consider when making such a change. Thoughts? 🙂

@h-vetinari
Copy link
Member

This is possible packaging-wise (and something @xhochy already brought up long ago); we could call it protobuf-compiler or protoc or whatever we like.

W.r.t. format-changes, it's clear that we'd need a libprotobuf that's at least as new as the compiler, but I'm not 100% sure that protobuf is always forward-compatible?

In short: not against the idea, but someone needs to check what constraints we need to follow to make this not break.

@xhochy
Copy link
Member

xhochy commented Oct 13, 2023

I did exactly that for thrift as there the compiler itself is massive in size compared to the lib: https://github.com/conda-forge/thrift-cpp-feedstock/blob/a32005d71171846f180bddffe78099e670a4bdcf/recipe/meta.yaml#L99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants