
From Barak Korren <bkorren@redhat.com>:
Barak Korren has submitted this change and it was merged. Change subject: Make mirrors DNF (Fedora) compatible ...................................................................... Make mirrors DNF (Fedora) compatible DNF lookes for repo metadate files in the place pointed to by the baseurl tag as opposed to next to the repomd.xml file which is where YUM looks for them. To make the mirrors compatible with DNF, the snapshots have been changed to contain only the repomd.xml file, while all other metadata files are stored in the mirror's 'base' directory. To maintain YUM compatibility, HTTPD rewrite rules need to be configured as specified in a comment in the mirror_mgr.sh script. This patch also includes a change to the mirror_client.py script to make it handle repos with 'metalink' configuration properly. Change-Id: I9a20283ec74bb82b8d672389527edc99594f7012 Jira-Ticket: https://ovirt-jira.atlassian.net/browse/OVIRT-1112 Signed-off-by: Barak Korren <bkorren@redhat.com> --- M scripts/mirror_client.py M scripts/mirror_mgr.sh M test/test_mirror_client.py 3 files changed, 40 insertions(+), 21 deletions(-) Approvals: Sandro Bonazzola: Looks good to me Barak Korren: Verified; Looks good to me, approved; Ready for merge Gil Shinar: Looks good to me Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/72275 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9a20283ec74bb82b8d672389527edc99594f7012 Gerrit-PatchSet: 2 Gerrit-Project: jenkins Gerrit-Branch: master Gerrit-Owner: Barak Korren <bkorren@redhat.com> Gerrit-Reviewer: Anton Marchukov <amarchuk@redhat.com> Gerrit-Reviewer: Barak Korren <bkorren@redhat.com> Gerrit-Reviewer: Daniel Belenky <dbelenky@redhat.com> Gerrit-Reviewer: Eyal Edri <eedri@redhat.com> Gerrit-Reviewer: Gil Shinar <gshinar@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nadav Goldin <ngoldin@redhat.com> Gerrit-Reviewer: Pavel Zhukov <pavel@zhukoff.net> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo@redhat.com> Gerrit-Reviewer: Shlomo Ben David <sbendavi@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>