Skip to content

Conversation

@pombredanne
Copy link
Member

@pombredanne pombredanne commented Jun 15, 2022

This PR has fixes for two npm issues: empty, dummy URLs and "for_packages" reported as a null/None mistakenly.

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

Signed-off-by: Philippe Ombredanne pombredanne@nexb.com

If the package_uid is None we should not assign this as the package
of a resource when doing package assemble() processing. We should
insyead skip this. This was discovered in npm, but could apply to other
package types.

Reported-by: Thomas Druez <tdruez@nexb.com>
Reference: aboutcode-org/scancode.io#448
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Reference: #2996
Reference: aboutcode-org/scancode.io#448
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
Copy link
Member Author

@tdruez this is fairly non-controversial so I am merging this now.

@pombredanne pombredanne merged commit c5744d8 into develop Jun 15, 2022
@pombredanne pombredanne deleted the scio-npm-bug-448 branch June 15, 2022 22:53
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.

2 participants