aboutcode-org / aboutcode-org/scancode-toolkit

Duplicated output when running Scancode in verbose mode

未關閉
#3,093 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### Description

When running Scancode in verbose mode (`-v` flag), the files listed in output are duplicated and it looks they are scanned two times.
According to @pombredanne, this is a bug and needs to be reported.

### How To Reproduce

I experienced this bug when scanning https://github.com/Azure/azure-sdk-for-net.git with the command:
`scancode --copyright --license --info --strip-root --timeout 300 --max-in-memory 5000 --processes 3 . --json-pp /tmp/result.json -v`

The output looks like this:
```
[...]
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/README.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/README.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/CONTRIBUTING.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/CONTRIBUTING.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/SECURITY.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/SECURITY.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/NOTICE.txt
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/NOTICE.txt
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/.config/dotnet-tools.json
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/.config/dotnet-tools.json
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/swagger_to_sdk_config.json
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/swagger_to_sdk_config.json
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/SUPPORT.md
Scanned: /home/nino/IdeaProjects/Tests/azure-sdk-for-net/SUPPORT.md
[...]
```

### System configuration

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

* What OS are you running on? Debian Bullseye
* What version of scancode-toolkit was used to generate the scan file? 31.1.0
* What installation method was used to install/run scancode? pip

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。