aboutcode-org / aboutcode-org/scancode-toolkit

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

Abierto
#3,066 0 comentarios 0 reacciones 0 asignados Ver en GitHub
design needed package scan
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.