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

bundle dependency license info #1342

Open
ashleygwilliams opened this issue Aug 18, 2024 · 1 comment
Open

bundle dependency license info #1342

ashleygwilliams opened this issue Aug 18, 2024 · 1 comment

Comments

@ashleygwilliams
Copy link
Member

https://github.com/sstadick/cargo-bundle-licenses

tl;dr generate a file that lists all the licenses of deps.

there are so many third party tools that do this that ideally we can leverage the best in class of them to get full coverage for all project types, but it's possible it's also "easy enough" to reimplement given that we are already excellent at finding and reading project manifest files and that using that graph as input to third party tools might be harder than just reimplementing.

@ashleygwilliams ashleygwilliams changed the title consider integrating/reimplementing cargo-bundle-licenses functionality for rust projects (ideally eventually all projects) bundle dependemcy license info Aug 18, 2024
@ashleygwilliams ashleygwilliams changed the title bundle dependemcy license info bundle dependency license info Aug 18, 2024
@Gankra
Copy link
Member

Gankra commented Aug 19, 2024

wrt doing this package-manager-independently, in an ideal world this can be broken down into several separable concerns:

  • compute dependency graph (language specific, although we potentially stitch results together into agnostic structure)
  • lookup license of a package in insert-packagemanager-here (necessarily language-specific, but produces agnostic output)
  • merge per-dep information into whatever format is needed (this part can be totally language agnostic)

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

2 participants