]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Overhaul the marc2sre.pl script for importing MFHD records
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Apr 2011 03:28:39 +0000 (03:28 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 6 Apr 2011 03:28:39 +0000 (03:28 +0000)
commite4328f430d2d69c9bf22b0d62485021439b31d46
treeee4421664d136dc3c9d4cf6380c9d7bf4ca1f18f
parentf6f578d465ca188b0e3d89bf6ff917eb6ccf069f
Overhaul the marc2sre.pl script for importing MFHD records

Add --bibfield / --bibsubfield options to support retrieving the
bib record ID by searching the specified field/subfield for the
identifier, instead of assuming that the identifier =
biblio.record_entry.id. Avoiding the lookup will be much faster, but
some sites want to start clean with their bibliographic record IDs,
so this supports them.

Remove the need for passing in the owning user's password and simply do
a lookup by username in the actor.usr table. This is a bit more secure
as the password isn't exposed on the command line and you can easily set
someone else as the owner of the records without having to know their
password.

Add significant internal help via Pod::Usage.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19989 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/extras/import/marc2sre.pl