checks your go dependencies for contraband licenses
If you don't have an .anderson.yml in your current directory then a listing
of your dependencies and their license types are shown.
If you add a .anderson.yml file then your dependencies will be checked for
valid licenses. The syntax of this file can be found below.
Godeps is the only supported dependency manager at the moment.
go get -u github.com/xoebus/anderson
You can configure anderson to be more or less lenient when checking you
dependencies. A file called .anderson.yml in the root of your Go package will
be checked when you run it.
---
whitelist:
- MIT
blacklist:
- GPL
exceptions:
- github.com/xoebus/greylistThe whitelisted section is for licenses that are always allowed. Conversely, the blacklist section is for licenses that are never allowed an will always fail a build. Any licenses that are not explicitly mentioned are considered to be in a "greylist" and will need to be explicitly allowed by adding the import path to the exceptions.


