Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to audit the licenses of all of packages you depend on #7473

Open
DougGregor opened this issue Apr 19, 2024 · 0 comments
Open

Add a way to audit the licenses of all of packages you depend on #7473

DougGregor opened this issue Apr 19, 2024 · 0 comments

Comments

@DougGregor
Copy link
Member

Description

It would be nice to have a way to retrieve the licenses for all of the packages that a given package depends on, to help automate an audit of licenses for compatibility. Something like

swift package licenses

Expected behavior

This command could produce a listing of each package dependency (recursively) and the license they hold (if it's recognized), with a link to each license file to make it easy to walk through them. Perhaps sort by license so it's easy to skip past known-good licenses.

Actual behavior

No response

Steps to reproduce

No response

Swift Package Manager version/commit hash

No response

Swift & OS version (output of swift --version && uname -a)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant