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

Createrepo_c

Createrepo_c is a C implementation of the createrepo tool and simultaneously a C library for manipulation with a repodata. Createrepo_c provides Python bindings too, so could be easily used instead of yum library for certain kinds of manipulations 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!).

Development with createrepo_c library

  • Functions, types and macros in header files are commented in Doxygen style.
  • To generate documentation during building use make doc.

Topics

Examples

Could be found at examples directory