[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. b02220abeb4b6ac8fcf5b552fdfd34766c6cccf9
Evergreen Git
git at git.evergreen-ils.org
Thu Mar 7 01:54:04 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_2 has been updated
via b02220abeb4b6ac8fcf5b552fdfd34766c6cccf9 (commit)
via 03de386c27393c5add0200c257b390f72c311fb1 (commit)
via 448cf498bd3ac859d97f18196710823af46df487 (commit)
from a6f73f4a8aa336dc8b284713b5ddb55994861da9 (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 b02220abeb4b6ac8fcf5b552fdfd34766c6cccf9
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 559022f..345f514 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 ('0750', :eg_version); -- miker/jstephenson
+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 03de386c27393c5add0200c257b390f72c311fb1
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 448cf498bd3ac859d97f18196710823af46df487
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 9c9e431..08c50cc 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