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

CLI: return actual copy/pasteable protobuf schemas from mcap list schemas on a protobuf mcap #436

Open
wkalt opened this issue Jun 23, 2022 · 0 comments
Labels
cli feature New feature or request

Comments

@wkalt
Copy link
Contributor

wkalt commented Jun 23, 2022

Currently when you run mcap list schemas on a protobuf mcap it makes a best effort translation of the binary FileDescriptorSet back to text for display. The translation is sufficient to convey the schema's meaning, but it's not guaranteed to be a valid .proto. From what I remember there are some reasons why it is not straightforward to go from FileDescriptorSet back to text .proto -- but unfortunately I don't remember what those reasons are.

If possible, it would be nice to recover exactly equivalent .proto text schemas to what's in the file descriptorset.

@wkalt wkalt added the feature New feature or request label Jun 23, 2022
@jhurliman jhurliman added the cli label Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature New feature or request
Development

No branches or pull requests

2 participants