@walters, @jlebon, PTAL
This should be using metalink urls.
i'm not sure if rpm-ostree supports metalink - I just tried it with metalinks with this file:
[fedora-26] name=Fedora 26 - x86_64 failovermethod=priority baseurl=https://mirrors.fedoraproject.org/metalink?repo=fedora-26&arch=x86_64 enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-$basearch skip_if_unavailable=False [fedora-26-updates] name=Fedora 26 updates - x86_64 failovermethod=priority baseurl=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f26&arch=x86_64 enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-$basearch skip_if_unavailable=False [fedora-26-updates-testing] name=Fedora 26 updates testing - x86_64 failovermethod=priority baseurl=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f26&arch=x86_64 enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-$basearch skip_if_unavailable=False
and I get this error:
[root@rpm-ostree ~]# rpm-ostree compose tree --repo=/root/repo --cachedir=/sharedfolder/cache/rpm-ostree /sharedfolder/code/pagure.io/fedora-atomic/fedora-atomic-docker-host.json No previous commit for fedora/26/x86_64/atomic-host error: cannot update repo 'fedora-26': repomd.xml parser error: Element <repomd> was not found - Bad repomd file
rpm-ostree :arrow_right: libdnf :arrow_right: librepo, so it's going to work the same for every libdnf consumer.
The bug is you need metalink= instead of baseurl=. In general, we should have a SOP to copy the git repo for fedora-repos.
metalink=
baseurl=
rpm-ostree ➡ libdnf ➡ librepo, so it's going to work the same for every libdnf consumer.
I thought so. Wasn't sure why it wasn't working for me :(
+1 fixed. and I also synced the entries in the file with their counterparts in fedora-repos.
rebased
@ausil, updated to use metalinks
lets not use hard coded arches anywhere please.
fine, but i am going to hardcode the release because we it wouldn't make sense considering we are on the f26 branch
Pull-Request has been merged by ausil