aboutcode-org / aboutcode-org/scancode-toolkit

Different license detected for what looks like the exact same text

未关闭
#2,831 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug license scan
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

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)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。