Libzypp/API/YUM/RepoParser
From openSUSE
| Version: 10.3
| This article is about the new YUM repository parser class and related classes that will be used in openSUSE 10.3 |
RepoParser
zypp::parser::yum::RepoParser class takes care of reading RPM XML Metadata from a raw cache (copy of meta-data files from repository) into ZYpp data structures and passing them to a consumer. It does so using '*FileReader' classes which read corresponding XML meta-data files and consumer which further processes the read data (e.g. stores them into sqlite database).
TODO: create template for this:
YUMParser source files can be found in svn repository at http://svn.opensuse.org/svn/zypp/trunk/libzypp/zypp/parser/yum/RepoParser.h
Additional documentation can be generated from source code using doxygen. TODO: link to howto
Metadata file readers
RepoParser uses the following classes to read corresponding meta-data files:
SUSE extensions:
Some of them are derived from FileReaderBase so that they reuse common code.
| This article is a stub! This article needs to be expanded. You are welcome to help in line with the openSUSE Style Guide. See also the other articles that need to be expanded. |

