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 new attributes to the report #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

basti1302
Copy link

Hey there,

I needed something very similar, just with a few more columns in the final report, so I took your package as a basis and extended it. I wonder if you might be inclined to incorporate the changes. Let me know if that sounds like an option, I'd probably would need to add some test cases before this should be merged.

New attributes:

  • license version (for licenses that are versioned, like Apache-1.0 vs
    Apache-2.0),
  • SPDX ID without the version suffix,
  • link to license file,
  • copyright holder,
  • copyright year

All mentioned attributes are computed in a best effort, that is, there
is no guarantee that the implementation will find the respective values
even if it might be available in the package metadata or license file.

Also:

  • add safeguard around read-package-tree
  • sort packages by name and version before printing the report

* license version (for licenses that are versioned, like Apache-1.0 vs
  Apache-2.0),
* SPDX ID without the version suffix,
* link to license file,
* copyright holder,
* copyright year

All mentioned attributes are computed in a best effort, that is, there
is no guarantee that the implementation will find the respective values
even if it might be available in the package metadata or license file.

Also:
- add safeguard around read-package-tree
- sort packages by name and version before printing the report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant