aboutcode-org / aboutcode-org/scancode-toolkit

Repeated package and dependency results when scanning extracted rubygem

Open
#3,072 0 comments 0 reactions 0 assignees View on GitHub
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

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.