LP#1427287: script to migrate MARC tooltips data file
authorGalen Charlton <gmc@esilibrary.com>
Mon, 2 Mar 2015 19:10:13 +0000 (19:10 +0000)
committerMike Rylander <mrylander@gmail.com>
Wed, 8 Jul 2015 18:10:12 +0000 (14:10 -0400)
commit2224b2674ea63b0dbd32893d0ccc64937c6909e8
tree181e10637bffab958c4bf8b469012c410a22a70d
parent81d2b2a8bb99cbce38eed58d7d88978b5cef98cd
LP#1427287: script to migrate MARC tooltips data file

marc_tooltips_to_sql is a script that converts an
Evergreen MARC tooltips file to a set of SQL statements
for seeding config.marc_field, config.marc_subfield,
config.record_attr_definition, and config.coded_value_map
with tag table data.

Example usage:

marc_tooltips_to_sql --input Open-ILS/xul/staff_client/server/locale/en-US/marcedit-tooltips.xml \
                     --output /tmp/bibs.sql --type biblio

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/extras/marc_tooltips_to_sql [new file with mode: 0755]