Skip to content

Add purl-component mapping for faster component lookup

Jonathan Howard requested to merge purl-component-mapping into next

Checklist

  • documentation is changed or added in ./docs
  • unit tests updated to test changes

Description

  • Add lookup mapping PURL strings to Component objects
  • Add Component.find method to retrieve an already loaded Component object from the lookup mapping
  • Fix to ensure that result of Component.find and the same item in Sbom.consolidated_sbom.components point to the same object in memory

Closes #198 (closed)

Edited by Jonathan Howard

Merge request reports