Skip to content

scancode: missing our pbl license in scanning the licenses #13840

Closed
@0xc0170

Description

@0xc0170

Description of defect

The license checker scancode does not recognize our Permissive Binary License , we should add it to scancode. The quick fix until the scancode is updated, similar to what we do with SPDX, finding this license and not return an error (it is permissive).

#13826 - this is PR affected, these files there have a problem:

Found files with missing license details, please review and fix
File: whd_version.h reason: Missing license header
File: 4343WA1-mfgtest_bin.c reason: Non-permissive license
File: 4343WA1-mfgtest_clm_blob.c reason: Non-permissive license
File: 4343WA1_bin.c reason: Non-permissive license
File: 4343WA1_clm_blob.c reason: Non-permissive license
File: resources.h reason: Non-permissive license
File: wifi_nvram_image.h reason: Non-permissive license
Found files with missing SPDX identifier, please review and fix
File: stm32h7_eth_init.c reason: Missing SPDX license identifier
File: PeripheralNames.h reason: Missing SPDX license identifier
File: PinNames.h reason: Missing SPDX license identifier
File: system_clock_override.c reason: Missing SPDX license identifier
File: cmsis_nvic.h reason: Missing SPDX license identifier

Implement similar function to has_spdx_text_in_analysed_file in scancode-evaluate script

@harmut01

Target(s) affected by this defect ?

Any

Toolchain(s) (name and version) displaying this defect ?

Any

What version of Mbed-os are you using (tag or sha) ?

mbed-os-6.4.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

Any

How is this defect reproduced ?

Create a PR with changing any Permissive Binary License file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions