RERO: Key Structure"> RERO: Key Structure">
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] Key Structure

The key structure represents a tree of settings. This hierarchy allows for easy extension and storage. The root of the tree is represented as the first . in the key from the left. Words to the left of the root represent release profiles. Branches to the right of the root are configurable items that relate to the related release profile on the left.

So much for theory. How does this work in RERO? As an example I will choose the RCS (revision control system) branch of configurable items. The RCS branch has currently four branches and one leaf (variable) beneath it:

   |- (cleanup)
   |- (co)
   |- (cvs)
   |- method
   `- (tag)

Here the ( and ) characters surround branches. So `method' is a variable under `rcs' that can be configured. The associated key name would look like:


If we search further into the `cvs' branch we see:

   |- cvs
  ...  |- cleanup
       |- co
       |   `- options
       |- cvsroot
       |- module
       |- tagprefix
       `- testtagprefix

These values correspond to:


So each of those variables would pertain to the `cvs' section of the `rcs' branch.

This document was generated by Michael L. Brownlow on May, 31 2004 using texi2html