Comment 1 for bug 1384740

Revision history for this message
Bill Erickson (berick) wrote :

Pushed a heavily modified stream importer and small test script:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/berick/lp1384740-stream-importer-auth

This script has accumulated quite a bit of cruft so included with the authority additions is a lot of cleanup. If we need to add some of this back, we can, but I didn't want to unless I thought it was necessary. Also, note that some of the authority import options are not yet functional, pending the completion of bug #1171984, but basic authority queuing and importing does work.

-----

From the commit:

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 a batch is an authority batch or a bib batch.

New options:

--auth-merge-profile
--auth-queue
--auth-source

Changed options:

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

These have been expanded to include authority records. Applied with no value or a value of '1' means the option applies to bib imports, a value of 2 applies to authority records, and a value of 3 applies to both.

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.

----

I'll put these into release notes if we agree --import-by-queue and --noqueue can be deprecated.