-
Notifications
You must be signed in to change notification settings - Fork 13
Enhancement request: Automatically create PackageSets for Packages in DejaCode #276
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
Comments
Note that if you select multiple packages from the package list, and use the "Add to > Component" action, the "Add Component from Package data" feature is available. There's also a |
Philippe reminded me recently about package-sets so it may be the case that it would be more valuable to add package-sets to DejaCode than create Component records. |
@JonoYang Could you provide some resources about package-set implementations and usages so we have a base to look at how we could bring those features into DejaCode? Thanks! |
Here's the package set model: https://github.com/aboutcode-org/purldb/blob/main/packagedb/models.py#L1408 It is used at https://github.com/aboutcode-org/purldb/blob/main/packagedb/models.py#L535 This model is used to get sets of packages that are related to one another, e.g. for log4j, this could include packages for the binary(log4j.jar), sources (log4j-sources.jar), and the development repo source package (archive from github). We would put those three packages into the same package set to show that they are related, even though they have different purls. These packages have an attribute
The
We create package sets and add packages to package sets in We have this management command that creates package for source repos of purls listed in an xlsx sheet: https://github.com/aboutcode-org/purldb/blob/main/packagedb/management/commands/create_source_repo_packages.py |
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
First iteration on Package Set merged in #305
Let's keep this ticket open for designing the next steps. |
New document created to record requirements, design details, etc. |
@DennisClark The overall design makes sense. Although there are cases where packages of different types may be related, it makes sense to limit package sets to one type per set and deal elsewhere with the relationship between/among package types. |
@mjherzog thanks for the feedback. I still have the big task of suggesting UI improvements in the design; I have some ides, but it will take a little while to articulate them. |
As the volume of Packages and Package Versions is rapidly increasing, the value of a DejaCode Component as a summary record for packages increases accordingly - both as a summary for a project and as a way to group Packages for a Component.
This seems to be an opportunity for machine learning to periodically create or update Component records for Packages stored in DejaCode. It will require design work and an iterative process based on patterns for data package types.
The text was updated successfully, but these errors were encountered: