Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1010

Handle empty arch field in package information parser

XMLWordPrintable

    • False
    • False
    • Hide

      None

      Show
      None
    • 2
    • 2023-Q2
    • Testable

      During the development of https://issues.redhat.com/browse/RHELC-885, we had to introduce a new way of getting package information, such as: NEVRA, fingerprint and signature.

      This introduced the addition of the get_installed_pkg_information function, which gather those package information through RPM binary calls. In rare cases, like the gpg-pubkey package, the arch field is missing, leading the output to filled with a ".(none)". This breaks the parser for the get_installed_pkg_information function, leaving us without the gpg-pubkey packages to be processed during the conversion.

      Example package: gpg-pubkey-0:2f86d6a1-5cf7cefb

      Acceptance Criteria

      • Parse the packages that don't have arch defined in RPM output and assign a None value internally for them.

              rolivier@redhat.com Rodolfo Olivieri
              rolivier@redhat.com Rodolfo Olivieri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: