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

images: support loading repositories with list of baseurls

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Image Builder
    • None

      The repos format loaded by images is different from rpmmd.RepoConfig. The on-disk format has `BaseURL string` while RepoConfig has `BaseURLs []string`. When using image-builder to generate manifests in osbuild-composer, we need to write a repos file to disk for image-builder to pick up. To do this, we need to write it in a format that IB can load (using rpmmd from images).

      We should make the repo config loader also support BaseURLs []string. For backwards compatibility, we should keep BaseURL string as well. Both should be allowed and for simplicity, we can merge them (append BaseURL to BaseURLs).

      This is the same as what we did for GPGKeys.

              Unassigned Unassigned
              akoutsou@redhat.com Achilleas Koutsou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: