aboutcode-org / aboutcode-org/scancode.io
Refine handling of large files in container and rootfs scans
未关闭
- 主要语言
- Python
- 星标
- 215
- 派生
- 203
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 6
描述
Based on a rootfs scan of this QCOW2: https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 , in Rocky linux and likely other RPM-based distros and other rootfs and containers too, these files take a long time to scan and we get:
`ERROR: for scanner: licenses: ERROR: Processing interrupted: timeout after 120 seconds. `
- /usr/bin/ld.bfd : this is the GNU linker and is a large ~30+ MB binary and should in general be detected separately and not scanned as a plain file
- /var/lib/rpm/rpmdb.sqlite : should not be scanned as a plain file, as this is processed using the rpm db analysis
贡献指南
评估
这个 Issue 还没有评估数据。