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 摘要。