Change in jenkins[master]: Make mirrors DNF (Fedora) compatible

Code Review gerrit at ovirt.org
Thu Feb 16 11:54:06 UTC 2017


>From Barak Korren <bkorren at 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 at 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 at redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk at redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren at redhat.com>
Gerrit-Reviewer: Daniel Belenky <dbelenky at redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri at redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nadav Goldin <ngoldin at redhat.com>
Gerrit-Reviewer: Pavel Zhukov <pavel at zhukoff.net>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Shlomo Ben David <sbendavi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list