[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 3e15fc221f4d4e88a1362d30326f7bb07b9bb40e

Evergreen Git git at git.evergreen-ils.org
Wed Jul 10 11:06:13 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  3e15fc221f4d4e88a1362d30326f7bb07b9bb40e (commit)
       via  13f9e57addb41863c2cb1093b8d3551005660a89 (commit)
       via  d7ab7732fd3a45d9350105e98d772c2aae403a27 (commit)
      from  bb89719aca7cd0fd4ae7b66f36c0e7940578d53d (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 3e15fc221f4d4e88a1362d30326f7bb07b9bb40e
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Wed Jul 10 10:53:41 2013 -0400

    Stamping upgrade script for empty seed description
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index cdb9449..30a5307 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0800', :eg_version); -- senator/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0803', :eg_version); -- paxed/remingtron/dbwells
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql b/Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
similarity index 79%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
rename to Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
index ce297b5..590e717 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql
@@ -1,6 +1,6 @@
 BEGIN;
 
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0803', :eg_version);
 
 UPDATE config.org_unit_setting_type 
 SET description = 'The amount of time an item will be held on the shelf before the hold expires. For example: "2 weeks" or "5 days"' 

commit 13f9e57addb41863c2cb1093b8d3551005660a89
Author: Remington Steed <rjs7 at calvin.edu>
Date:   Wed Jul 10 09:32:07 2013 -0400

    LP1158211 - add upgrade script to fill empty description
    
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
new file mode 100644
index 0000000..ce297b5
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fill_empty_description.sql
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE config.org_unit_setting_type 
+SET description = 'The amount of time an item will be held on the shelf before the hold expires. For example: "2 weeks" or "5 days"' 
+WHERE name = 'circ.holds.default_shelf_expire_interval';
+
+COMMIT;

commit d7ab7732fd3a45d9350105e98d772c2aae403a27
Author: Pasi Kallinen <pasi.kallinen at pttk.fi>
Date:   Tue Jun 11 11:01:53 2013 +0300

    Description for circ.holds.default_shelf_expire_interval
    
    Signed-off-by: Pasi Kallinen <pasi.kallinen at pttk.fi>
    Signed-off-by: Remington Steed <rjs7 at calvin.edu>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
index a8ddf6a..c6bd274 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -3035,7 +3035,7 @@ INSERT into config.org_unit_setting_type
         'Default hold shelf expire interval',
         'coust', 'label'),
     oils_i18n_gettext('circ.holds.default_shelf_expire_interval',
-        '',
+        'The amount of time an item will be held on the shelf before the hold expires. For example: "2 weeks" or "5 days"',
         'coust', 'description'),
     'interval', null)
 

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

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql          |    2 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql       |    2 +-
 .../upgrade/0803.data.fill_empty_description.sql   |    9 +++++++++
 3 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/0803.data.fill_empty_description.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list