-
Notifications
You must be signed in to change notification settings - Fork 522
sei: fix exclude_files pattern #8635
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
Conversation
b249845 to
3f4e574
Compare
🚀 Benchmarks reportTo see the full report comment with |
🌐 Coverage report
|
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
3f4e574 to
9329f4f
Compare
9329f4f to
8c672bd
Compare
8c672bd to
47c0ece
Compare
|
/test |
1 similar comment
|
/test |
47c0ece to
2080ff1
Compare
zmoog
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The current pattern matches all file names ending with gz that are at least three
characters long, not the equivalent of the *.gz glob pattern.
[git-generate]
cd packages
for pkg in $(
(
for p in $(rg -lF 'exclude_files: [".gz$"]' | cut -f1 -d'/' | sort | uniq); do
grep "^/packages/$p.*security-external-integrations" ../.github/CODEOWNERS | cut -f3 -d'/' | cut -f1 -d' '
done
) | sort | uniq
); do
(
rg -F 'exclude_files: [".gz$"]' $pkg >/dev/null || continue
cd $pkg
parallel gsed -r -i '"'"s/exclude_files: \\\\[\\\"\\\\.gz\\\\$\\\"\\\\]/exclude_files: ['\\\\\\.gz$']/g"'"' {} ::: $(find . -name '*.yml.hbs')
elastic-package changelog add --next patch --description "Fix exclude_files pattern." --type bugfix --link elastic#8635
)
done
2080ff1 to
87724ad
Compare
|
Package atlassian_bitbucket - 1.22.1 containing this change is available at https://epr.elastic.co/search?package=atlassian_bitbucket |
|
Package atlassian_confluence - 1.23.1 containing this change is available at https://epr.elastic.co/search?package=atlassian_confluence |
Proposed commit message
The current pattern matches all file names ending with gz that are at least three characters long, not the equivalent of the *.gz glob pattern.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots