aboutcode-org / aboutcode-org/scancode-toolkit

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

Abierto
#3,004 0 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

### 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**

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.