Project

Profile

Help

Issue #1917

closed

pulp_rpm depends on createrepo and createrepo_c

Added by jcline@redhat.com over 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

We use createrepo to generate the XML snippets, and createrepo_c to generate the SQLite databases. We should drop our dependency on createrepo, which is a dead project, and use createrepo_c exclusively. The only place we use createrepo is here: https://github.com/pulp/pulp_rpm/blob/4678cc697458ec207996bee2d851f72db190c167/plugins/pulp_rpm/plugins/importers/yum/parse/rpm.py#L4-L31

createrepo_c provides the same functionality in its python bindings (packaged as ``python2-createrepo_c``)


Related issues

Related to RPM Support - Task #3158: Evaluate Pulp2's dependence and usage of yum related packagesCLOSED - WONTFIX

Actions
Has duplicate RPM Support - Issue #1920: pulp-rpm depends on createrepo, which will not be ported to Python 3CLOSED - DUPLICATEActions
Actions #1

Updated by rbarlow over 8 years ago

  • Has duplicate Issue #1920: pulp-rpm depends on createrepo, which will not be ported to Python 3 added
Actions #2

Updated by rbarlow over 8 years ago

This is important because createrepo will not be ported to Python 3.

Actions #3

Updated by jcline@redhat.com over 8 years ago

  • Description updated (diff)
Actions #4

Updated by mhrivnak over 8 years ago

Big +1. The code and packaging changes will likely be easy, and then we just need to carefully test that the output is equivalent.

I think this is probably appropriate as a Refactor instead of a bug.

Docs: http://rpm-software-management.github.io/createrepo_c/python/lib.html

Actions #5

Updated by jcline@redhat.com over 8 years ago

  • Status changed from NEW to POST
  • Assignee set to jcline@redhat.com
  • Triaged changed from No to Yes
Actions #6

Updated by jcline@redhat.com over 8 years ago

  • Status changed from POST to NEW
Actions #7

Updated by jcline@redhat.com over 8 years ago

  • Tags Pulp 3 added
Actions #8

Updated by ipanova@redhat.com over 8 years ago

  • Assignee deleted (jcline@redhat.com)
Actions #9

Updated by bmbouter about 7 years ago

  • Related to Task #3158: Evaluate Pulp2's dependence and usage of yum related packages added
Actions #10

Updated by dalley over 6 years ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

RPM plugin will be rewritten from scratch without createrepo (old)

Actions #11

Updated by rmcgover almost 6 years ago

In pulp 2-master, "pulp_rpm depends on createrepo and createrepo_c" is still true. This now causes problems as Fedora 29 finally obsoleted createrepo by createrepo_c, meaning you can't install both at the same time. It means we can't use or develop Pulp 2.x on Fedora >= 29 and it means Pulp 2.x development environment is currently broken, since it uses fedora:latest.

Was the previous comment about "RPM plugin will be rewritten" referring to Pulp 3? We need a solution to fix the development environment, can we reopen this or file a new issue? Or do you rather want to say that Fedora 28 is the last Fedora where Pulp 2.x can be used?

Actions #12

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF