]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1384740 marc_stream_importer auth and cleanup
authorBill Erickson <berickxx@gmail.com>
Thu, 20 Nov 2014 22:53:52 +0000 (17:53 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 4 Nov 2015 20:30:58 +0000 (20:30 +0000)
commit17cc1862730f7c519f5ad874bbf910d8181b3b28
treee514a3d228de151d2f422e3361853a04388e69ab
parent1a5a1373842b5972c7f7c8e40d3174a077a97cb2
LP#1384740 marc_stream_importer auth and cleanup

Add support for importing authority records to marc_stream_importer and
clean up some cruft along the way.  A single instance of the script can
import either type of record.  The record leader is inspected to
determine if it's an authority record or not.

New options:

--auth-merge-profile
--auth-queue
--auth-source
--bib-import-no-match
--bib-auto-overlay-exact
--bib-auto-overlay-1match
--bib-auto-overlay-best-match
--auth-import-no-match
--auth-auto-overlay-exact
--auth-auto-overlay-1match
--auth-auto-overlay-best-match

Deprecated options:

--import-no-match
--auto-overlay-exact
--auto-overlay-1match
--auto-overlay-best-match

These map to the new --bib-* versions for now, but will be removed
in a future version for clarity / consistency.  The script will
print a deprecation warning when these are used.

Cleanup:

--import-by-queue is no longer supported.  This option serves no
particular purpose and is a bad idea when re-using the same queue over
and over as most people do, because queue bloat will increase run times.

--noqueue (AKA "direct import") is no longer supported.  All imports go
through Vandelay now.

Opens a new XMPP connection with each forked child during child init.
Previously, a single XMPP connection was shared by all forked children,
which lead to crossed streams and chaos.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/support-scripts/marc_stream_importer.pl