Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8707

Inconsistency between Image Builder and Repositories service display

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None
    • Image Builder 4
    • None

      This ticket tracks the work for GitHub Issue #3008.

      All technical details and discussion can be found in the original issue:

      https://github.com/osbuild/image-builder-frontend/issues/3008
      The Repositories service API returns a label and name for each distribution_arch and distribution_version.

      Here's an example:

      While the Repositories service uses name to display values in its table view, Image Builder uses the label. This should be fixed, because while both are mostly the same, this leads to lowercase any in Image Builder and capitalized Any in Repositories.

      The code that translates these two values in Repositories can be found here: https://github.com/content-services/content-sources-frontend/blob/main/src/Hooks/useArchVersion.tsx#L15

       


       
       
       

       

        1. Screenshot 2025-06-18 at 12.09.59.png
          47 kB
          Michal Gold
        2. Screenshot 2025-06-18 at 12.09.03.png
          91 kB
          Michal Gold
        3. Screenshot 2025-06-18 at 12.08.19.png
          71 kB
          Michal Gold

              Unassigned Unassigned
              mgold@redhat.com Michal Gold
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: