Comment 1 for bug 1223903

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Much of what I said above is BS.

First, I figured out why marc_export produced no output: It was waiting on a list of bib ids on STDIN. However, when I used the --all option it ran for over 48 hours on my development vm before I stopped it, and it had only output about 1/4 of our bibs with --items specified. It seems the current program is indeed too slow.

Second, I am completely reimplementing MARC export in Evergreen, so while I will address the other listed bugs, I will not be merging anyone else's code or even referencing it.

I started working on something during the hackaway, and with some Fieldmapper modifications, I actually got it to work today. However, I'm unsatisfied with my present implementation and will start it over.

This time, I'll add a collection of Utility modules for FastExport. Looks like I'm going to put them under OpenILS::Utils. The new marc_export script will use these modules.

The reason for using modules is to make the code reusable in situations other than just a simple command line export script. For instance, I might replace some of the export code I've written in my other custom programs with these modules.

Also, the functionality could be more easily expanded with modules. For instance, modules could be added to compress output and/or upload the files to another server or directory somewhere. These are common tasks done after exporting MARC records. There is no reason that these cannot also be automated.