aboutcode-org / aboutcode-org/scancode-toolkit

Invalid copyright not detected

Ouverte
#3,659 13 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
copyright scan easy good first issue
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

`[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)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.