Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate for packages field correctly #2929 #2939

Merged
merged 6 commits into from
May 4, 2022

Conversation

JonoYang
Copy link
Member

@JonoYang JonoYang commented May 3, 2022

This PR updates the npm and pypi package file parsers assemble methods to properly associate the resources of a scanned package to that package.

    * Properly assign Package resources to correct package
    * Update test results

Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
Signed-off-by: Jono Yang <jyang@nexb.com>
    * Yield dependencies properly

Signed-off-by: Jono Yang <jyang@nexb.com>
    * Set the for_packages field for the package manifest resource whenever we are in the situation where we scan a single file that is a package manifest

Signed-off-by: Jono Yang <jyang@nexb.com>
@pombredanne pombredanne changed the title 2929 populate for packages field Populate for packages field correctly #2929 May 4, 2022
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!
Merging

@pombredanne pombredanne merged commit eb22af3 into develop May 4, 2022
@pombredanne pombredanne deleted the 2929-populate-for-packages-field branch May 4, 2022 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants