From 7fde83a847c98ed8a5c31300448749e1f78a34a7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 20 2011 07:13:54 +0000 Subject: Update function names inside `identity' functionality. --- diff --git a/Scripts/Bash/Functions/Identity/identity_getActions.sh b/Scripts/Bash/Functions/Identity/identity_getActions.sh index f914c54..ba02548 100644 --- a/Scripts/Bash/Functions/Identity/identity_getActions.sh +++ b/Scripts/Bash/Functions/Identity/identity_getActions.sh @@ -47,7 +47,7 @@ function identity_getActions { --render ) # Redefine action name. - ACTIONNAM="${FUNCNAM}_do" + ACTIONNAM="${FUNCNAM}_render" # Redefine action value. ACTIONVAL="$2" diff --git a/Scripts/Bash/Functions/Identity/identity_getBase.sh b/Scripts/Bash/Functions/Identity/identity_getBase.sh index 9c11ac0..cc2ad36 100755 --- a/Scripts/Bash/Functions/Identity/identity_getBase.sh +++ b/Scripts/Bash/Functions/Identity/identity_getBase.sh @@ -55,6 +55,6 @@ function identity_getBase { done # Execute base-rendition action. - identity_doImages + identity_renderImages } diff --git a/Scripts/Bash/Functions/Identity/identity_getConfig.sh b/Scripts/Bash/Functions/Identity/identity_getConfig.sh index d38b9d1..da59748 100755 --- a/Scripts/Bash/Functions/Identity/identity_getConfig.sh +++ b/Scripts/Bash/Functions/Identity/identity_getConfig.sh @@ -53,7 +53,7 @@ function identity_getConfig { # Check post-rendition actions. Validation of post-rendition # actions is action-specific. So, validation of post-rendition # actions is not here, but inside action-specific functions. See - # identity_doImages and identity_doIdentityTexts to see + # identity_renderImages and identity_renderIdentityTexts to see # validation of renderImage and renderText post-rendition actions, # respectively. diff --git a/Scripts/Bash/Functions/Identity/identity_render.sh b/Scripts/Bash/Functions/Identity/identity_render.sh index 3c6ef6f..479ff6e 100755 --- a/Scripts/Bash/Functions/Identity/identity_render.sh +++ b/Scripts/Bash/Functions/Identity/identity_render.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_do.sh -- This function initiates rendition configuration +# identity_render.sh -- This function initiates rendition configuration # functions and executes them to perform the rendition action # specified in the `ACTIONS' array variable. Function initialization # and execution is based on the absolute path convenction defined by @@ -24,10 +24,10 @@ # USA. # # ---------------------------------------------------------------------- -# $Id: identity_do.sh 824 2011-01-06 20:54:52Z al $ +# $Id: identity_render.sh 824 2011-01-06 20:54:52Z al $ # ---------------------------------------------------------------------- -function identity_do { +function identity_render { local FILE='' @@ -51,7 +51,7 @@ function identity_do { # Define artwork-specific action arrays. We need to do this # here because ACTIONS variable is unset after - # identity_doImages execution. Otherwise, undesired + # identity_renderImages execution. Otherwise, undesired # concatenations may occur. local -a ACTIONS local -a POSTACTIONS diff --git a/Scripts/Bash/Functions/Identity/identity_renderCopy.sh b/Scripts/Bash/Functions/Identity/identity_renderCopy.sh index 9517282..10aeccc 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderCopy.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderCopy.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doCopy.sh -- This function duplicates rendition stuff. +# identity_renderCopy.sh -- This function duplicates rendition stuff. # Rendition stuff is formed by design models, design images and # pre-rendition configuration scripts (which includes translations # files). This way, when we say to duplicate rendition stuff we are @@ -29,7 +29,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doCopy { +function identity_renderCopy { # Verify target directory. cli_checkRepoDirTarget diff --git a/Scripts/Bash/Functions/Identity/identity_renderGroupByType.sh b/Scripts/Bash/Functions/Identity/identity_renderGroupByType.sh index 3905bfa..f56c0c5 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderGroupByType.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderGroupByType.sh @@ -1,13 +1,13 @@ #!/bin/bash # -# identity_doGroupByTypes.sh -- This function provides +# identity_renderGroupByTypes.sh -- This function provides # post-rendition and last-rendition action to group file inside # directories named as their file type. # # Usage: # ------ -# Post-rendition --> identity_doGroupByTypes "$FILE" "$ACTION" -# Last-rendition --> identity_doGroupByTypes "$ACTION" +# Post-rendition --> identity_renderGroupByTypes "$FILE" "$ACTION" +# Last-rendition --> identity_renderGroupByTypes "$ACTION" # # Note that post-rendition uses 2 arguments ($FILE and $ACTION) and # last-rendition just one ($ACTION). This function uses the amount @@ -64,7 +64,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doGroupByType { +function identity_renderGroupByType { local FILE='' local -a FILES diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageBrands.sh b/Scripts/Bash/Functions/Identity/identity_renderImageBrands.sh index f9a870b..23950b4 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderImageBrands.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageBrands.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageBrands.sh -- This function provides +# identity_renderImageBrands.sh -- This function provides # last-rendition actions to produce CentOS brands. This function takes # both The CentOS Symbol and The CentOS Type images and produces # variation of them in different dimensions and formats using @@ -27,7 +27,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageBrands { +function identity_renderImageBrands { local SOURCEFILE='' local TARGETDIR='' diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageDm.sh b/Scripts/Bash/Functions/Identity/identity_renderImageDm.sh index 26de59b..17f3909 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderImageDm.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageDm.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageDm.sh -- This function collects Display +# identity_renderImageDm.sh -- This function collects Display # Manager (DM) required files and creates a tar.gz package that groups # them all together. Use this function as last-rendition action for # Gdm and Kdm base-rendition actions. @@ -47,7 +47,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageDm { +function identity_renderImageDm { local -a SRC local -a DST diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageFormats.sh b/Scripts/Bash/Functions/Identity/identity_renderImageFormats.sh index f66262c..b42a261 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderImageFormats.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageFormats.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageFormats.sh -- This function provides +# identity_renderImageFormats.sh -- This function provides # post-rendition action used to convert images from PNG to different # image formats. This function uses ImageMagick command line image # manipulation tool set to convert the base PNG image to as many @@ -27,7 +27,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageFormats { +function identity_renderImageFormats { # Get absolute path of PNG image file. local FILE="$1" diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageGrub.sh b/Scripts/Bash/Functions/Identity/identity_renderImageGrub.sh index 305fe60..19e9b4f 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderImageGrub.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageGrub.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageGrub.sh -- This function provides +# identity_renderImageGrub.sh -- This function provides # post-rendition action used to produce GRUB images. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageGrub { +function identity_renderImageGrub { local FILE="$1" local ACTION="$2" diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageKsplash.sh b/Scripts/Bash/Functions/Identity/identity_renderImageKsplash.sh index 75102d7..02f21f3 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderImageKsplash.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageKsplash.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageKsplash.sh -- This function collects KDE +# identity_renderImageKsplash.sh -- This function collects KDE # splash (KSplash) required files and creates a tar.gz package that # groups them all together. Use this function as last-rendition # action for KSplash base-rendition action. @@ -26,7 +26,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageKsplash { +function identity_renderImageKsplash { local -a SRC local -a DST diff --git a/Scripts/Bash/Functions/Identity/identity_renderImageSyslinux.sh b/Scripts/Bash/Functions/Identity/identity_renderImageSyslinux.sh index ca89b17..536ff17 100755 --- a/Scripts/Bash/Functions/Identity/identity_renderImageSyslinux.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImageSyslinux.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImageSyslinux.sh -- This function provides +# identity_renderImageSyslinux.sh -- This function provides # post-rendition action used to produce syslinux images. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImageSyslinux { +function identity_renderImageSyslinux { local FILE="$1" local ACTION="$2" diff --git a/Scripts/Bash/Functions/Identity/identity_renderImages.sh b/Scripts/Bash/Functions/Identity/identity_renderImages.sh index 5d28572..622d63a 100644 --- a/Scripts/Bash/Functions/Identity/identity_renderImages.sh +++ b/Scripts/Bash/Functions/Identity/identity_renderImages.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# identity_doImages.sh -- This function renders image-based +# identity_renderImages.sh -- This function renders image-based # identity contents. # # Copyright (C) 2009-2011 Alain Reguera Delgado @@ -24,7 +24,7 @@ # $Id$ # ---------------------------------------------------------------------- -function identity_doImages { +function identity_renderImages { local FILE='' local OUTPUT='' @@ -163,19 +163,19 @@ function identity_doImages { case "$ACTION" in renderSyslinux* ) - identity_doImageSyslinux "${FILE}" "$ACTION" + identity_renderImageSyslinux "${FILE}" "$ACTION" ;; renderGrub* ) - identity_doImageGrub "${FILE}" "$ACTION" + identity_renderImageGrub "${FILE}" "$ACTION" ;; renderFormats:* ) - identity_doImageFormats "${FILE}" "$ACTION" + identity_renderImageFormats "${FILE}" "$ACTION" ;; groupByType:* ) - identity_doGroupByType "${FILE}" "$ACTION" + identity_renderGroupByType "${FILE}" "$ACTION" ;; esac @@ -213,19 +213,19 @@ function identity_doImages { case "$ACTION" in renderKSplash ) - identity_doImageKsplash + identity_renderImageKsplash ;; renderDm:* ) - identity_doImageDm "$ACTION" + identity_renderImageDm "$ACTION" ;; groupByType:* ) - identity_doGroupByType "$ACTION" + identity_renderGroupByType "$ACTION" ;; renderBrands ) - identity_doImageBrands "${FILE}" "$ACTION" + identity_renderImageBrands "${FILE}" "$ACTION" ;; esac