819c26 Remove trunk/ from path references inside scripts.

Authored and Committed by areguera 12 years ago
52 files changed. 238 lines added. 220 lines removed.
Scripts/Bash/Functions/Commons/cli_checkRepoDirSource.sh
file modified
+38 -19
Scripts/Bash/Functions/Commons/cli_expandTMarkers.sh
file modified
+2 -5
Scripts/Bash/Functions/Commons/cli_getPathComponent.sh
file modified
+1 -1
Scripts/Bash/Functions/Commons/cli_getRepoName.sh
file modified
+12 -12
Scripts/Bash/Functions/Commons/cli_printMessage.sh
file modified
+6 -6
Scripts/Bash/Functions/Help/Texinfo/texinfo.sh
file modified
+4 -4
Scripts/Bash/Functions/Help/Texinfo/texinfo_createStructure.sh
file modified
+1 -1
Scripts/Bash/Functions/Help/Texinfo/texinfo_updateOutputFileXhtml.sh
file modified
+4 -4
Scripts/Bash/Functions/Help/help.sh
file modified
+1 -1
Scripts/Bash/Functions/Help/help_getOptions.sh
file modified
+1 -1
Scripts/Bash/Functions/Locale/locale.sh
file modified
+12 -11
Scripts/Bash/Functions/Locale/locale_combineLicenseMessages.sh
file modified
+1 -1
Scripts/Bash/Functions/Locale/locale_editMessages.sh
file modified
+4 -4
Scripts/Bash/Functions/Locale/locale_isLocalizable.sh
file modified
+8 -9
Scripts/Bash/Functions/Locale/locale_updateMessageMetadata.sh
file modified
+1 -1
Scripts/Bash/Functions/Locale/locale_updateMessageShell.sh
file modified
+2 -2
Scripts/Bash/Functions/Locale/locale_updateMessageXml.sh
file modified
+6 -6
Scripts/Bash/Functions/Locale/locale_updateMessageXmlDocbook.sh
file modified
+3 -3
Scripts/Bash/Functions/Locale/locale_updateMessageXmlSvg.sh
file modified
+1 -1
Scripts/Bash/Functions/Locale/locale_updateMessages.sh
file modified
+4 -4
Scripts/Bash/Functions/Prepare/Config/vim.conf
file modified
+1 -0
Scripts/Bash/Functions/Prepare/prepare_getLinkName.sh
file modified
+2 -2
Scripts/Bash/Functions/Prepare/prepare_getOptions.sh
file modified
+1 -1
Scripts/Bash/Functions/Prepare/prepare_updateEnvironment.sh
file modified
+1 -1
Scripts/Bash/Functions/Prepare/prepare_updateImages.sh
file modified
+9 -10
Scripts/Bash/Functions/Prepare/prepare_updateLinks.sh
file modified
+10 -10
Scripts/Bash/Functions/Prepare/prepare_updateLocales.sh
file modified
+1 -1
Scripts/Bash/Functions/Prepare/prepare_updateManuals.sh
file modified
+1 -1
Scripts/Bash/Functions/Render/Conf/conf.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/Conf/conf_doBaseActions.sh
file modified
+4 -1
Scripts/Bash/Functions/Render/Docbook/docbook.sh
file modified
+14 -13
Scripts/Bash/Functions/Render/Docbook/docbook_convertToPdfFromXml.sh
file modified
+12 -13
Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtmlChunk.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/Docbook/docbook_doTranslation.sh
file modified
+6 -6
Scripts/Bash/Functions/Render/Docbook/docbook_expandLicenses.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/Docbook/docbook_expandSystemEntities.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/Svg/svg_convertPngToBranded.sh
file modified
+1 -1
Scripts/Bash/Functions/Render/Svg/svg_convertPngToDm.sh
file modified
+4 -4
Scripts/Bash/Functions/Render/Svg/svg_doPostActions.sh
file modified
+5 -5
Scripts/Bash/Functions/Render/Svg/svg_getColors.sh
file modified
+5 -5
Scripts/Bash/Functions/Render/render.sh
file modified
+3 -3
Scripts/Bash/Functions/Render/render_doBaseActions.sh
file modified
+5 -5
Scripts/Bash/Functions/Render/render_doThemeActions.sh
file modified
+2 -2
Scripts/Bash/Functions/Render/render_getDirOutput.sh
file modified
+4 -4
Scripts/Bash/Functions/Render/render_getDirTemplate.sh
file modified
+5 -12
Scripts/Bash/Functions/Render/render_getOptions.sh
file modified
+1 -1
Scripts/Bash/Functions/Svn/svn.sh
file modified
+0 -0
Scripts/Bash/Functions/Svn/svn_commitRepoChanges.sh
file modified
+9 -9
Scripts/Bash/Functions/Svn/svn_deleteRepoFile.sh
file modified
+0 -0
Scripts/Bash/Functions/Svn/svn_getOptions.sh
file modified
+1 -1
Scripts/Bash/centos-art.sh
file modified
+9 -3
    Remove trunk/ from path references inside scripts.
    
    Previous to this commit, references to the repository directory
    structure were taking place by combining the TCAR_WORKDIR environment
    variable and a path starting with `trunk/' (e.g.,
    ${TCAR_WORKDIR}/trunk/Identity/Models/Brands). This was fine until we
    decided to start using Git instead of Subversion as main version
    control system inside the repository. Git handles branches and tags in
    a way completely different than Subversion does, so it is necessary to
    change the way we make references to repository directory structure
    from automation scripts. This in order to support both Git and
    Subversion layouts.
    
    In this commit, the `trunk/' string is no longer prefixed on paths but
    suffixed before the TCAR_WORKDIR environment variable. To know whether
    to suffix the `trunk/' string or not the first time the centos-art
    prepare script is executed, the prepare functionality verifies the
    existence of a `trunk' directory in the first level of the working
    copy and adds the string based on such a fact. If the `trunk'
    directory doesn't exist, the `trunk/' string won't be suffixed to
    TCAR_WORKDIR environment variable.
    
    Changing repository directory layout this way affects the following:
    
     - Static includes used inside Texinfo documentation to load common
       contents (e.g., licenses, etc.). With this change, documentation
       manuals won't be rendered if the first directory level of the
       repository is a trunk-branches-tags layout. This is because the
       static paths used as argument to `@include' commands inside Texinfo
       documentation source files were changed to work with Git layout,
       where there isn't any trunk/, branches/ and tags/ directories as
       first level in the repository directory structure.
    
     - The current layout of The CentOS Artowork Repository File System
       (tcar-fs) texinfo documentation manual. There is no longer Trunk,
       Tags or Branches chapters in Texinfo documentation but Identity,
       Documentation, Locales, and Scripts chapters, instead.
    
    There are other minor changes that are also committed here and I want
    to mention briefly:
    
     - Update code description set as comments inside shell scripts.
    
     - Update the `To know more ...' message. Previous to this commit, to
       find help about one of the functionalities, the command output in a
       `To know more ...' message used the help command and the
       functionality path. This commit implements one `--help' option for
       some of the specific functionalities available. This option calls
       the help functionality internally.
    
     - The =REPO_TLDIR=, =REPO_HOME= and =TCAR_WORKDIR= translation
       markers, all point to the value of TCAR_WORKDIR environment
       variable.
    
    - The svn functionality doesn't applies anymore and should be renamed
      to something more appropriate (e.g., vcs) and subdivided in svn and
      git functionalities so it be possible to manage both subversion and
      git repository versioning tasks, respectively.
    
    - The locale functionality becomes more specific when uses the
      cli_getFilesList function to build the list of directories that need
      to be localized when the `--update' option is provided. It no longer
      uses the regular expression '/[^.]${FLAG_FILTER}' as pattern but
      '${ACTIONVAL}/${FLAG_FILTER}' which is more specific.
    
    - Include `set spell' to Vim's default configuration file in order to
      activate the Vim's spelling checking functionality to all files we
      edit.
    
    - Rename function name from cli_runFunEnvironment to
      cli_runFnEnvironment on all sh files.
    
        
file modified
+9 -3