-
Notifications
You must be signed in to change notification settings - Fork 9
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
Updated Gradle and Google Cloud Storage client library #20
Conversation
@andsel I was unable to test this on my development laptop, due to the following error:
|
@robbavey how did you tested this?
Or did you generated the gem and installed on Logstash? plugin> gem build logstash-input-google_cloud_storage.gemspec
logstash> bin/logstash-plugin install --local /path_to/logstash-input-google_cloud_storage/logstash-input-google_cloud_storage-0.11.1-java.gem |
…undled in the gem
CHANGELOG.md
Outdated
@@ -1,3 +1,6 @@ | |||
## 0.11.1 |
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.
Let's make this a minor
update.
CHANGELOG.md
Outdated
@@ -1,3 +1,6 @@ | |||
## 0.11.1 | |||
- Updated Google Cloud Storage client library [#20](https://github.com/logstash-plugins/logstash-input-google_cloud_storage/pull/20) |
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.
We should explicitly state the limitation on logstash version imposed by this new version in the changelog
I added the definition in my |
@andsel Same result, this time when installing the plugin
|
I was able to reproduce the same error on a clean Ubuntu 22.04. bin/ruby -S gem install mimemagic -v '>= 0.3.7' then, I was able to install the plugin with: bin/logstash-plugin install --local /path_to/logstash-input-google_cloud_storage-0.12.0-java.gem The same problem happens also on |
docs/index.asciidoc
Outdated
[NOTE] | ||
================================================================================ | ||
When installing this plugin you could receive an error message about the | ||
impossibility to find compatible versions for gem "mimemagic". | ||
This is error could be circumvented by installing the required dependency directly into | ||
the Logstash Ruby gem's cache. | ||
|
||
This could be done going into Logstash installation folder and using the bundled Ruby gems instance: | ||
|
||
[source,bash] | ||
---------------------------------- | ||
bin/ruby -S gem install mimemagic -v '>= 0.3.7' | ||
---------------------------------- | ||
|
||
================================================================================ | ||
|
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.
Hi @karenzone , I've added this note to describe how to avoid an installation problem. Would be great if you could review it, or ping me if you need more context on the problem we are facing.
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.
@andsel I would do something like this:
Attempting to install this plugin may result in an error about "<post here a sample error that you actually get from installation". If this error occurs, you can fix it by manually by installing the "mime magic" dependency directly into the Logstash Ruby Gem's cache (<provide a link here to where that would be, or the location.). This could be done using the bundled Ruby gems instance inside the Logstash installation folder (< provide references, e.g. a link that shows where things are installed based on the installation method>)
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.
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 - over to @karenzone for final approval
docs/index.asciidoc
Outdated
[NOTE] | ||
================================================================================ | ||
When installing this plugin you could receive an error message about the | ||
impossibility to find compatible versions for gem "mimemagic". | ||
This is error could be circumvented by installing the required dependency directly into | ||
the Logstash Ruby gem's cache. | ||
|
||
This could be done going into Logstash installation folder and using the bundled Ruby gems instance: | ||
|
||
[source,bash] | ||
---------------------------------- | ||
bin/ruby -S gem install mimemagic -v '>= 0.3.7' | ||
---------------------------------- | ||
|
||
================================================================================ | ||
|
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.
@andsel I would do something like this:
Attempting to install this plugin may result in an error about "<post here a sample error that you actually get from installation". If this error occurs, you can fix it by manually by installing the "mime magic" dependency directly into the Logstash Ruby Gem's cache (<provide a link here to where that would be, or the location.). This could be done using the bundled Ruby gems instance inside the Logstash installation folder (< provide references, e.g. a link that shows where things are installed based on the installation method>)
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.
couple suggestions, otherwise looks good to me
Release notes
Updates Cloud Storage dependencies forcing this plugin to be compatible only with Logstash >= 8.3.0
What does this PR do?
Update Google Cloud Storage client (and transitive dependencies) from
1.62.0
to1.118.1
Imposes Logstash
8.3.0
runtime requirement due to alignment onjackson-core
2.13.3
Why is it important/What is the impact to the user?
7.x
branch testing from Travis matrix testChecklist
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs
Closes elastic/logstash#14474