Bug 948788

Summary: do not put metalink URL in mirrorlist= field in the repo files
Product: [Fedora] Fedora Reporter: Ales Kozumplik <akozumpl>
Component: fedora-releaseAssignee: Dennis Gilmore <dennis>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dennis, jzeleny, tmlcoch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-08 16:32:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ales Kozumplik 2013-04-05 12:48:10 UTC
Lines like this in the repo:

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch

only work because yum searches the URL for the 'metalink?' string. This behaviour makes processing the config files and setting up repositories quite complex. Let's start making this right by fixing the repo files, e.g. to something like:

metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch

Comment 1 Dennis Gilmore 2013-07-08 16:32:16 UTC
Just committed a build changing mirrorlist to metalink in rawhide

Comment 2 Ales Kozumplik 2013-09-16 10:55:53 UTC
Commit f19fc52 addresses this change in DNF (i.e. simplifies the repo configuration code).

Comment 3 Tomas Mlcoch 2013-09-17 12:28:38 UTC
Librepo, since 636e7ef, consider LRO_MIRRORLIST (the option that accepts mirrorlist url as well as metalink url) as s deprecated option and brings LRO_MIRRORLISTURL and LRO_METALINKURL instead.