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

Dependency License Gathering #29

Open
Gankra opened this issue Oct 24, 2022 · 3 comments
Open

Dependency License Gathering #29

Gankra opened this issue Oct 24, 2022 · 3 comments
Labels
feature request New feature or request

Comments

@Gankra
Copy link
Contributor

Gankra commented Oct 24, 2022

Something Something Software Build Of Materials Something Something Summary File? Not sure if there's a Good tool for this yet we should just use. Not sure if there's a Standard Format to produce (iirc linux distros have some tooling around this we should interop with).

@Gankra Gankra added this to the future milestone Oct 24, 2022
@ashleygwilliams
Copy link
Member

https://github.com/opensbom-generator/spdx-sbom-generator exists and supports cargo, is probably the most mature tool. is written in go. but they do produce binaries so we may be able to install and orchestrate

@Shnatsel
Copy link

Shnatsel commented Feb 2, 2023

cargo spdx exists, but the README advises that it's not yet ready for general use.

It could be used as a starting point if for some reason you need a tool written in Rust. You might also be able to crib some code from cargo auditable - it does things like deduplication and dependency type resolution internally.

But that stuff is quite the rabbit hole that even the official cargo metadata doesn't quite handle correctly, see e.g. rust-lang/cargo#7754 and rust-lang/cargo#10718

@Gankra Gankra removed this from the future milestone Feb 16, 2023
@Gankra Gankra added the feature request New feature or request label Feb 16, 2023
@jonathanpallant
Copy link

The MIT License says that:

"The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."

If I'm publishing the binary on my Github releases area, does the binary I built count as a "copy or substantial portion" of each dependency I use? If so, how do I scrape all the relevant "above copyright notice" lines from each MIT licensed dependency?

mistydemeo added a commit that referenced this issue Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants