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
While working on the new errata implementation, I noticed that noarch packages are being treated as arch packages when it comes to oval data generation.
As you can see, flatpak-selinux is a noarch package but is being considered as an arch one. Let's take a look in db:
Actually, this is not a problem as pulp update record packages are getting the right arch and oval does not indicate the architecture of pkgs. This was the way to go when taking data out of RHEL's OVAL streams, because architectures are not mentioned in packages objects. It is somehow reflected in states but there's no way to figure out the architecture of a package, and for this reason, we've been adding noarch as arch packages for every supported architecture.
This involves a tiny update of the albs-web-server's load_platform_packages method and a small tweak in frontend to show noarch errata packages, as right now it only shows packages that belong to the platform's supported architectures
The text was updated successfully, but these errors were encountered:
javihernandez
changed the title
errata noarch packages are considered arch packages
errata noarch packages are partially considered as arch packages
Sep 24, 2024
javihernandez
changed the title
errata noarch packages are partially considered as arch packages
Errata noarch packages are partially considered as arch packages
Sep 25, 2024
While working on the new errata implementation, I noticed that noarch packages are being treated as arch packages when it comes to oval data generation.
As you can see,
flatpak-selinux
is a noarch package but is being considered as an arch one. Let's take a look in db:NewErrataPackages
table:NewErrataToAlbsPAckages
table:Actually, this is not a problem as pulp update record packages are getting the right arch and oval does not indicate the architecture of pkgs. This was the way to go when taking data out of RHEL's OVAL streams, because architectures are not mentioned in packages objects. It is somehow reflected in states but there's no way to figure out the architecture of a package, and for this reason, we've been adding noarch as arch packages for every supported architecture.
This involves a tiny update of the albs-web-server's
load_platform_packages
method and a small tweak in frontend to show noarch errata packages, as right now it only shows packages that belong to the platform's supported architecturesThe text was updated successfully, but these errors were encountered: