sul-dlss-labs / ld4p-tracer-bullet-scripts

Symphony scripts that use and run the sul-dlss/ld4p-tracer-bullets
Other
0 stars 1 forks source link

Compare file dates on .mrc and .xml (and .xml and .rdf) to decide on 'skip' #23

Open dazza-codes opened 7 years ago

dazza-codes commented 7 years ago

While running coversions from MARC to XML and then XML to RDF, there is some logic to consider when replacing an existing conversion file. Essentially, a "replace everything" flag can be set and this means everything will be converted again. When that is not set, the conversion process can check whether an output file exists or, when it does exist, whether the input file has been updated since the last time it was converted.

dazza-codes commented 7 years ago

This issue requires some changes to MarcToXML. @jgreben is currently doing work on that to improve the unit tests, so I think this issue should wait on that, i.e. https://github.com/sul-dlss/ld4p-tracer-bullets/pull/88