Skip to content

1.5.x (core-api-v1) plugins gemspec broken #4231

Description

@purbon

Hi,
while backporting logstash-plugins/logstash-output-file#21 to the 1.5.x branch I found the gemspec to be broken:

  • The logstash-core requirement s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'`` is broken as it fetch the 2.0.0 pre releases that are basically incompatible with the 1.5 branch. This should be changed to s.add_runtime_dependency "logstash-core", '~> 1.4'` that will fetch the last 1.x available dependency.
  • The fix for concurrent-ruby was not backported to 1.5, here we either have two options, or force the version in the gemspecs as of s.add_runtime_dependency 'concurrent-ruby', '0.9.1' or backport the fix.

The last two changes might require a mass update of the plugins, or that we have this into account when updating a plugin.

See logstash-plugins/logstash-output-file#22 for a backport example.

Related to #4188

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions