aboutcode-org / aboutcode-org/scancode-toolkit
Scancode --package of composer lock takes a long
- 主要语言
- Python
- 星标
- 2.6k
- 派生
- 791
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 5
描述
With this file (that has ~ 1600 dependencies) https://raw.githubusercontent.com/PrestaShop/PrestaShop/8.0.3/composer.lock , I run this:
```
scancode --package --json-pp compos.json ~/tmp/composer.lock
Setup plugins...
Collect file inventory...
Scan files for: packages with 1 process(es)...
[####################] 2
Scanning done.
Summary: packages with 1 process(es)
Errors count: 0
Scan Speed: 0.01 files/sec.
Initial counts: 1 resource(s): 1 file(s) and 0 directorie(s)
Final counts: 1 resource(s): 1 file(s) and 0 directorie(s)
Timings:
scan_start: 2023-04-11T141512.757914
scan_end: 2023-04-11T141751.900509
setup_scan:licenses: 4.46s
setup: 4.46s
scan:packages: 154.08s
scan: 154.63s
output:json-pp: 66.17s
output: 66.17s
total: 225.31s
Removing temporary files...done.
```
Once the file has been scanned, it takes a long time to complete and there is no progress provided. There is something fishy as the "scan" step proper takes only a few seconds. I surmise it could be some runaway loop in the new license detection code?
贡献指南
评估
这个 Issue 还没有评估数据。