Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Boulder had a needless check for
starts_with
which was causing erroneous package splitting in several cases. For instance, consider the following simplified patterns:With this setup the file
/usr/lib/libLLVM.so.18.1
should be patterned intollvm-libs
, however since thestarts_with
match was checked first it would end up inllvm-devel
. The point of this was to ensure that we could have "globs" that matched directories that matched subfiles/subdirectories and in order to preserve that behavior we instead match twice, once on the submitted pattern and again with/**
appended to get a recursive glob.Also while we're at it apply a minor adjustment to escape the directory so that all glob patterns work correctly.