Skip to content

SPDX validation should consider LicenseRef-* that are not in the database #109

Description

@Joerki

The current validation of SPDX expressions includes the lookup of SPDX and LicenseRef-scancode-* items in the database.

It would be useful to also assume custom LicenseRef-* items as valid that are not starting with LicenseRef-scancode-*.

This changed behavior could be achieved by having a new bool parameter like "allow_custom_licenserefs" with False as default to mark existing behavior.

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