ProjectScaffold icon indicating copy to clipboard operation
ProjectScaffold copied to clipboard

license options

Open bleis-tift opened this issue 9 years ago • 2 comments

By default, the license is Unlicense. I want to select it from some licenses(ex. GPL, MIT, CC0, ...).

bleis-tift avatar Mar 19 '15 09:03 bleis-tift

Ditto this. init.fsx could be updated to ask the user what kind of license they want to use, and supply a few options; if the user likes any of the specified options, grab the text from the appropriate URL (I tend to go straight for choosealicense.com as they have a nice listing, and provide a link to the source) and dump it into LICENSE.txt, perhaps adding commentary about adding the header blocks (for licenses that suggest adding them)?

Seems like an easy enough change that I'd be happy to prototype and do a pull request for, if anyone wants to suggest an appropriate way to ask the user to make a selection, and an acceptable list of licenses to choose from. My first thought on how to select is just give a numbered list; second thought is make the user type in the acronym for the desired license (little more annoying for Apache). As for license choices, I assume we'd want the basics:

  • Apache
  • GPL (include both v2 & v3?)
  • MIT
  • BSD
  • LGPL (I use v2.1 frequently for personal projects I'm likely to use at work)
  • "None" should probably be an option
  • and CC0 as @bleis-tift mentioned

allykzam avatar May 28 '15 13:05 allykzam

I would be happy to accept a PR

jackfoxy avatar May 26 '18 17:05 jackfoxy