Migrate Goby from Boost.Filesystem to C++17 std::filesystem#391
Open
Migrate Goby from Boost.Filesystem to C++17 std::filesystem#391
Conversation
Agent-Logs-Url: https://github.com/GobySoft/goby3/sessions/c0c252d4-470f-4634-9b59-8487f9927141 Co-authored-by: tsaubergine <732276+tsaubergine@users.noreply.github.com>
Agent-Logs-Url: https://github.com/GobySoft/goby3/sessions/c0c252d4-470f-4634-9b59-8487f9927141 Co-authored-by: tsaubergine <732276+tsaubergine@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove boost::filesystem and use std::filesystem
Migrate Goby from Boost.Filesystem to C++17 std::filesystem
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that Goby requires C++17, Boost.Filesystem is redundant and should no longer be part of runtime codepaths or exported dependency requirements. This PR replaces active filesystem usage with
std::filesystemand removes the Boostfilesystemcomponent from build/package metadata.Code migration to
std::filesystemboost::filesystemincludes/types/APIs in:src/apps/acomms/store_server/store_server.cppsrc/apps/middleware/goby_tool/unified_log_tool.hsrc/apps/middleware/log_tool/log_tool.cppsrc/apps/zeromq/liaison/liaison.cppsrc/middleware/application/configuration_reader.cppsrc/moos/goby_moos_app.h.native()/Boost-specific behavior) tostd::filesystemequivalents.BOOST_FILESYSTEM_VERSIONconditionals that are no longer relevant.Build/export dependency cleanup
filesystemfrom Boost component requirements in:src/CMakeLists.txtsrc/goby-config.cmake.inRepresentative change