Change license from plugin generator
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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