Bug 988296 - rfe: allow a list of urls for the handle.url parameter
Summary: rfe: allow a list of urls for the handle.url parameter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: librepo
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mlcoch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1002508
TreeView+ depends on / blocked
 
Reported: 2013-07-25 09:19 UTC by Ales Kozumplik
Modified: 2014-09-30 23:41 UTC (History)
2 users (show)

Fixed In Version: librepo-1.0.0-1.fc19
Clone Of:
Environment:
Last Closed: 2013-09-05 01:28:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2013-07-25 09:19:13 UTC
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.

Comment 1 Tomas Mlcoch 2013-08-12 08:18:39 UTC
Fix was pushed to the master branch https://github.com/Tojaj/librepo/commit/0fbe1c3b96f21c87a6ad1c0ec7fd3ec4c6b05cad

Comment 2 Ales Kozumplik 2013-08-16 11:18:40 UTC
Thanks Tomas.

Do you plan to make a build with this patch for both F19 and rawhide? Let's coordinate the date on that.

Comment 3 Fedora Update System 2013-09-03 08:47:05 UTC
librepo-1.0.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/librepo-1.0.0-1.fc19

Comment 4 Fedora Update System 2013-09-03 22:31:42 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2013-15734/dnf-0.3.11-2.git54f55e0.fc19,librepo-1.0.0-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-09-05 01:28:31 UTC
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.


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