elastic / elastic/logstash

plugin installation fails if parent directory contains whitespace

Open
#6,371 0 comments 0 reactions 0 assignees View on GitHub
plugin manager
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

Easy to reproduce, just install logstash in a directory where at least one parent dir component includes whitespace, then try to install a plugin.

The error appears to be in unquoted maven arguments causing a failure to generate jar dependencies, but I didn't debug it further once I realized the cause was the original scripting sin of not quoting paths. This is probably an upstream gem or ruby-maven bug, but logging it here as it makes logstash-plugin unusable.

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by installing Logstash under a path containing whitespace, then run the logstash-plugin installation command. Inspect how the command constructs Maven arguments and determine whether the failure is in Logstash or the referenced ruby-maven/upstream dependency; done means plugin installation succeeds from such a path.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.