aboutcode-org / aboutcode-org/scancode-toolkit
No consolidated packages are created when using the --consolidate option
Open
bug
summaries
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
Reported by @DennisClark
When scanning `scancode-workbench-3.1.1`, using the command:
```
./scancode --copyright --license --info --package --consolidate --json scancode-workbench-3.1.1.json /scancode-workbench-3.1.1/
```
there are no entries in the top-level `consolidated_packages` field in the scan. This is happening because we are not looking for package data in the right place when processing Resources: https://github.com/nexB/scancode-toolkit/blob/develop/src/summarycode/plugin_consolidate.py#L241
Contributor guide
Assessment
This issue has not been assessed yet.