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

read existing SPDX files #182

Closed
pspacek opened this issue Feb 17, 2020 · 2 comments
Closed

read existing SPDX files #182

pspacek opened this issue Feb 17, 2020 · 2 comments
Labels
wontfix This will not be worked on

Comments

@pspacek
Copy link

pspacek commented Feb 17, 2020

It would be useful if Reuse read and understood SPDX files in repo.

For example if we take minimal example from https://github.com/david-a-wheeler/spdx-tutorial and put it into a file root.spdx:

SPDXVersion: SPDX-2.1
DataLicense: CC0-1.0
PackageName: Foo
PackageOriginator: David A. Wheeler
PackageHomePage: https://github.com/david-a-wheeler/spdx-tutorial/
PackageLicenseDeclared: MIT

This content should be understood as replacement for .reuse/dep5 which is not be supported by other tools in SPDX ecosystem.

Thank you for considering this.

@mxmehl
Copy link
Member

mxmehl commented Mar 16, 2021

Just found the time to think about this. I'd rather prefer the following:

  1. Implement REUSE.yml in some sort as a replacement for dep5
  2. Add a function for the REUSE helper tool to digest a SPDX file and apply it to a repository: addheader where it's possible, .license files where necessary.

This way, existing SPDX files that can be generated by FOSSology and other tools can be a great help to make a repo REUSE compliant with a few commands.

@mxmehl mxmehl changed the title read existing SPDX files [feature request] read existing SPDX files Mar 16, 2021
@mxmehl
Copy link
Member

mxmehl commented Jun 1, 2022

So REUSE won't consider SPDX SBOMs as a data source, but I just created #533 to add some documentation how to turn SPDX files into REUSE information.

@mxmehl mxmehl closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2022
@mxmehl mxmehl added the wontfix This will not be worked on label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants