moby / tool

Temporary repository for the moby assembly tool used by the Moby project
Apache License 2.0
75 stars 65 forks source link

moby licenses cli option #147

Closed justincormack closed 6 years ago

justincormack commented 7 years ago

Should analyse package metadata for a spec and output license information.

This will need additional metadata in packages, as we have stripped the apk info from the packages, will probably need to put some back.

See also the previous license tooling that is in the linuxkit git history.

The aim should be sufficient to include BSD style acknowledgements, plus source code links for GPL code, as a minimum.

ijc commented 7 years ago

For many license (including at least the GPL & variants, Apache, but not BSD family generally) require you to provide the license text itself, it would probably be wise to arrange for some sort of Debian style /usr/share/common-licenses/ rather than ship N copies of the GPL.

justincormack commented 7 years ago

I wasn't thinking of shipping them in the image (although you could do that) but for the accompanying documentation.