jslicense / licensee.js

check dependency licenses against rules
https://www.npmjs.com/package/licensee
Apache License 2.0
185 stars 23 forks source link

Support rule generation from Blue Oak Council list #43

Closed kemitchell closed 5 years ago

kemitchell commented 5 years ago

This PR adds a --blueoak RATING flag and blueOak configuration property for .licensee.json to automatically generate a license rule based on Blue Oak Council's permissive license list and ratings.

In a nutshell, this addresses a long-running feature request for a "permissive-only" option.

ronkorving commented 5 years ago

This is awesome :) Up til now I implemented this manually in my own solution, but this allows me to simplify that a lot.

One question though: can this be used in combination with "license"? That's unclear from the readme (it says: Instead of a license property, you can specify a minimum Blue Oak Council license rating).

I want to be able to configure: blueOak bronze + license list (CC-BY-1.0, etc). Can I do that? (in API - I don't use the CLI)

kemitchell commented 5 years ago

@ronkorving there are some changes coming in spdx-satisfies. When those land, I’ll redo license whitelisting in licensee. I have Blue Oak + CC in mind, too.