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

[backport foxy] Deduplicate SequentialCompressionReader business logic, add fallback to find bagfiles in incorrectly-written metadata #612 #617

Closed
wants to merge 2 commits into from

Conversation

emersonknapp
Copy link
Collaborator

@emersonknapp emersonknapp commented Jan 27, 2021

Backport of #612 to Foxy

This PR allows rosbag2 to correctly read the incorrect V4 metadata files being currently written by compressed bags. It removes most of the business logic from the SequentialCompressionReader in preparation for removing the class entirely.

emersonknapp and others added 2 commits January 27, 2021 00:55
…to find bagfiles in incorrectly-written metadata (#612)

* Deduplicate sequentialcompressionreader business logic, add fallback to find bagfiles in incorrectly-written metadata

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp changed the title [foxy backport] Deduplicate SequentialCompressionReader business logic, add fallback to find bagfiles in incorrectly-written metadata #612 [backport foxy] Deduplicate SequentialCompressionReader business logic, add fallback to find bagfiles in incorrectly-written metadata #612 Jan 27, 2021
@emersonknapp
Copy link
Collaborator Author

emersonknapp commented Jan 27, 2021

Gist: https://gist.githubusercontent.com/emersonknapp/66f4e42a9c3bab6ddefde22785cc5d14/raw/cd58280a18a21ff42711609cd31444cd9fed26ab/ros2.repos
BUILD args: --packages-up-to rosbag2
TEST args: --packages-select rosbag2
Job: ci_launcher

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp
Copy link
Collaborator Author

@ros-pull-request-builder retest this please

@emersonknapp
Copy link
Collaborator Author

Closing for now in favor of discussion on #625 - will reopen if we do not go that direction

@emersonknapp emersonknapp deleted the emersonknapp/foxy-backport-612 branch March 25, 2021 06:32
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