Bug 948788 - do not put metalink URL in mirrorlist= field in the repo files
Summary: do not put metalink URL in mirrorlist= field in the repo files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-05 12:48 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-08 16:32:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.