Open ghukill opened 5 years ago
Additional example: when supplied export_path
for import_state()
does not contain a, or a valid, state to import
This would further require that export and import were wrapped in try / except that ensured the StateIO
that will eventually house the manifests is written.
Relevant to the 'export, nuke, reinstall' upgrade path
One consideration for exporting has been how forgiving it will be for Combine components that are not well, or partially, formed. For example, earlier versions of OAI Harvest jobs did not record the id of the
OAIEndpoint
used injob_details
, this was added later. However, the export should still allow exporting of these Jobs, even if that tether is severed. During export, this message is sent to logs with this key bit of information:This was helpful to understand why OAI endpoints not exported, but is buried in logs. Perhaps
export_manifest
andimport_manifest
should includeerrors
section with select messages like these written. This could populate a datatable, that is then searchable and sortable. If really thinking this through, could even be structured JSON with where this occurred (e.g. sections or line numbers).