[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. c7b3c1cc6e78b37c4de1fadb92e6cb4320fa65d9

Evergreen Git git at git.evergreen-ils.org
Thu Mar 7 01:54:05 EST 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_3 has been updated
       via  c7b3c1cc6e78b37c4de1fadb92e6cb4320fa65d9 (commit)
       via  a3a7f12c626fd999a2ca0ab8f8dcec28a23dca0a (commit)
       via  d5443cc9a595e0c10b090b860290b1d0155db4c9 (commit)
      from  c3f771a5f9f52ae549938bc4c7616f494621ea01 (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 c7b3c1cc6e78b37c4de1fadb92e6cb4320fa65d9
Author: Ben Shum <bshum at biblio.org>
Date:   Thu Mar 7 01:48:46 2013 -0500

    Stamping upgrade for LOC z39.50 target seed data
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    
    Conflicts:
    	Open-ILS/src/sql/Pg/002.schema.config.sql

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 25fa292..4d2fe49 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -87,7 +87,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 ('0751', :eg_version); -- berick/senator
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0764', :eg_version); -- gmcharlt/berick/bshum
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql b/Open-ILS/src/sql/Pg/upgrade/0764.data.loc_z39_settings.sql
similarity index 83%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql
rename to Open-ILS/src/sql/Pg/upgrade/0764.data.loc_z39_settings.sql
index 20a39b7..b6ee711 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0764.data.loc_z39_settings.sql
@@ -1,6 +1,7 @@
-
 BEGIN;
 
+SELECT evergreen.upgrade_deps_block_check('0764', :eg_version);
+
 UPDATE config.z3950_source
     SET host = 'lx2.loc.gov', port = 210, db = 'LCDB'
     WHERE name = 'loc'

commit a3a7f12c626fd999a2ca0ab8f8dcec28a23dca0a
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Mar 6 13:54:35 2013 -0500

    Upgrade script for LP#1105225: LOC z39.50 seed data
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql
new file mode 100644
index 0000000..20a39b7
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql
@@ -0,0 +1,18 @@
+
+BEGIN;
+
+UPDATE config.z3950_source
+    SET host = 'lx2.loc.gov', port = 210, db = 'LCDB'
+    WHERE name = 'loc'
+        AND host = 'z3950.loc.gov'
+        AND port = 7090
+        AND db = 'Voyager';
+
+UPDATE config.z3950_attr
+    SET format = 6
+    WHERE source = 'loc'
+        AND name = 'lccn'
+        AND format = 1;
+
+COMMIT;
+

commit d5443cc9a595e0c10b090b860290b1d0155db4c9
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Fri Jan 25 11:35:27 2013 -0500

    LP#1105225: update LOC z39.50 target seed data
    
    This patch updates the seed data from the target list at
    http://www.loc.gov/z3950/lcserver.html#addr.  It also changes the
    structure attribute for the 'lccn' search attribute to wordlist,
    which means that LCCNs can be searched without having to enter
    the leading spaces.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

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 eea2747..23df6d3 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -350,7 +350,7 @@ INSERT INTO config.i18n_locale (code,marc_code,name,description)
 -- Z39.50 server attributes
 
 INSERT INTO config.z3950_source (name, label, host, port, db, auth)
-	VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'z3950.loc.gov', 7090, 'Voyager', FALSE);
+	VALUES ('loc', oils_i18n_gettext('loc', 'Library of Congress', 'czs', 'label'), 'lx2.loc.gov', 210, 'LCDB', FALSE);
 INSERT INTO config.z3950_source (name, label, host, port, db, auth)
 	VALUES ('oclc', oils_i18n_gettext('oclc', 'OCLC', 'czs', 'label'), 'zcat.oclc.org', 210, 'OLUCWorldCat', TRUE);
 INSERT INTO config.z3950_source (name, label, host, port, db, auth)
@@ -361,7 +361,7 @@ INSERT INTO config.z3950_attr (id, source, name, label, code, format)
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
 	VALUES (2, 'loc', 'isbn', oils_i18n_gettext(2, 'ISBN', 'cza', 'label'), 7, 6);
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
-	VALUES (3, 'loc', 'lccn', oils_i18n_gettext(3, 'LCCN', 'cza', 'label'), 9, 1);
+	VALUES (3, 'loc', 'lccn', oils_i18n_gettext(3, 'LCCN', 'cza', 'label'), 9, 6);
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)
 	VALUES (4, 'loc', 'author', oils_i18n_gettext(4, 'Author', 'cza', 'label'), 1003, 6);
 INSERT INTO config.z3950_attr (id, source, name, label, code, format)

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

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql          |    2 +-
 Open-ILS/src/sql/Pg/950.data.seed-values.sql       |    4 ++--
 .../sql/Pg/upgrade/0764.data.loc_z39_settings.sql  |   19 +++++++++++++++++++
 3 files changed, 22 insertions(+), 3 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/0764.data.loc_z39_settings.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list