dnbert / prm

PRM Allows you to quickly build package repositories, inspired by Jordan Sissels' FPM
MIT License
250 stars 33 forks source link

License missing from gemspec #23

Closed bf4 closed 10 years ago

bf4 commented 10 years ago

Some companies will only use gems with a certain license. The canonical and easy way to check is via the gemspec via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

There is even a License Finder to help companies ensure all gems they use meet their licensing needs. This tool depends on license information being available in the gemspec. Including a license in your gemspec is a good practice, in any case.

If you need help choosing a license, github has created a license picker tool

How did I find you?

I'm using a script to collect stats on gems, originally looking for download data, but decided to collect licenses too, and make issues for gemspecs not specifying a license as a public service :) https://gist.github.com/bf4/5952053#file-license_issue-rb-L13 So far it's going pretty well. I've written a blog post about it

dnbert commented 10 years ago

Wee! Thanks for the notice

bf4 commented 10 years ago

My pleasure. Thanks!