Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add glob support for config file match #1746

Open
mwestphal opened this issue Dec 3, 2024 · 0 comments
Open

Add glob support for config file match #1746

mwestphal opened this issue Dec 3, 2024 · 0 comments
Labels
help wanted Please help with this issue! source:F3DApplication source:libf3d type:enhancement New feature or request
Milestone

Comments

@mwestphal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
F3D support being configured using config file, each config block applies to the files currently being loaded.
The pattern match is based on regex, which may not be very user friendly.

Lets improve that by adding other match type, especially glob

Describe the solution you'd like

  • Add a glob -> regex implementation in utils
  • Read an optional match_type json arg in F3DConfigFilesTools.cxx, eg glob, regex, exact
  • Implement the pattern matching and convert it to regex for the actual config logic
  • Optionnaly, support proper logging of the match and match-type

Additional context
@snoyer Have a partial implement of glob -> regex somewhere

@mwestphal mwestphal added type:enhancement New feature or request source:libf3d help wanted Please help with this issue! source:F3DApplication labels Dec 3, 2024
@mwestphal mwestphal added this to F3D Dec 3, 2024
@mwestphal mwestphal moved this to To do in F3D Dec 3, 2024
@mwestphal mwestphal added this to the 3.1.0 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Please help with this issue! source:F3DApplication source:libf3d type:enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant