pulp_rpm depends on createrepo and createrepo_c
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``)
#4 Updated by mhrivnak over 5 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.
#11 Updated by rmcgover over 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?
Please register to edit this issue