feat: Add license checking tool#11398
Conversation
powersj
left a comment
There was a problem hiding this comment.
Briefly looked through this, this needs a README on how to run it and details on the whitelist documented.
Other than the items in the whitelist, have you run into many mistakes or issues with trying to parse the licenses? I see the threshold setting and was wondering if you had to play with it to get this to work consistently?
…changed in between last tag and master.
|
@MyaLongmire and @sspaink removed the cache as discussed and added to nightly build. Please have a look and let me know what you think! |
|
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
sspaink
left a comment
There was a problem hiding this comment.
Thank you for making this!
This PR adds a small tool to verify the license information in
docs/LICENSE_OF_DEPENDENCIES.mdagainst the repository content of the individual dependencies.To run the tool first build it with
make build_toolsand then./tools/license_checker/license_checker -whitelist ./tools/license_checker/data/whitelist -cache .licenses.cache .This will use the whitelisting for
github.com/eclipse/paho.mqtt.golangand caches the classification results.