aboutcode-org / aboutcode-org/scancode-toolkit

`is_manifest` flag is not accurately determined

Abierto
#4,225 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug good first issue package-formats
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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.

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.