aboutcode-org / aboutcode-org/scancode.io

Inconsistent file metadata value

Đang mở
#2,172 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

For the `.kotlin_module` file, I believe this is a binary file, so `is_text` should be set to *False* and `is_binary` to *True*, which is correct in SCTK.
```
"files": [
{
"path": "wisp-logging.kotlin_module",
"type": "file",
"name": "wisp-logging.kotlin_module",
"base_name": "wisp-logging",
"extension": ".kotlin_module",
"size": 51,
"date": "1980-01-31",
"sha1": "d42d499d7a0dc593b505e40e5cf88c134ba369cd",
"md5": "5c21479c92f9a0c17d94cb32332f0ac1",
"sha256": "7e326e0855b42d282ee50be30c1f18b56a57f6e61f1ed28a415f04b006e855a5",
"sha1_git": "d0e1fcf3513e6931d604e6f9d2b69ec83cd79e07",
"mime_type": "application/octet-stream",
"file_type": "data",
"programming_language": null,
"is_binary": true,
"is_text": false,
"is_archive": false,
"is_media": false,
"is_source": false,
"is_script": false,
"files_count": 0,
"dirs_count": 0,
"size_count": 0,
"scan_errors": []
}
]
```

However, it is not the case in SCIO

Image

Test file:
wisp-logging-2025.11.11.195957-97a44b0.jar/META-INF/wisp-logging.kotlin_module
(https://repo1.maven.org/maven2/app/cash/wisp/wisp-logging/2025.11.11.195957-97a44b0/wisp-logging-2025.11.11.195957-97a44b0.jar)

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.