aboutcode-org / aboutcode-org/scancode-toolkit

Scan mismatch between "scancode-toolkit-30.1.0_py39-windows" vs. "scancode-toolkit-31.0.0rc1_py38-windows"

Aperta
#3,004 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### Description

1. A .bin file is scanned in 2 different versions of ScanCode (older & new).
2. GPL license (gpl_bare_word_only.RULE) gets detected in older version.
3. The same .bin file fails to scan in new version with an error (point 4).
4. Error - "Inconsistent rule text for: gpl_bare_word_only.RULE\nfile:///home/runner/work/scancode-toolkit/scancode-toolkit/src/licensedcode/data/rules/gpl_bare_word_only.RULE\n"

### How To Reproduce

> Scanning the .bin file in 2 versions of ScanCode. Unfortunately the .bin is a proprietary file & wouldn't be able to share.

> Command - scancode -clpi -n 1 --timeout 3600 --json .json

### System configuration

> For bug reports, it really helps us to know:

* What OS are you running on? - **Windows**
* What version of scancode-toolkit was used to generate the scan file? - **"scancode-toolkit-30.1.0_py39-windows" & "scancode-toolkit-31.0.0rc1_py38-windows"**
* What installation method was used to install/run scancode? - **Source download**

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.