Skip to content

471 exclude include improvement#545

Open
hiker wants to merge 4 commits intomainfrom
471_exclude_include_improvement
Open

471 exclude include improvement#545
hiker wants to merge 4 commits intomainfrom
471_exclude_include_improvement

Conversation

@hiker
Copy link
Collaborator

@hiker hiker commented Mar 12, 2026

Fixed #471 by picking the longest filter to decide if a file is included or excluded (and last one in case of same length filter).

This seems to match the behaviour of FCM, and allows e.g. the um to be compiled with Fab without change in the um-atmos-common.cfg file.

@hiker
Copy link
Collaborator Author

hiker commented Mar 12, 2026

I've added a new test file for find_source_file (which covers all line of that file). I've also fixed some outdated names of ArtefactSets n the documentation (while looking for where to document the changed include/exclude functionality ... turns out it's only coming from the docstring :) ).

@hiker hiker added the enhancement New feature or request label Mar 12, 2026
@hiker hiker added this to the v2.0.2 - UM support milestone Mar 12, 2026
@hiker hiker requested review from a team and mo-lucy-gordon and removed request for a team March 12, 2026 15:11
@hiker hiker added the Ready for review Indicating that a PR is ready to be reviewed. label Mar 12, 2026
@hiker
Copy link
Collaborator Author

hiker commented Mar 12, 2026

Ready for review. @yaswant .... Oh, I could select the fab-code reviewer myself now!!!! Hoooooray

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Ready for review Indicating that a PR is ready to be reviewed.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Issues in processing Include/Exclude directives

1 participant