Skip to content

Conversation

@mcserep
Copy link
Collaborator

@mcserep mcserep commented May 5, 2025

Cherry-picked from #637.

@mcserep mcserep self-assigned this May 5, 2025
@mcserep mcserep requested a review from Copilot May 5, 2025 18:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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().

…ions

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mcserep mcserep merged commit a4b4afd into Ericsson:master May 5, 2025
6 checks passed
@mcserep mcserep deleted the boost-1.85 branch June 9, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant