aboutcode-org / aboutcode-org/scancode-toolkit

Invalid copyright not detected

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

描述

`[C] The Regents of the University of Michigan and Merit Network, Inc. 1992,
1993, 1994, 1995 All Rights Reserved` is rare and not detected because `[C]` is not a valid copyright "sign"

We have a few other cases in https://github.com/search?q="Copyright+[C]"&type=code

The only sane resolution I can think of is to normalize these warts in text preparation:
- replace `[C] The Regents of the University` by `(C) The Regents of the University`
- replace `Copyright [c]` by `Copyright (c)` in all character cases.

`[C]` cannot be/is not a valid sign and this would otherwise trigger a badzillion of false positives as seen in https://github.com/search?q="[C]"&type=code (actually only millions, not badzillions)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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