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

Fix optimisation bug for compose filter #1159

Conversation

christian-schilling
Copy link
Member

The optimiser incorrectly transformed :[:/y,:/x/y] into :[:/,:/x]:/y
This is not correct because :/y is more restrictive than :/ and will
therefore not match all the files that :/ does.
Due to the compose filter guaranteeing uniqueness of mappings
the led to files missing from the first filter.

@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/fix-opt-bug branch 4 times, most recently from 7ed4d3d to ec76766 Compare March 3, 2023 10:19
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/fix-opt-bug branch 3 times, most recently from 258f767 to a0c1d6a Compare March 3, 2023 14:06
The optimiser incorrectly transformed :[:/y,:/x/y] into :[:/,:/x]:/y
This is not correct because :/y is more restrictive than :/ and will
therefore not match all the files that :/ does.
Due to the compose filter guaranteeing uniqueness of mappings
the led to files missing from the first filter.

Change: fix-opt-bug
@christian-schilling christian-schilling force-pushed the @changes/master/christian.schilling.de@gmail.com/fix-opt-bug branch from a0c1d6a to 38eecee Compare March 3, 2023 15:09
@christian-schilling christian-schilling enabled auto-merge (squash) March 3, 2023 15:09
@christian-schilling christian-schilling merged commit fc857af into master Mar 3, 2023
@christian-schilling christian-schilling deleted the @changes/master/christian.schilling.de@gmail.com/fix-opt-bug branch March 3, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants