[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 06fd286ef8d300ca4ab1cea6847fdc8027836b8f

Evergreen Git git at git.evergreen-ils.org
Wed May 15 15:44:12 EDT 2013


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, rel_2_4 has been updated
       via  06fd286ef8d300ca4ab1cea6847fdc8027836b8f (commit)
      from  c10d22a43849bb3c142c691860c28f311ef34f67 (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 06fd286ef8d300ca4ab1cea6847fdc8027836b8f
Author: Dan Scott <dscott at laurentian.ca>
Date:   Tue Jan 29 11:04:33 2013 -0500

    Apply all 2.2 upgrades prior to running 2.3.0 upgrade
    
    If users are expected to run all of the 2.2 upgrade scripts, then let's
    make it easy for them. As PostgreSQL 9.1 does not include the \ir
    "include relative path" command, we have to pause at the beginning of
    the upgrade process to ensure that the user is running the script from
    the right directory.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql
index a6cfd9a..911b14d 100644
--- a/Open-ILS/src/sql/Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql
@@ -2,6 +2,14 @@
 
 \set eg_version '''2.3.0'''
 
+\qecho **********************************************************************
+\qecho Your current working directory when you run this script *must* be
+\qecho Open-ILS/src/sql/Pg/version-upgrade/ or it will fail to find the point
+\qecho release upgrade scripts. Press <ENTER> to continue, or hit <CTRL-C> to
+\qecho prevent the upgrade from happening.
+\qecho **********************************************************************
+\prompt chance-to-quit
+
 \qecho The following statement might fail, and that is okay; we are
 \qecho ensuring that an upgrade that should have been applied during
 \qecho the 2.2 upgrade is actually applied now.
@@ -14,7 +22,18 @@ UPDATE config.org_unit_setting_type
     SET grp = 'acq'
     WHERE name LIKE 'acq%';
 
+\qecho Apply previous point release upgrades to ensure that all known fixes are
+\qecho in place. Failures here will generally indicate that the fixes were
+\qecho already applied.
+
+\i 2.2.0-2.2.1-upgrade-db.sql
+\i 2.2.1-2.2.2-upgrade-db.sql
+\i 2.2.2-2.2.3-upgrade-db.sql
+\i 2.2.3-2.2.4-upgrade-db.sql
+\i 2.2.4-2.2.5-upgrade-db.sql
+
 \qecho The real upgrade begins now.
+\set eg_version '''2.3.0'''
 
 BEGIN;
 INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.3.0', :eg_version);
@@ -910,7 +929,6 @@ BEGIN
 END;
 $func$ LANGUAGE plpgsql;
 
-
 -- Evergreen DB patch 0727.function.xml_pretty_print.sql
 --
 -- A simple pretty printer for XML.

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

Summary of changes:
 .../Pg/version-upgrade/2.2-2.3.0-upgrade-db.sql    |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list