-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Anchor the -java
match pattern at the end of the string
#16626
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This fixes the offline install problem of the logstash-input-java_filter_example off-line install.
6 tasks
Quality Gate passedIssues Measures |
💛 Build succeeded, but was flaky
Failed CI StepsHistory
cc @a03nikki |
jsvd
approved these changes
Nov 5, 2024
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
@logstashmachine backport 8.x |
github-actions bot
pushed a commit
that referenced
this pull request
Nov 5, 2024
This fixes the offline install problem of the logstash-input-java_filter_example off-line install. (cherry picked from commit 113585d)
7 tasks
jsvd
pushed a commit
that referenced
this pull request
Nov 5, 2024
…16637) This fixes the offline install problem of the logstash-input-java_filter_example off-line install. (cherry picked from commit 113585d) Co-authored-by: Nicole Albee <[email protected]>
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Release notes
Fix offline plugin install of java plugins that contain
-java
in the name.What does this PR do?
Anchor the
-java
match pattern at the end of the string. This fixes the offline install problem of the logstash-input-java_filter_example plugin.Why is it important/What is the impact to the user?
If a user uses the example Java plugins, for example the logstash-input-java_filter_example, to demo or test a custom off-line package install, it will fail.
The process is to reproduce the bug is:
Checklist
Author's Checklist
-java
to the gem file names which uncovered this bug?How to test this PR locally
Use the steps in the why it matters and ensure it no longer fails to install from the zip file.
Related issues
Use cases
Question for the ingest engineers: In the second scenario, is platform supposed to be
java
or not?Screenshots
N/A
Logs
The error with
export DEBUG=1
enabled: