Skip to content

Extend API to use std::filesystem (backport #104) - #109

Merged
ahcorde merged 2 commits into
ament:jazzyfrom
peci1:backport_104_jazzy
Feb 2, 2026
Merged

ahcorde merged 2 commits into
ament:jazzyfrom
peci1:backport_104_jazzy

Conversation

@peci1

@peci1 peci1 commented Jan 27, 2026

Copy link
Copy Markdown

This is a manual backport of #104 to Jazzy.

I've decided to reimplement the new std::filesystem API using the old API to get consistent results and avoid code duplication. All tests for the std::filesystem API still pass. But if it's more suitable, I can also copy-paste the original std::filesystem implementations from #104.

ahcorde and others added 2 commits January 27, 2026 11:17
@peci1

peci1 commented Jan 27, 2026

Copy link
Copy Markdown
Author

Regarding ABI, there should be no change for the existing symbols (their implmentation has not been touched).

Regarding API, this PR pulls <filesystem>, <optional> and <utility> into some header files. I don't think this is a problem. No includes are removed.

@jmachowinski

jmachowinski commented Jan 28, 2026 •

Copy link
Copy Markdown

@peci1

peci1 commented Jan 28, 2026

Copy link
Copy Markdown
Author

@jmachowinski if you need to see green CI, please rerun Linux and Linux-rhel jobs. They were interrupted.

@ahcorde

ahcorde commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Pulls: #109
Gist: https://gist.githubusercontent.com/ahcorde/468dd66373738fc90c3b1ea28629bc95/raw/a4c968146c6a2aa68360660cb746352837044e7e/ros2.repos
BUILD args: --packages-above-and-dependencies ament_index_cpp
TEST args: --packages-above ament_index_cpp
ROS Distro: jazzy
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18084

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

@ahcorde
ahcorde merged commit 1bba98c into ament:jazzy Feb 2, 2026
@ahcorde

ahcorde commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

https://github.com/Mergifyio backport kilted humble

@mergify

mergify Bot commented Feb 2, 2026 •

Copy link
Copy Markdown

backport kilted humble

✅ Backports have been created

Details

mergify Bot pushed a commit that referenced this pull request Feb 2, 2026
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit 1bba98c)
mergify Bot pushed a commit that referenced this pull request Feb 2, 2026
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit 1bba98c)
ahcorde added a commit that referenced this pull request Feb 3, 2026
(cherry picked from commit 1bba98c)

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Martin Pecka <[email protected]>
Co-authored-by: Martin Pecka <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
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.

3 participants