Add authority records support to marc stream importer (Connexion)
Bug #1384740 reported by
Bill Erickson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Feature request.
Evergreen's marc_stream_
tags: | added: authority |
Changed in evergreen: | |
milestone: | 2.next → 2.9-alpha |
Changed in evergreen: | |
milestone: | 2.9-alpha → 2.9-beta |
tags: | added: needsreleasenote |
Changed in evergreen: | |
milestone: | 2.9-beta → 2.next |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | 2.next → 2.10-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 overlay- exact overlay- 1match overlay- best-match
--auto-
--auto-
--auto-
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.