Skip to content
Tomas Mlcoch edited this page May 15, 2013 · 21 revisions

Createrepo_c

Createrepo_c is a C implementation of the createrepo tool and simultaneously C library for manipulation with a repodata. Createrepo_c provides Python bindings so it could be easily used instead of (yum library)[http://yum.baseurl.org/] for certain kinds of manipulation with repodata.

Pros:

  • Speed - Implementation in C has a massive positive impact to the speed.
  • Compatibility - Createrepo_c tries to be as much compatible as possible (100% compatibility is our goal). But there could be some little differences - Check README.md - "Differences in behavior between createrepo_c and createrepo]" part for details.

Cons:

  • Doesn't support deltarpm packages yet - C API for deltarpm is not available so there is no straight (proper) way to implement deltarpm support (Call an external program from a library is definitely NOT considered to be a straight way!).

Examples

Could be found at examples directory

Clone this wiki locally