aboutcode-org / scancode-toolkit

:mag: ScanCode detects licenses, copyrights, dependencies by "scanning code" ... to discover and inventory open source and third-party packages used in your code. Sponsored by NLnet project https://nlnet.nl/project/vulnerabilitydatabase, the Google Summer of Code, Azure credits, nexB and others generous sponsors!
https://aboutcode.org/scancode/
2.14k stars 552 forks source link

proprietary licenses: report copyright holder/vendor #3319

Open armijnhemel opened 1 year ago

armijnhemel commented 1 year ago

Description

Some license rules for proprietary licenses are specific to a single vendor, yet scancode does not report the copyright holder. An example is proprietary-license_663.RULE which is specific to MediaTek. It would be useful to report the vendor.

System configuration

$ ./scancode --version
ScanCode version: v32.0.0rc3-105-g6b1c2ce1d4
ScanCode Output Format version: 3.0.0
SPDX License list version: 3.20
armijnhemel commented 1 year ago

Description

Some license rules for proprietary licenses are specific to a single vendor, yet scancode does not report the copyright holder. An example is proprietary-license_663.RULE which is specific to MediaTek. It would be useful to report the vendor.

To clarify: of course if I would enable the copyright scan I would get that information, but then I would also get a lot of other information that I might not want to know (all of the copyright statements in a project for example, sometimes I am not interested in those). Since this license already is known to be Mediatek it makes sense to flag it as such (and this is true in general for many proprietary licenses: specific to a single vendor).

mjherzog commented 1 year ago

I can see why it would be helpful to consider the supplier referenced in a proprietary-license as the copyright holder but there are some conceptual and technical considerations.

armijnhemel commented 1 year ago

I looked a bit into some of the data files and what I can see is that some of the .LICENSE files have a field called owner, for example:

---
key: ralink-firmware
short_name: Ralink Firmware License
name: Ralink Firmware License
category: Proprietary Free
owner: MediaTek
homepage_url: http://iotdk.intel.com/repos/3.0/licenses/linux-firmware/LICENCE.ralink-firmware.txt
spdx_license_key: LicenseRef-scancode-ralink-firmware
ignorable_urls:
    - http://opensource.org/licenses
---

That is basically the field that I want, so if that could be reported for more proprietary licenses it would be useful.