elastic / elastic/logstash

Change license from plugin generator

Open
#6,577 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug plugin manager
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

The plugin generator puts this line into the generated gemspec file:

s.licenses = ['Apache License (2.0)']

but that leads to this warning when you build the gem:

WARNING: license value 'Apache License (2.0)' is invalid. Use a license identifier from
http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
Did you mean 'Apache-2.0'?

We should probably change it to Apache-2.0 in the plugin generator the next time someone is working in that code for something more important.

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.

Research direction

Start by locating the plugin generator code that writes the generated gemspec and inspect how it sets s.licenses. Change the generated value to the SPDX identifier Apache-2.0, then build a generated gem to confirm the invalid-license warning is gone.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.