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

Evergreen Git git at git.evergreen-ils.org
Thu Mar 7 01:49:24 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, master has been updated
       via  f395b228f4e3f920fc26fde1b9483d3f9688fb05 (commit)
       via  4b78507904e4802964a14a685d12bb4697db7657 (commit)
       via  3d9ddf0ab2669f7314a73d7716546d043cfa354d (commit)
      from  b1e6cde521f6b83a5b91722893495ecc3772065b (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 f395b228f4e3f920fc26fde1b9483d3f9688fb05
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>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index fd33d42..d773eb1 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -90,7 +90,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 ('0763', :eg_version); -- jeff/miker
+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 4b78507904e4802964a14a685d12bb4697db7657
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 3d9ddf0ab2669f7314a73d7716546d043cfa354d
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 829dafa..3beb825 100644
--- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql
+++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql
@@ -353,7 +353,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)
@@ -364,7 +364,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