aboutcode-org / aboutcode-org/scancode-licensedb

Wrong format for exceptions?

未關閉
#71 2 則留言 0 個 reaction 已指派 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 摘要。