[open-ils-commits] [GIT] Evergreen ILS branch master updated. 755547739123fa42676d9f6838de807c3875880b

Evergreen Git git at git.evergreen-ils.org
Thu Jan 16 14:32:27 EST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  755547739123fa42676d9f6838de807c3875880b (commit)
      from  d774778854da9fa0f00b66322643a1b3eb7175be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 755547739123fa42676d9f6838de807c3875880b
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Dec 18 13:31:18 2013 -0500

    make_release cleanup and options
    
    * Avoid packaging the XULRunner packages within the Evergree tarball
    
    * Skip the inline SQL upgrade script edit step by default; continue
      supporting option inline editing with a new -r option.
    
    * New -i option forces the script to bypass the lengthy i18n process,
      which is primarily useful for quickly testing changes to this script.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/build/tools/make_release b/build/tools/make_release
index c141ca7..c52565d 100755
--- a/build/tools/make_release
+++ b/build/tools/make_release
@@ -15,8 +15,10 @@ NO_UPGRADE=AUTO # -n
 IS_PREVIEW=AUTO # -p
 TAG_ONLY=NO # -t
 BUILD_ONLY=NO # -b
+UPGRADE_PREVIEW=NO # -r
+SKIP_I18N=NO # -i
 
-while getopts ":hv:f:F:nptb" opt; do
+while getopts ":hv:f:F:nptbri" opt; do
     case $opt in
         v)
             VERSION=$OPTARG
@@ -30,6 +32,12 @@ while getopts ":hv:f:F:nptb" opt; do
         n)
             NO_UPGRADE=YES
         ;;
+        r)
+            UPGRADE_PREVIEW=YES
+        ;;
+        i)
+            SKIP_I18N=YES
+        ;;
         p)
             IS_PREVIEW=YES
         ;;
@@ -56,6 +64,8 @@ while getopts ":hv:f:F:nptb" opt; do
             echo "   -p specifies that this is a preview build."
             echo "   -t turns on tag only mode."
             echo "   -b turns on build only mode."
+            echo "   -r prompt to preview upgrade SQL in editor before committing."
+            echo "   -i skip i18n; primarily useful for (quickly) testing this script."
             echo "   NOTE: -t and -b override PREV_BRANCH/PREV_VERSION, but -b overrides -t."
             exit -1
         ;;
@@ -237,8 +247,10 @@ if [ $PREV_BRANCH != "PACKAGE" ]; then
                 echo "$MAYBE_DUPES" > maybe_dupes.txt
             fi
             echo ""
-            read -p "Please manually check the upgrade file."
-            ${EDITOR:-vi} $UPGRADE_FILE
+            if [ "$UPGRADE_PREVIEW" = "YES" ]; then
+                read -p "Please manually check the upgrade file."
+                ${EDITOR:-vi} $UPGRADE_FILE
+            fi;
             git add $UPGRADE_FILE
         fi
     fi
@@ -271,25 +283,27 @@ else
     echo "Running autoreconf"
     autoreconf -i
 fi
-cd build/i18n
-echo "Building i18n"
-make install_all_locales
-echo "i18n Cleanup"
-cd ..
-rm -rf i18n
+
+if [ "$SKIP_I18N" = "NO" ]; then
+    cd build/i18n
+    echo "Building i18n"
+    make install_all_locales
+    echo "i18n Cleanup"
+    cd ..
+    rm -rf i18n
+    cd ..
+fi;
+
 echo "Installing Dojo"
-cd ..
 if [ ! -f "../dojo.tgz" ]; then
     wget http://evergreen-ils.org/downloads/dojo.tgz -O ../dojo.tgz
 fi
 tar xzf ../dojo.tgz -C Open-ILS/web/js/dojo/
-echo "Grabbing XULRunner (to avoid issues with version changes)"
+
+# set version for later
 cd Open-ILS/xul/staff_client
 XULRUNNER_VERSION=`grep '^XULRUNNER_VERSION' Makefile.am`
 XULRUNNER_VERSION=${XULRUNNER_VERSION##XULRUNNER_VERSION=}
-wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.win32.zip
-wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.linux-i686.tar.bz2
-wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.linux-x86_64.tar.bz2
 
 echo "Prepping server download files"
 cd ../../../../
@@ -305,6 +319,12 @@ cd Evergreen-ILS-$VERSION/
 
 echo "Building Release Staff Clients"
 cd Open-ILS/xul/staff_client
+
+echo "Grabbing XULRunner (to avoid issues with version changes)"
+wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.win32.zip
+wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.linux-i686.tar.bz2
+wget http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/$XULRUNNER_VERSION/runtimes/xulrunner-$XULRUNNER_VERSION.en-US.linux-x86_64.tar.bz2
+
 make rigrelease
 make STAFF_CLIENT_STAMP_ID=rel_$UNDER_VERSION build
 make win-client

-----------------------------------------------------------------------

Summary of changes:
 build/tools/make_release |   48 ++++++++++++++++++++++++++++++++-------------
 1 files changed, 34 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list