Hi.

At CfA we are developing code to extract records from our old system,
convert it to MARC XML, merge different sources of information and
finally upload it to Invenio. We work with bibrecord dictionaries. We
used to convert them to MARC XML and write them to file. But it seems
to be a waste of time because BibUpload will recreate bibrecord
dictionaries anyway. So I wrote the attached patch that allows to pass
pickled or marshalled bibrecord files to BibUpload.

There is no change to the API. BibUpload now detects the format of the
file with MARC XML still being the default. This ensures that there
will be no visible change for existing workflows.

The patch contains 2 regression tests for marshalled and pickled formats.

Is this a good idea and could this be merged with master?

Cheers.

-- 
Benoit Thiell
The SAO/NASA Astrophysics Data System
http://adswww.harvard.edu/

Attachment: 0001-BibUpload-Allow-uploading-of-pickled-or-marshalled-b.patch
Description: Binary data

Reply via email to