aboutcode-org / aboutcode-org/scancode-toolkit

Validate all license-digger licenses are correctly detected

Đang mở
#4,141 0 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ả

We should add as test files most of the files from KDE's license-digger originally by @cordlandwehr @kossebau and team.
- The repo is at https://invent.kde.org/sdk/licensedigger with a mirror at https://github.com/KDE/licensedigger/
- Attached is a subset of the repo with files we should test: license text, templates and test suites. This is a nice data set as there is a lot of manual curation work that went into to review all and every license headers in the many project of KDE. See [licensedigger-master-cc4b24d3fb67afa8fb0a9ef61210588958eaf0f5.zip](https://github.com/user-attachments/files/18749172/licensedigger-master-cc4b24d3fb67afa8fb0a9ef61210588958eaf0f5.zip)

I am fairly confident that we do detect all these, but we need to verify this, and we need highly accurate detection.

- Any license file text that is detected exactly by a matcher as a whole file or fragment should not be added as test, as this would be redundant.
- When a license text is detected approximately, this would be a candidate for rule addition.

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.