You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating SBOMs for some packages, alma-sbom fails with the following error.
Traceback (most recent call last):
File "/home/khwarizmi/git/alma-sbom/alma_sbom.py", line 712, in <module>
cli_main()
File "/home/khwarizmi/git/alma-sbom/alma_sbom.py", line 687, in cli_main
sbom = get_info_about_package(
File "/home/khwarizmi/git/alma-sbom/alma_sbom.py", line 252, in get_info_about_package
source_rpm, package_nevra = _get_specific_info_about_package(
File "/home/khwarizmi/git/alma-sbom/alma_sbom.py", line 150, in _get_specific_info_about_pack
age
epoch=immudb_metadata['epoch'],
KeyError: 'epoch'
I'm considering two approaches to address this issue:
Since epoch is one of the basic version information elements, we could terminate with an error when epoch is missing.
From a user's perspective, according to RPM specifications, we could treat a missing epoch as equivalent to 0 and proceed with processing.
I don't fully understand how immudb is handled on ALBS, so I can't determine which approach is correct. This package is included in the 9.4 DVD ISO image, so from the ISO-SBOM specification perspective (#41), I would prefer approach 2, but I'm not sure if this is the right choice.
Do you have any advice?
The text was updated successfully, but these errors were encountered:
When data cannot be retrieved from immudb, or when data for package is
missing, if the --rpm-package option was used to specify an rpm package,
I made it so that the rpm package is used to supplement the information.
The following issues have been partially fixed.
- AlmaLinux#42
- AlmaLinux#44
And the following issues have been fixed.
- AlmaLinux#26
When data cannot be retrieved from immudb, or when data for package is
missing, if the --rpm-package option was used to specify an rpm package,
I made it so that the rpm package is used to supplement the information.
The following issues have been partially fixed.
- AlmaLinux#42
- AlmaLinux#44
And the following issues have been fixed.
- AlmaLinux#26
When generating SBOMs for some packages, alma-sbom fails with the following error.
step to reproduce:
The immudb record like below.
I'm considering two approaches to address this issue:
I don't fully understand how immudb is handled on ALBS, so I can't determine which approach is correct. This package is included in the 9.4 DVD ISO image, so from the ISO-SBOM specification perspective (#41), I would prefer approach 2, but I'm not sure if this is the right choice.
Do you have any advice?
The text was updated successfully, but these errors were encountered: