Changeset 112885 for trunk/doc-new


Ignore:
Timestamp:
Nov 3, 2013, 11:51:16 AM (5 years ago)
Author:
raimue@…
Message:

guide:
More about the SQLite registry and its files, describe flat registry files as legacy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/internals.xml

    r112884 r112885  
    291291    installed ports related to dependencies, port images, and simple user
    292292    information about what is installed. It provides abstraction over a
    293     modular receipt storage layer; this allows for flat file receipts as well
    294     as receipts stored in a SQLite database.</para>
     293    modular receipt storage layer; where the default format is a SQLite
     294    database.</para>
    295295
    296296    <para>The registry allows MacPorts utilities to:</para>
     
    316316      <title>Registry Files</title>
    317317
    318       <para>The flat file registry (MacPorts default registry) files are
     318      <para>The SQLite registry used by default is located at
     319      <filename>${portdbpath}/registry</filename>, which by default would
     320      be <filename>${prefix}/var/macports/registry</filename>. All data is
     321      stored in a single file named <filename>registry.db</filename>, although
     322      the additional directory <filename>portfiles</filename> is used
     323      temporarily for extracting stored Portfiles from the registry.
     324      Futhermore, access to the registry may be locked using the
     325      <filename>.registry.lock</filename> file with the
     326      <computeroutput>registry::exclusive_lock</computeroutput> and
     327      <computeroutput>registry::exclusive_unlock</computeroutput> APIs.</para>
     328
     329      <para>The legacy flat file registry files are
    319330      contained in <filename>${portdbpath}/receipts</filename>, which by
    320331      default is location
    321332      <filename>${prefix}/var/macports/receipts</filename>. File mappings and
    322       dependency mappings are tracked in the flat file registry by two
    323       files:</para>
    324 
    325       <itemizedlist>
    326         <listitem>
    327           <para>file_map.db</para>
    328         </listitem>
    329 
    330         <listitem>
    331           <para>dep_map.bz2</para>
    332         </listitem>
    333       </itemizedlist>
     333      dependency mappings are tracked in the flat file registry by
     334      <filename>file_map.db</filename> and <filename>dep_map.bz2</filename>.
     335      If found, these will be automatically converted to the new SQLite registry.
     336      </para>
    334337    </section>
    335338
Note: See TracChangeset for help on using the changeset viewer.