dejacode icon indicating copy to clipboard operation
dejacode copied to clipboard

RFC: Display and use SPDX licenses ids throughout

Open pombredanne opened this issue 1 year ago • 4 comments

As SBOMs start to get some adoption, we should consider using SPDX license identifiers for display and reporting throughout the AboutCode stack and demote our own license keys as secondary.

  • [ ] DejaCode: Use SPDX license ids first, everywhere
  • [ ] ScanCode.io: Use SPDX license ids first, everywhere
  • [ ] PurlDB: Use SPDX license ids first, everywhere
  • [ ] ScanCode Toolkit: Use SPDX license ids first, everywhere
  • [ ] inspectors: Use SPDX license ids first, everywhere

pombredanne avatar Nov 14 '24 11:11 pombredanne

This proposed enhancement is a rather major fundamental change. For DejaCode, perhaps an alternative, less invasive, approach would be to provide flyover/tool-tip SPDX license ids everywhere that we display a DejaCode/SCTK license id. We can try that approach in all the places where we have a UI, and figure out something for SCTK and the Inspectors.

DennisClark avatar Feb 05 '25 23:02 DennisClark

I am concerned about the high verbosity of license expressions with frequent repetition of Licenseref-Scancode. Perhaps this should be some user or dataspace display option.

mjherzog avatar Feb 05 '25 23:02 mjherzog

Please note that the LicenseRef-scancode* licenses are generally the least commonly used ones.

DennisClark avatar Feb 05 '25 23:02 DennisClark

I am concerned about the high verbosity of license expressions with frequent repetition of Licenseref-Scancode. Perhaps this should be some user or dataspace display option.

@mjherzog you have a point, and we could devise a way to shorten them, but as @DennisClark pointed out these are less common.

pombredanne avatar Feb 06 '25 15:02 pombredanne