-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
License missing from gemspec #13
Comments
How is this exactly a public service? This seems like 'ooo come look at my projects', which I won't be clicking on nor will I recommend to anybody. It clearly has a LICENSE file in the gem that actually specifies what it is. As for this 'bundler now generates gems with a default', it always has. I hacked that out since that's not the one I use. In the future, don't comment on any of my other projects. I intend to fix this, but have no intention of leaving this bug open for your benefit. |
Thanks for your feedback It is a public service because I am checking public gems for missing Saying my project is self-serving is like saying a true altruist must never Didn't I link to the bundler commit? It's from a year ago. That's hardly I'll add you to the blacklist before I run it again. B mobile phone On Jul 30, 2013, at 2:05 AM, Ernie Brodeur notifications@github.com wrote: How is this exactly a public service? This seems like 'ooo come look at my projects', which I won't be clicking As for this 'bundler now generates gems with a default', it always has. I In the future, don't comment on any of my other projects. I intend to fix — |
Hey Ben, You are right, I was unduly critical because to me at the time it seemed like spam. For that I apologize. I don't think you need to blacklist my stuff, again, unduly critical. One thing that really might improve this, is having your project cut out a patch and either scan for the LICENSE or by default, put an MIT one there. Part of the reason this bugged me, is it was a simple typo. My newer gemfiles link to my license because I use better bones now then I did then. It didn't seem you were actually looking at my project, more just mass harvesting all messed up gemspecs on rubygems. Which leads me to another question, how do you scan packages? Is it based purely on rubygems with homepages on github? |
Thanks for your words. I'd like to generate a pr, but, besides that it would be complicated I wrote up my steps to create issues at bf4/gemproject/issues/1 better Any thoughts on how I could sound less spammy? I revise the text |
Less is more. As long as you put 'pr' into it, it will be spam as it is unsolicited and marketing. You might be better off writing tools to assist people in determining the license, on it's own page, and just linking. |
Awesome! 🌈 I don't know if you want to continue the conversation, but I don't fully understand what you wrote above.
|
For reference, see bf4/gemproject#5 |
RubyGems.org doesn't report a license for your gem. This is because it is not specified in the gemspec of your last release.
via e.g.
Including a license in your gemspec is an easy way for rubygems.org and other tools to check how your gem is licensed. As you can image, scanning your repository for a LICENSE file or parsing the README, and then attempting to identify the license or licenses is much more difficult and more error prone. So, even for projects that already specify a license, including a license in your gemspec is a good practice. See, for example, how rubygems.org uses the gemspec to display the rails gem license.
There is even a License Finder gem to help companies/individuals ensure all gems they use meet their licensing needs. This tool depends on license information being available in the gemspec. This is an important enough issue that even Bundler now generates gems with a default 'MIT' license.
I hope you'll consider specifying a license in your gemspec. If not, please just close the issue with a nice message. In either case, I'll follow up. Thanks for your time!
Appendix:
If you need help choosing a license (sorry, I haven't checked your readme or looked for a license file), GitHub has created a license picker tool. Code without a license specified defaults to 'All rights reserved'-- denying others all rights to use of the code.
Here's a list of the license names I've found and their frequencies
p.s. In case you're wondering how I found you and why I made this issue, it's because I'm collecting stats on gems (I was originally looking for download data) and decided to collect license metadata,too, and make issues for gemspecs not specifying a license as a public service :). See the previous link or my blog post aobut this project for more information.
The text was updated successfully, but these errors were encountered: