Red Hat Bugzilla – Bug 988296
rfe: allow a list of urls for the handle.url parameter
Last modified: 2014-09-30 19:41:33 EDT
Description of problem:
h.url = [URL]
currently causes an exception:
TypeError: Only string or None is supported with this option
The reason why I'd want this is that sometimes we know multiple URLs for a given repo (e.g. we resolved them from a mirrorlist through some other means) and if handle accepts only one url which is currently down it will fail we have to micromanage around it by creating new handle with the next url and retrying the operation.
Fix was pushed to the master branch https://github.com/Tojaj/librepo/commit/0fbe1c3b96f21c87a6ad1c0ec7fd3ec4c6b05cad
Do you plan to make a build with this patch for both F19 and rawhide? Let's coordinate the date on that.
librepo-1.0.0-1.fc19 has been submitted as an update for Fedora 19.
Package librepo-1.0.0-1.fc19, dnf-0.3.11-2.git54f55e0.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing librepo-1.0.0-1.fc19 dnf-0.3.11-2.git54f55e0.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
librepo-1.0.0-1.fc19, dnf-0.3.11-2.git54f55e0.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.