Project

Profile

Help

Task #8280

closed

Investigate using librepo for downloading from RPM repositories

Added by dalley almost 4 years ago. Updated about 3 years 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 failuresCLOSED - DUPLICATE

Actions
Actions #1

Updated by dalley almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by dalley almost 4 years ago

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

Updated by dalley over 3 years 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
Actions #4

Updated by dalley about 3 years 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.

Also available in: Atom PDF