#1386 document $basearch behavior for gather_lookaside_repos
Closed: Fixed by hlin. Opened by ktdreyer.

I have the following configuration:

gather_lookaside_repos = [
    ("^.*$", {
        "x86_64": [
            "http://pulp.example.com/content/dist/rhel8/8/x86_64/baseos/os/",
            "http://pulp.example.com/content/dist/rhel8/8/x86_64/appstream/os/",
            "http://pulp.example.com/content/dist/layered/rhel8/x86_64/ansible/2.9/os/",
        ],
        "ppc64le": [
            "http://pulp.example.com/content/dist/rhel8/8/ppc64le/baseos/os/",
            "http://pulp.example.com/content/dist/rhel8/8/ppc64le/appstream/os/",
            "http://pulp.example.com/content/dist/layered/rhel8/ppc64le/ansible/2.9/os/",
        ],
    }),
]

@ahills suggested I can simplify this with $basearch, but there is nothing in the documentation about this, and I can't find anything in Pungi's source code about this.

Would you please document the behavior of $basearch in gather_lookaside_repos? In particular I'm wondering:

  1. Will Pungi use the compose host's architecture, or how does it choose the value to substitute there?
  2. How does this behave if I specify "*" instead of specifying each architecture key "x86_64", "ppc64le", etc.

Fixed with PR https://pagure.io/pungi/pull-request/1400

Metadata Update from @hlin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1386

Please continue any further discussion there.

Metadata