aboutcode-org / aboutcode-org/scancode-toolkit

No consolidated packages are created when using the --consolidate option

Open
#3,251 3 comments 0 reactions 1 assignee Claimed by @JonoYang View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.