Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Licence restriction via regular expression #9

@sebbonnet

Description

@sebbonnet

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Licences often have many versions of their text. For instance GPL counts 19 known licence versions ranging from GPL-1.0 to GPL-3.0-with-GCC-exception according to SPDX.
Although it is possible to list all restricted licences exhaustively, it feels cumbersome and does nothing to prevent future versions from falling through the gaps.

It would be great to be able to support regular expressions so we can express the restriction in a more generic way - e.g. -r MPL* to restrict all MPL licences

Describe alternatives you've considered
Support for restriction based on semantic versioning doesn't seem workable, given that some licence identifiers do not follow that convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions