Use strings to identify section types in the on-disk repo format.
Previously, a given razor file type had a fixed number of sections in a
fixed order, identified by an integer type. Now, sections are identified
by a named string (stored in a string pool after the section lists).
This will allow for razor files to contain arbitrary sections.
For bonus points, also drop the 4k section alignment and change the
magic byte string to "RZDB".
committer: Kristian H?gsberg <krh@redhat.com>
2 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4 <!ENTITY version SYSTEM "version.xml">
6 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
8 <title>Razor Library Reference Manual</title>
9 <releaseinfo>Version &version;</releaseinfo>
12 <firstname>Kristian</firstname>
13 <surname>Høgsberg</surname>
16 <email>krh@redhat.com</email>
24 <holder>Razor Authors</holder>
29 <holder>Red Hat, Inc</holder>
34 Permission is granted to copy, distribute and/or modify this
35 document under the terms of the <citetitle>GNU Free
36 Documentation License</citetitle>, Version 1.1 or any later
37 version published by the Free Software Foundation with no
38 Invariant Sections, no Front-Cover Texts, and no Back-Cover
39 Texts. You may obtain a copy of the <citetitle>GNU Free
40 Documentation License</citetitle> from the Free Software
41 Foundation by visiting <ulink type="http"
42 url="http://www.fsf.org">their Web site</ulink> or by writing
46 The Free Software Foundation, Inc.,
47 <street>59 Temple Place</street> - Suite 330,
48 <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
49 <country>USA</country>
55 <reference id="ref-design">
56 <title>Design Overview</title>
59 This part presents the design documentation for razor.
62 <xi:include href="package-set.xml" />
63 <xi:include href="solver.xml" />
66 <reference id="ref-core">
67 <title>Core API Reference</title>
70 This part presents the class and function reference for the
74 <xi:include href="xml/set.xml"/>
75 <xi:include href="xml/importer.xml"/>
76 <xi:include href="xml/iterator.xml"/>
77 <xi:include href="xml/transaction.xml"/>
78 <xi:include href="xml/rpm.xml"/>
79 <xi:include href="xml/root.xml"/>
80 <xi:include href="xml/misc.xml"/>