aboutcode-org / aboutcode-org/scancode-licensedb

Wrong format for exceptions?

オープン
#71 コメント 2 件 リアクション 0 件 担当者 2 名 @AyanSinhaMahapatra が担当を希望しています GitHub で見る
主要言語
Makefile
スター
67
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。