-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Labels
Priority: LOWRFERequest For Enhancement (as opposed to a bug)Request For Enhancement (as opposed to a bug)TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to takeSomeone on the DNF 5 team has read the issue and determined the next steps to take
Description
As I understand, Fedora's dnf uses metalinks by default. It downloads the metalink file and then selects the fastest mirror from the list. This is great for most users, but it would be beneficial to have the option to filter mirrors by location/domain. For example, this would allow users to exclude mirrors known to be out of sync or slow.
From a configuration standpoint, adding options in the main section of /etc/dnf/dnf.conf would be ideal, as users want to control all repositories at once. An example configuration is shown below:
[main]
gpgcheck=True
...
metalink_exclude_domain=^mirror1\.example\.com$
# XX is an artificial country code for testing
metalink_exclude_location=^XX$
To achieve this functionality, librepo would need to be updated to allow filtering by location/domain as well.
Metadata
Metadata
Assignees
Labels
Priority: LOWRFERequest For Enhancement (as opposed to a bug)Request For Enhancement (as opposed to a bug)TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to takeSomeone on the DNF 5 team has read the issue and determined the next steps to take
Type
Projects
Status
Backlog