containerbuildsystem / cachi2

GNU General Public License v3.0
5 stars 20 forks source link

Fix RPM missing checksum reporting #525

Closed brunoapimentel closed 2 months ago

brunoapimentel commented 2 months ago

This patch fixes the property that is added to the SBOM component indicating that an RPM file had its checksum missing in a processed lockfile to point to the actual lockfile path, instead of the RPM filename.

Current behavior:

  {
    "name": "cachi2:missing_hash:in_file",
    "value": "gpm-1.20.7-44.fc39.src.rpm"
  }

Fixed behavior:

  {
    "name": "cachi2:missing_hash:in_file",
    "value": "rpms.lock.yaml"
  }

Maintainers will complete the following section