aboutcode-org / aboutcode-org/scancode.io

Refine handling of large files in container and rootfs scans

Aberta
#1,461 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
215
Forks
203
Merge médio
4d 8h
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.