Project

Profile

Help

Issue #1917

pulp_rpm depends on createrepo and createrepo_c

Added by jcline@redhat.com over 4 years ago. Updated over 1 year 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

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate RPM Support - Issue #1920: pulp-rpm depends on createrepo, which will not be ported to Python 3CLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by rbarlow over 4 years ago

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

#2 Updated by rbarlow over 4 years ago

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

#3 Updated by jcline@redhat.com over 4 years ago

  • Description updated (diff)

#4 Updated by mhrivnak over 4 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

#5 Updated by jcline@redhat.com over 4 years ago

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

#6 Updated by jcline@redhat.com about 4 years ago

  • Status changed from POST to NEW

#7 Updated by jcline@redhat.com about 4 years ago

  • Tags Pulp 3 added

#8 Updated by ipanova@redhat.com about 4 years ago

  • Assignee deleted (jcline@redhat.com)

#9 Updated by bmbouter almost 3 years ago

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

#10 Updated by dalley over 2 years ago

  • Status changed from NEW to CLOSED - CURRENTRELEASE

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

#11 Updated by rmcgover almost 2 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?

#12 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF