aboutcode-org / aboutcode-org/scancode-toolkit

Add new incorrect SPDX license ids from typos in Fedora and elsewhere: GPL-3.0-or-only and LGPL-3.0-or-only

Đang mở
#3,911 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

See https://src.fedoraproject.org/rpms/supertuxkart/blob/rawhide/f/supertuxkart.spec#_17
`License: GPL-2.0-or-later AND GPL-3.0-or-only AND CC-BY-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND OFL-1.1 AND Apache-2.0 AND Zlib`

`GPL-3.0-or-only` is not a valid SPDX identifier. We should treat this as a `GPL-3.0-only` "other_spdx_key" for the `gpl-3.0` scancode license. Same for other errors listed below.

Reported by @hesa
Ping: @xsuchy something of interest to you

Beyond Fedora, we have also these other variants and incorrect ids:

- incorrect `GPL-3.0-or-only` at https://github.com/kkzzhizhou/scoop-apps/blob/39f01d2cdf69c646768f0d122f1e003d4a13a8da/bucket/purewriter_chawyehsu.json#L5
- incorrect `GPL-3.0-or-only` at https://aur.archlinux.org/packages/nuc970-nuwriter-git in Arch maintained by @taotieren also at https://github.com/taotieren/aur-repo/blob/aa453f4ff54b723479035a58e542ff9255d0b552/aur-repo/nuc970-nuwriter-git/PKGBUILD#L12
- incorrect `LGPL-3.0-or-only` at https://github.com/valgur/conan-center-index/blob/90949d92ce7a0661eb490a50c6f23879460cf6c1/recipes/casadi/all/conanfile.py#L16 by @valgur
- incorrect `GPL-2.0-or-only` in older Alpine https://github.com/alpinelinux/aports/blame/e284ee4af8b2ebe9699a7125205be34db120bfc3/testing/kbackup/APKBUILD#L9 and https://github.com/alpinelinux/aports/blame/e284ee4af8b2ebe9699a7125205be34db120bfc3/testing/kcachegrind/APKBUILD#L9
- incorrect `GPL-2.0-later` at https://github.com/getsolus/packages/blob/de57d0bb15e7377d5a99a0b0199a1d3019660584/packages/l/libid3tag/package.yml#L7
- https://github.com/linux-test-project/ltp/blob/0ac1e70cb7ec9cd6cf731dae676eb7af2206fa6d/testcases/kernel/syscalls/setreuid/setreuid07.c#L1
- https://github.com/ToolmanP/erofs-rs/blob/e2a9e2188ae7029f390bdbb5ce3bce1a33c4abd6/mkfs/src/main.rs#L2
- https://github.com/search?q="GPL-2.0-later"&type=code
- incorrect `LGPL-2.0-later` https://github.com/infinitymdm/packages/blob/61ba3ee5002d99c7858131b3e10efb0a92d27821/packages/l/libdbusmenu-qt/package.yml#L6

And also:
- https://opensource.stackexchange.com/questions/9557/upstream-re-licensing-project-from-gpl-3-0-to-mit-allowed

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.