aboutcode-org / aboutcode-org/scancode-toolkit
Repeated package and dependency results when scanning extracted rubygem
Open
bug
package scan
- Dominant language
- Python
- Stars
- 2.6k
- Forks
- 791
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 5
Description
I extracted a rubygem (https://rubygems.org/downloads/awesome_print-1.8.0.gem) and I scanned it with scancode-toolkit and I got repeated Package and Dependency results. The package `awesome_print` was reported 20 times, and each dependency for `awesome_print` was reported 20 times.
In `GemfileLockHandler.parse()` it appears that we yield the package and dependencies too many times.
Contributor guide
Assessment
This issue has not been assessed yet.