We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfad95 commit 787416aCopy full SHA for 787416a
1 file changed
scanpipe/pipes/matchcode.py
@@ -402,13 +402,14 @@ def create_packages_from_match_results(project, match_results):
402
matched_packages = match_results.get("packages", [])
403
for matched_package in matched_packages:
404
package_uid = matched_package["package_uid"]
405
+ match_status = matched_package.get("extra_data", "matchcodeio_match_status")
406
resource_paths = resource_paths_by_package_uids[package_uid]
407
resources = project.codebaseresources.filter(path__in=resource_paths)
408
create_package_from_purldb_data(
409
project,
410
resources=resources,
411
package_data=matched_package,
- status=flag.MATCHED_TO_PURLDB_PACKAGE,
412
+ status=match_status,
413
)
414
match_resources = match_results.get("files", [])
415
for match_resource in match_resources:
0 commit comments