-
Notifications
You must be signed in to change notification settings - Fork 93
Home
Tomas Mlcoch edited this page Sep 10, 2013
·
21 revisions
Createrepo_c is a C implementation of the classical 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.
- 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 goal). But there could be some little differences - Check the README.md - "Differences in behavior between createrepo_c and createrepo" for details.
- 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!).
Createrepo_c is not only C implementation of the classical Createrepo. It is also a library providing C and Python API as well.
- Check out some example scripts which use the Createrepo_c python bindings.
- Interested in the latest reference documentation? Build the sources and use
make doc
to generate both, C and Python, documentation to thedoc/
subdir. - C header files are documented by the Doxygen style
- Python bindings uses a Sphinx
- Thanks to this commenting approach, you have a documentation always at hand (in C header files/via python help() function)
Could be found at examples directory
- Python examples
- C examples - Not ready yet
- TODO - My personal TODO