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

feat(cli): Add CBOR and JSON schemaless decoding for cat --json #848

Closed

Conversation

jon-chuang
Copy link
Contributor

@jon-chuang jon-chuang commented Mar 13, 2023

Public-Facing Changes

mcap cat --json allows for schemaless json and cbor encodings

Description

mcap cat --json allows for schemaless json and cbor encodings

Depends on:

#763
#847

@CLAassistant
Copy link

CLAassistant commented Mar 13, 2023

CLA assistant check
All committers have signed the CLA.

@pytest.mark.parametrize(
"null_schema", [(True,), (False,)]
)
def test_generate_sample_cbor_data(null_schema: bool):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong place for this test, but we should test this functionality somewhere since it was also the source of a SIGSEV...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where should we put this test?

@jon-chuang jon-chuang changed the title feat(cli): Add CBOR and JSON schemaless decoding for cat --json + fix SIGSEV feat(cli): Add CBOR and JSON schemaless decoding for cat --json Mar 15, 2023
@jtbandes
Copy link
Member

Closing this PR since we haven't seen much community interest in CBOR, and we've identified that the first step needs to be an update to the spec / well-known types registry (see https://github.com/foxglove/studio/pull/5574#issuecomment-1563425843 & https://github.com/foxglove/studio/pull/5574#issuecomment-1563482157). Thanks for the contribution!

@jtbandes jtbandes closed this Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants