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 command for merging recordings #6862

Merged
merged 3 commits into from
Jul 12, 2024
Merged

CLI command for merging recordings #6862

merged 3 commits into from
Jul 12, 2024

Conversation

teh-cmc
Copy link
Member

@teh-cmc teh-cmc commented Jul 11, 2024

Title.

$ rerun rrd merge --help

Merges the contents of multiple .rrd and/or .rbl files, and writes the result to a new file.

Example: rerun merge -i input1.rrd -i input2.rbl -i input3.rrd -o output.rrd`

Usage: rerun rrd merge --input <src.(rrd|rbl)> --output <dst.(rrd|rbl)>

Options:
  -i, --input <src.(rrd|rbl)>


  -o, --output <dst.(rrd|rbl)>


  -h, --help
          Print help (see a summary with '-h')

$ cargo r -p rerun-cli --no-default-features --features native_viewer -- rrd merge -i plot_example.rrd -i plot_example.rbl -o 

[2024-07-11T12:28:02Z INFO  rerun::run] merge started srcs=["plot_example.rrd", "plot_example.rbl"] dst="plot_example_complete.rrd" max_num_rows=1 024 max_num_bytes=8.0 MiB
[2024-07-11T12:28:02Z INFO  rerun::run] merge finished src=["plot_example.rrd", "plot_example.rbl"] src_size_bytes=165 KiB dst="plot_example_complete.rrd" dst_size_bytes=165 KiB time=3.986229ms

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!
  • If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

To run all checks from main, comment on the PR with @rerun-bot full-check.

@teh-cmc teh-cmc added 🧑‍💻 dev experience developer experience (excluding CI) ⛃ re_datastore affects the datastore itself 🚀 performance Optimization, memory use, etc include in changelog CLI Related to the Rerun CLI do-not-merge Do not merge this PR labels Jul 11, 2024
@teh-cmc teh-cmc force-pushed the cmc/cli_merge_recording branch from 894b67d to 138f336 Compare July 11, 2024 12:30
Base automatically changed from cmc/cli_revamp to main July 12, 2024 07:53
@teh-cmc teh-cmc force-pushed the cmc/cli_merge_recording branch from 138f336 to 361332b Compare July 12, 2024 07:54
@teh-cmc teh-cmc merged commit 63b5758 into main Jul 12, 2024
14 of 19 checks passed
@teh-cmc teh-cmc deleted the cmc/cli_merge_recording branch July 12, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Related to the Rerun CLI 🧑‍💻 dev experience developer experience (excluding CI) do-not-merge Do not merge this PR include in changelog 🚀 performance Optimization, memory use, etc ⛃ re_datastore affects the datastore itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rerun merge <rrds...>: merge recordings from the CLI
2 participants