841480 * Add rendering support through centos-art.sh script to branches

Authored and Committed by areguera 13 years ago
    * Add rendering support through centos-art.sh script to branches 
      branches directories.
    
        In order to this configuration to take effect you need to add a
        symbolic link from the branches directory to trunk/Scripts
        directory. For example to make centos-art.sh script available
        under /home/centos/artwork/branches directory you need to create
        the following symbolic link:
    
            ln -s /home/centos/artwork/trunk/Scripts /home/centos/artwork/branches/Scripts
    
        Once the the symbolic link is available, you can use the
        centos-art.sh script as you usually have used it inside trunk/
        structure. For example, run the following command:
    
            centos-art render --entry=branches/Identity/Themes/Motifs/TreeFlower/0.1/Info
    
        to render branch 0.1 of TreeFlower's info directory.
    
        In this configuration, pre-rendering configuration scripts, design
        models, and translations files inside trunk structure are re-used
        inside branches structures. This way, you only need to maintain
        one translations structure (that inside trunk/Translations), one
        theme models structure (that inside trunk/Identity/Themes/Models),
        and one scripts structure (that inside trunk/Scripts) for both
        trunk/ and branches/ artworks.
    
    * In this commit the regular expression used to determine the theme
      name inside cli_getThemeName function was updated to support the
      schema themename/release used inside branches paths. For example,
      the following trunk's path:
    
        trunk/Identity/Themes/TreeFlower/Info
    
      can have many branches as the following:
    
        branches/Identity/Themes/TreeFlower/0.1/Info
        branches/Identity/Themes/TreeFlower/0.2/Info
        branches/Identity/Themes/TreeFlower/0.3/Info
    
      The release number should match the value of RELEASE_FORMAT
      variable.