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

[jazzy] Add topics with zero message counts to the SQLiteStorage::get_metadata(). (backport #1725) #1731

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jun 26, 2024

…a(). (#1725)

* storage_sqlite3 constructs metadata with topics don't have any messages.

Signed-off-by: Tomoya Fujita <[email protected]>

* Revert "storage_sqlite3 constructs metadata with topics don't have any messages."

This reverts commit a842689.

Signed-off-by: Tomoya Fujita <[email protected]>

* update metadata list topics that does not have any messages.

Signed-off-by: Tomoya Fujita <[email protected]>

* add get_metadata_include_topics_with_zero_messages test

Signed-off-by: Tomoya Fujita <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>

* add std_msgs to rosbag2_cpp for test build.

Signed-off-by: Tomoya Fujita <[email protected]>

* call get_or_generate_extern_topic_id when updating metadata.

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
(cherry picked from commit ff829e8)
@mergify mergify bot requested a review from a team as a code owner June 26, 2024 17:52
@mergify mergify bot requested review from MichaelOrlov and jhdcs and removed request for a team June 26, 2024 17:52
@MichaelOrlov MichaelOrlov changed the title Add topics with zero message counts to the SQLiteStorage::get_metadata(). (backport #1725) [jazzy] Add topics with zero message counts to the SQLiteStorage::get_metadata(). (backport #1725) Jun 26, 2024
@MichaelOrlov
Copy link
Contributor

Pulls: #1731
Gist: https://gist.githubusercontent.com/MichaelOrlov/4512e1a016fb5bb7205fa96876e0ce5e/raw/fae14a16f5c83b1ef32aab91c15f03880965543f/ros2.repos
BUILD args: --packages-above-and-dependencies rosbag2_cpp rosbag2_storage_sqlite3 rosbag2_tests
TEST args: --packages-above rosbag2_cpp rosbag2_storage_sqlite3 rosbag2_tests
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/14132

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Copy link
Contributor

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

lgtm. @MichaelOrlov thanks !

@MichaelOrlov MichaelOrlov merged commit 2a627c9 into jazzy Jun 26, 2024
14 checks passed
@mergify mergify bot deleted the mergify/bp/jazzy/pr-1725 branch June 26, 2024 22:20
@MichaelOrlov
Copy link
Contributor

https://github.com/Mergifyio backport iron

Copy link
Author

mergify bot commented Aug 9, 2024

backport iron

✅ Backports have been created

mergify bot added a commit that referenced this pull request Aug 9, 2024
…a(). (#1725) (#1731)

* storage_sqlite3 constructs metadata with topics don't have any messages.

Signed-off-by: Tomoya Fujita <[email protected]>

* Revert "storage_sqlite3 constructs metadata with topics don't have any messages."

This reverts commit a842689.

Signed-off-by: Tomoya Fujita <[email protected]>

* update metadata list topics that does not have any messages.

Signed-off-by: Tomoya Fujita <[email protected]>

* add get_metadata_include_topics_with_zero_messages test

Signed-off-by: Tomoya Fujita <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>

* add std_msgs to rosbag2_cpp for test build.

Signed-off-by: Tomoya Fujita <[email protected]>

* call get_or_generate_extern_topic_id when updating metadata.

Signed-off-by: Tomoya Fujita <[email protected]>

---------

Signed-off-by: Tomoya Fujita <[email protected]>
Co-authored-by: Michael Orlov <[email protected]>
(cherry picked from commit ff829e8)

Co-authored-by: Tomoya Fujita <[email protected]>
(cherry picked from commit 2a627c9)

# Conflicts:
#	rosbag2_cpp/CMakeLists.txt
#	rosbag2_storage_sqlite3/src/rosbag2_storage_sqlite3/sqlite_storage.cpp
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.

2 participants