Make codebase compatible with Boost 1.85 deprecation removals#793
Merged
mcserep merged 2 commits intoEricsson:masterfrom May 5, 2025
Merged
Make codebase compatible with Boost 1.85 deprecation removals#793mcserep merged 2 commits intoEricsson:masterfrom
mcserep merged 2 commits intoEricsson:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the codebase to address Boost 1.85 deprecation removals. It replaces legacy Boost filesystem functions with their updated equivalents and standardizes extension extraction using fs::path().extension(), ensuring compatibility for dynamic library identification and file type checks.
- Updated Boost filesystem calls from is_regular and extension() to their updated counterparts.
- Ensured proper conversion (using .string() where needed) in cases of file extension comparisons.
- Applied consistent changes across plugins, parsers, and services to support Boost 1.85.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| webserver/include/webserver/pluginhandler.h | Revised extension extraction via fs::path() for dynamic libraries. |
| plugins/search/parser/src/searchparser.cpp | Updated is_regular_file() for file regularity checks. |
| plugins/git/service/src/gitservice.cpp | Replaced deprecated is_regular with is_regular_file for repo files. |
| plugins/git/parser/src/gitparser.cpp | Updated filesystem regular file check for repository handling. |
| plugins/dummy/parser/src/dummyparser.cpp | Adopted fs::path().extension() using auto for extension extraction. |
| plugins/cpp/service/src/filediagram.cpp | Converted extension extraction to use fs::path() and .string(). |
| plugins/cpp/parser/src/cppparser.cpp | Updated extension extraction and integrated similar conversion logic. |
| parser/src/pluginhandler.cpp | Standardized dynamic library extension extraction via fs::path(). |
mcserep
commented
May 5, 2025
…ions Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Cherry-picked from #637.