aboutcode-org / aboutcode-org/scancode-toolkit

When scanning structured documents, use the structure!

未关闭
#2,868 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
license scan
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

We are scanning markup as plain text such as a JSON, YAML, XML, or HTML files and so on (not when these are package manifests).
We should instead parse these are treat them as a structure. For instance, it does not make sense to detect a single license across multiple attributes in a JSON file.

This would help removing a class of false positive. We are already doing special pre-processing for PDF and binaries... This would just extend the practice to more file formats.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。