Since i386 arch in rawhide moved to a secondary arch, the external repos description matching both x86_64 and i386 URL just with the value of $arch needs to be fixed manually to continue to work with the new layout.
Could koji accept metalink to transparently handle such cases ?
Can I get a bit more detail here? What are the urls and why is the $arch value incorrect?
My local koji setup builds packages for x86_64 and i386.
Previously, my external repo URL for rawhide looked like that "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/$arch/os/", and it worked fine until Fedora moved recently the content for i386 to the fedora-secondary tree.
Now, to make my external repo definition still match both x86_64 and i386 arches, I had to install some symlinks mirror-side, to make a unique external-repo definition match both arches : "http://rpmfind.net/linux/local/fedora-rawhide/$arch/os/"
That's the reason why I think that metalink should probably be handled somewhere, maybe at the koji level, maybe at the mergerepo level.
a workaround could be to add the two repos as arch specific and let mergerepos filter out the rpms for the non matching arches
Yes, I tried this method and it works. Thanks for the help.
Metadata Update from @tkopecek: - 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/koji/koji/issues/160
Please continue any further discussion there.