Skip to content

Wrong format for exceptions? #71

Description

@tschmidtb51

I was looking into the ABNF of SPDX and was wondering about the exceptions that are listed in the Scancode licensedb.

The ABNF states:

addition-expression = license-exception-id / addition-ref

with

license-exception-id = <short form license exception identifier from SPDX License List>
addition-ref = [%s"DocumentRef-"(idstring)":"]%s"AdditionRef-"(idstring)
idstring = 1*(ALPHA / DIGIT / "-" / "." )

This brings me to the conclusion that exceptions from Scancode's license DB should start with AdditionRef instead of LicenseRef. However, currently, they start with LicenseRef, e.g.:

Or is it intended to have the AdditionRef as prefix, e.g.

GPL-2.0-or-later WITH AdditionRef-LicenseRef-scancode-apromore-exception-2.0

in contrast to

GPL-2.0-or-later WITH AdditionRef-scancode-apromore-exception-2.0?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions