aboutcode-org / aboutcode-org/scancode-toolkit

LGPL-3.0-or-later wrongly identified as GPL-2.0-or-later

Đang mở
#3,935 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

### Description

I was scanning https://gitlab.com/tango-controls/pytango for a demo and noticed that the [following text](https://gitlab.com/tango-controls/pytango/-/blob/develop/tango/asyncio_executor.py?ref_type=heads#L7-L8) gets identified as `GPL-2.0-or-later`:

```py
# -----------------------------------------------------------------------------
# This file is part of PyTango (http://pytango.rtfd.io)
#
# Copyright 2006-2012 CELLS / ALBA Synchrotron, Bellaterra, Spain
# Copyright 2013-2014 European Synchrotron Radiation Facility, Grenoble, France
#
# Distributed under the terms of the GNU Lesser General Public License,
# either version 3 of the License, or (at your option) any later version.
# See LICENSE.txt for more info.
# -----------------------------------------------------------------------------
```

… while it seems pretty clear to be `LGPL-3.0-or-later` instead.

### How To Reproduce

tested with ScanCode-toolkit: v32.2.1 (both in CLI and through ScanCode.io)

```sh
scancode . --info --license --copyright --spdx-tv pytango.spdx
```

… and check the output

---

P.S. Happy to provide more useful bug reports on license mismatches, if there is a better way to do that.

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.