aboutcode-org / aboutcode-org/scancode-toolkit

Different license detected for what looks like the exact same text

Ouverte
#2,831 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug license scan
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
5

Description

As a follow up for https://github.com/nexB/scancode-toolkit/issues/2798 by https://github.com/kevbroch there is a problem to track why we do not have the exact same results for these two files attached at commit https://github.com/nexB/scancode-toolkit/tree/8bd896af7052d652a9de4f0f36c37f3f62f2c8eb

On Ubuntu 20.04.2 LTS, running scancode 30.1.0 installed with pip3

bash script below:

```bash
$ cat ./scancode-bug1
#!/usr/bin/env bash
# INPUT(S):
# $1: URL of git repo

rundatetime=$(date -u +%Y%m%dT%H%M%SZ)
tmpdir=$(mktemp -d -t oss-scancode-XXXXXXXX)
ossscanwebdir=/proj/web/infra/oss-check/$0
outdir="$PWD"
mkdir -p "$outdir"
pushd "$tmpdir" || exit
curl -O https://raw.githubusercontent.com/lowRISC/opentitan/master/yum-requirements.txt
curl -O https://raw.githubusercontent.com/lowRISC/opentitan/master/toolchain.txt
head -n 3 *
scancode -l -c -p --strip-root --html "$outdir"/scancode-report.html --json "$outdir"/scancode-report.json --csv "$outdir"/scancode-report.csv .
```

[toolchain.txt](https://github.com/nexB/scancode-toolkit/files/7981466/toolchain.txt)
[yum-requirements.txt](https://github.com/nexB/scancode-toolkit/files/7981467/yum-requirements.txt)

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.