Project

Profile

Help

Task #8280

Investigate using librepo for downloading from RPM repositories

Added by dalley 8 months ago. Updated 21 days ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Librepo is the "official" library for downloading RPM repositories, it has built-in support for mirrorlist, metalink, gpg checking, proxies, picking the fastest mirror, speed limits and so forth. This could potentially eliminate a fair bit of complexity and code that we otherwise have to handle ourselves.

It's a C library but it has Python bindings. It may or may not be suitable given that we don't necessarily want to bypass the "remote" infrastructure.


Related issues

Related to RPM Support - Story #9131: As an administrator, I'd like RPM repository syncs from mirrorlists to be able to use multiple mirrors in the event of download failuresNEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley 8 months ago

  • Description updated (diff)

#2 Updated by dalley 8 months ago

  • Subject changed from Investigate using librepo for downloading RPM repositories to Investigate using librepo for downloading from RPM repositories

#3 Updated by dalley 3 months ago

  • Related to Story #9131: As an administrator, I'd like RPM repository syncs from mirrorlists to be able to use multiple mirrors in the event of download failures added

#4 Updated by dalley 21 days ago

  • Status changed from NEW to CLOSED - WONTFIX

My opinion is that we'd truly be better off re-implementing librepo than trying to go through the effort of producing a viable Python package and trying to use it.

The API is terrible, even by the standards of a C library which is trying to support a ton of different use cases at once. We can absolutely do better because it would be hard to do worse.

Please register to edit this issue

Also available in: Atom PDF