aboutcode-org / aboutcode-org/scancode-licensedb

Wrong format for exceptions?

Aperta
#71 2 commenti 0 reazioni 2 assegnatari Rivendicata da @AyanSinhaMahapatra Vedi su GitHub
Lingua principale
Makefile
Stelle
67
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I was looking into the [ABNF of SPDX](https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#) 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 =
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.:
- [`LicenseRef-scancode-apromore-exception-2.0`](https://scancode-licensedb.aboutcode.org/apromore-exception-2.0.json)
- [`LicenseRef-scancode-aptana-exception-3.0`](https://scancode-licensedb.aboutcode.org/aptana-exception-3.0.json)
- [`LicenseRef-scancode-bash-exception-gpl-2.0`](https://scancode-licensedb.aboutcode.org/bash-exception-gpl.json)

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`?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.