aboutcode-org / aboutcode-org/scancode-toolkit

Should package assembly be aware of the fact that it is processing Resources from an extracted Package archive?

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

What I mean by the title is that in the case where we are scanning a package archive, we tend to extract it first using extractcode and then we call scancode on the directory where the contents was extracted to. In that scan, we would find that extracted package archive contents are all part of the package (from the package assembly step), but the archive where those package archive resources were extracted from would not be tagged as part of the package, when it should be.

Should we update the `assemble()` methods of the different DatafileHandlers to be aware of the fact that the Resources its processing have been extracted with extractcode and that we should find the archive Resource that the Resources were extracted from?

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.