Skip to content
New issue

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

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

Already on GitHub? # to your account

RFC: Introduce "primary package" vs. "embedded- or sub-packages" #2418

Open
1 task done
pombredanne opened this issue Mar 2, 2021 · 7 comments
Open
1 task done

Comments

@pombredanne
Copy link
Member

pombredanne commented Mar 2, 2021

Short Description

In the same way we have dependencies, we often have:

  • a package within a package such as a node_modules in an npm, mono-repos, uberjars and fatjars, and similar
  • multiple personalities for the same package (bower and npm)

We should have a heuristic to report one of these has primary and the other as sub/embedded packages.
This would likely be done in a post-scan step.
Data-wise this could be a list of Package URL similar to what we have for dependencies.

Select Category

  • Enhancement
@pombredanne
Copy link
Member Author

A few thoughts on design:

  • when a package embeds other packages, we do not want to report the files of sub-pckages as being part of these of the main parent packages
  • we would want to introduce a new embedded_packages attribute that would list sub packages in the parent

@pombredanne
Copy link
Member Author

We do not have such concept yet and this requires further design.

@pombredanne
Copy link
Member Author

@pombredanne
Copy link
Member Author

@armijnhemel
Copy link
Contributor

Related: aboutcode-org/purldb#163

@pombredanne
Copy link
Member Author

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants