aboutcode-org / aboutcode-org/scancode-toolkit

`is_manifest` flag is not accurately determined

Open
#4,225 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue package-formats
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.