aboutcode-org / aboutcode-org/scancode-toolkit

Cannot determine why consolidation returns an "unknown" in the license expressions

Aperta
#2,095 2 commenti 0 reazioni 2 assegnatari Rivendicata da @JonoYang Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

A recent scan of `pycparser-2.20.tar.gz` from
https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz
on the page at
https://pypi.org/project/pycparser/#files

returns some unexpected license results that are mysterious:
```
license_expression | "unknown AND bsd-new"
-- | --
declared_license | {…}
notice_text | null
root_path | "pycparser-2.20.tar.gz-ex…pycparser-2.20/setup.py"
dependencies | []
contains_source_code | null
source_packages | []
purl | "pkg:pypi/pycparser@2.20"
repository_homepage_url | null
repository_download_url | null
api_data_url | null
identifier | "pkg_pypi_pycparser_2_20_1"
consolidated_license_expression | "bsd-new AND unknown"
consolidated_holders | []
consolidated_copyright | "Copyright (c) "
core_license_expression | "unknown AND bsd-new"
```
The scan results also return individual license keys of bsd-new, public-domain, and lgpl-2.0-plus, but there is no "unknown" license key in the rest of the scan results, so the reader of the overall scan results has no way to determine why the various license_expression fields contain "... AND unknown" or "unknown AND ...".

[pycparser-2.20.tar.gz_scan.json.zip](https://github.com/nexB/scancode-toolkit/files/4827994/pycparser-2.20.tar.gz_scan.json.zip)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.