-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't workingdesign neededDesign details needed to complete the issueDesign details needed to complete the issueenhancementNew feature or requestNew feature or request
Description
Describe the bug
"Scan all Packages" Action does not update Product-Package assignments, unlike "Improve Packages from PurlDB"
To Reproduce
Steps to reproduce the behavior:
- Get the test SBOM.
curl --remote-name https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tgz.spdx.json
- Create a Product in DejaCode v5.4.0. Execute
import SBOM
on the downloaded SBOM. - Review results. My test imported 31 Packages to the Product Inventory, all with concluded license of
unknown
. - Run "Scan all Packages". My test found and updated the license assignments for most of the Packages. None of the Product-Package license assignments were updated.
- Run "Improve Packages from PurlDB". My test resulted in some updates to Product-Package license assignments.
- if you Edit Product-Packages with the
unknown
license assignment you can update it with the scanned license key which is shown in the edit form, but that is a laborious, error-prone, and time-consuming manual process.
Expected behavior
The "Scan all Packages" Action should treat all Product-Package license assignments set to unknown
as if the license assignment is null and update the Product-Package license assignment from the scan results.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdesign neededDesign details needed to complete the issueDesign details needed to complete the issueenhancementNew feature or requestNew feature or request
Type
Projects
Status
Todo ready