aboutcode-org / aboutcode-org/scancode-toolkit

Invalid copyright not detected

Offen
#3,659 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
copyright scan easy good first issue
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.