aboutcode-org / aboutcode-org/scancode-toolkit

`is_manifest` flag is not accurately determined

Đang mở
#4,225 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue package-formats
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://github.com/aboutcode-org/scancode-toolkit/blob/c326a0b6ed7dda44e40c8a436c7005672a1a53a9/src/summarycode/classify.py#L42 and `set_classification_flags` where we compute the `is_manifest` flag (for `--classify`) based on a fixed list which is outdated and a small subset of all the package manifests we detect. We should somehow parse all the `path_patterns` attributes of DataFileHandler classes at https://github.com/aboutcode-org/scancode-toolkit/blob/c326a0b6ed7dda44e40c8a436c7005672a1a53a9/src/packagedcode/__init__.py#L52 and maintain a dymanic list based on all supported manifests.

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.