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

Make changes to datasets explicit in JSONL diffs #624

Merged
merged 1 commit into from
May 17, 2022

Conversation

olsen232
Copy link
Collaborator

Originally, JSONL diffs just output feature and meta items that had
changed.
Then we added "metaInfo" messages to output schema.json meta items even
when they haven't changed - to give the client the necessary context to
output features that have changed.

This change adds two new message types:

  • "dataset" messages to output when entire datasets have
    changed (ie, they are added or removed - anything else isn't a dataset
    change but is a smaller change that we already output as a feature or
    meta change)
  • "datasetInfo" messages which are output when datasets have not
    changed, but provide extra context - that there is a dataset at a
    particular path, its type (eg "table" or "point-cloud") and its version.

Related links:

#565

Originally, JSONL diffs just output feature and meta items that had
changed.
Then we added "metaInfo" messages to output schema.json meta items even
when they haven't changed - to give the client the necessary context to
output features that have changed.

This change adds two new message types:
- "dataset" messages to output when entire datasets have
changed (ie, they are added or removed - anything else isn't a dataset
change but is a smaller change that we already output as a feature or
meta change)
- "datasetInfo" messages which are output when datasets have *not*
changed, but provide extra context - that there is a dataset at a
particular path, its type (eg "table" or "point-cloud") and its version.
@olsen232 olsen232 merged commit c877d49 into master May 17, 2022
@olsen232 olsen232 deleted the explicit-dataset-diffs branch May 17, 2022 23:41
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

Successfully merging this pull request may close these issues.

None yet

2 participants