Conflicting gem dependencies on vanilla logstash 2.1.1 install

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
devops

Research direction

Start by reproducing bin/plugin install logstash-input-github on the Logstash 2.1.1 tarball and review the reported Bundler conflicts for logstash-codec-plain and logstash. No files or tests are named; done means the plugin installs successfully on the affected vanilla Logstash version without incompatible dependency errors.

Written by the indexing model from the issue text.

Description

bug

When trying to install this plugin onto logstash 2.1.1 (other versions may be affected, haven't checked) bin/plugin install logstash-input-github fails with:

Validating logstash-input-github
Installing logstash-input-github
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-codec-plain":
  In snapshot (Gemfile.lock):
    logstash-codec-plain (= 2.0.2)

  In Gemfile:
    logstash-output-http (>= 0) java depends on
      logstash-mixin-http_client (< 3.0.0, >= 2.0.2) java depends on
        logstash-codec-plain (>= 0) java

... lots of lines truncated for readability ...

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "logstash":
  In Gemfile:
    logstash-input-github (>= 0) java depends on
      logstash (< 2.0.0, >= 1.4.0) java
Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-input-github (>= 0) java', in any of the sources.

To reproduce this, just download the 2.1.1 tarball and try the plugin install command, similar failures should follow.

Dominant language
Ruby
Stars
18
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from logstash-plugins/logstash-input-github

All issues in logstash-plugins/logstash-input-github

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.