Skip to content

DJC: Provide new command option on Product to "Improve Packages from latest data" #45

Closed

Description

@DennisClark

Importing an SBOM into a DejaCode Product can be disappointing if the SBOM does not have much license information. A nice feature would be to provide a new command option to "Improve Packages from PurlDB" on the Product "Scan" dropdown:

Step through the Product Packages
Use the PURL to find an entry in the PurlDB
Apply PurlDB field values to empty fields in the Product Package and corresponding Package definitions.

Activity

  1. added this to the DejaCode 5.1 milestone on Feb 8, 2024
  2. DennisClark commented on Apr 1, 2024

    @DennisClark
    MemberAuthor

    Given our recent experience with importing real-world SBOMs into DejaCode with rather scant license information, I think we should raise the priority on this one.

  3. DennisClark commented on Jul 10, 2024

    @DennisClark
    MemberAuthor

    @tdruez when I click on the notification generated by the "Improve..." process, it takes me to the Product (good) but it is not marking the notification as Read, and it continues to show up in the list.

    The basic functionality of the "Improve..." process appears to be working fine, although I am still testing that.

  4. DennisClark commented on Jul 10, 2024

    @DennisClark
    MemberAuthor

    @tdruez if possible, it might be better that when I click on the notification, it would open the Product positioned on the History tab rather than the Essentials tab.

  5. changed the title [-]Provide new command option to "Improve Packages from PurlDB" on Product "Scan" dropdown [/-] [+]Provide new command option on Product to "Improve Packages from latest data"[/+] on Jul 18, 2024
  6. DennisClark commented on Jul 18, 2024

    @DennisClark
    MemberAuthor

    Let's expand this enhancement to include checking the DejaCode Package definitions for updates since a Package was initially assigned to a Product; this can be especially useful if the Package was scanned after it was assigned to the Product, such as from the "Scan all Packages" action. The primary field of interest here would be the license_expression on the Product Package, so that if that field is empty it would be eligible for refreshing from an updated Package.

  7. changed the title [-]Provide new command option on Product to "Improve Packages from latest data"[/-] [+]DJC: Provide new command option on Product to "Improve Packages from latest data"[/+] on Jul 22, 2024
  8. added a commit that references this issue on Aug 7, 2024
  9. tdruez commented on Sep 2, 2024

    @tdruez
    Contributor

    @DennisClark The #135 PR has been refined, merged, and deployed.
    The "Improve" action is now logged in the "Import" tab of the Product details view, so you can track the progress there and get the list of "Improved" packages directly from that tab.
    Feel free to close this one or to let me know about any possible improvements.

  10. DennisClark commented on Sep 3, 2024

    @DennisClark
    MemberAuthor

    @tdruez The logging of the Improve action on the Imports tab looks good, thanks. I think we can close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

HighPriorityHigh PriorityenhancementNew feature or requestintegrationIntegration with other applications

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions