-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
I would like to have a function that takes an expression string as an argument and validates this expression. It could be build from Licensing.parse() but I would prefer having it return some object that tells me everything about the expression validity:
- if the syntax is valid or not and error messages if not
- what are the valid and invalid license symbols
- what are the valid and invalid exceptions
- what are the obsolete license symbols
This function should be taking either the ScanCode license DB as an input for license symbols ( https://scancode-licensedb.aboutcode.org ) or some list of symbols. It should bundle an up-to-date licenses list from ScanCode and SPDX for easy bootstrapping. For this we need aboutcode-org/scancode-licensedb#7
In addition it should also support and accept arbitrary LicenseRef- (and possibly DocumentRef- ) in SPDX mode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels