Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

prefer createrepo_c if available #464

Open
cheese opened this issue Oct 25, 2017 · 2 comments
Open

prefer createrepo_c if available #464

cheese opened this issue Oct 25, 2017 · 2 comments

Comments

@cheese
Copy link

cheese commented Oct 25, 2017

createrepo_c is a faster and more maintained version than the original python implementation, a.k.a createrepo. Both provide compatible command line options.

createrepo_c is available in official CentOS 7 repo.

Planex has a heavy use of createrepo. createrepo_c will certainly imporve performance of planex.

And on Fedora 26 with planex 2.1.0, tmp repo created by Python 'createrepo' is not usable by the current version of dnf (dnf-2.7.5-1.fc26.noarch).

@euanh
Copy link
Contributor

euanh commented Mar 28, 2018

After we move to Python 3 we can use shutil.which() to test for the existence of createrepo_c. Without that it will be a bit uglier.

@mseri
Copy link
Contributor

mseri commented Apr 10, 2018

I'll postpone this to after the move to python3 then

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants