Skip to content

Fix exclusion of paths in GUL14 migration script#33

Merged
alt-graph merged 1 commit intomainfrom
bugfix/gul14_migration
Jun 3, 2025
Merged

Fix exclusion of paths in GUL14 migration script#33
alt-graph merged 1 commit intomainfrom
bugfix/gul14_migration

Conversation

@alt-graph
Copy link
Copy Markdown
Member

The code tried to exclude paths with a leading "./${dir}" from the recursive search with find. The correct prefix would simply be ${dir}.

[why]
The code tried to exclude paths with a leading "./${dir}" from the recursive
search with find. The correct prefix would simply be ${dir}.

Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
@alt-graph alt-graph self-assigned this Jun 3, 2025
@alt-graph alt-graph added the bug Something isn't working label Jun 3, 2025
Copy link
Copy Markdown

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 GUL14 migration script so that path exclusions in the find commands work correctly.

  • The script now properly excludes directories by using "${dir}/..." syntax instead of using a leading "./${dir}/...".
  • An echo message was added in the handle_source_file function when "make_overload_set" is found.

Copy link
Copy Markdown
Member

@Finii Finii left a comment

Choose a reason for hiding this comment

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

Looks good, sorry for (my) bug.
But a different solution suggestion; apply ad lib.

@alt-graph
Copy link
Copy Markdown
Member Author

Thanks, @Finii! I'll merge this as-is. It just needs to be good enough.

@alt-graph alt-graph merged commit 25247d8 into main Jun 3, 2025
3 checks passed
@alt-graph alt-graph deleted the bugfix/gul14_migration branch June 3, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants