MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

stateio: file management for exports/imports #336

Closed ghukill closed 5 years ago

ghukill commented 5 years ago

Consider including the following methods and capabilities:

ghukill commented 5 years ago

Mostly complete:

ghukill commented 5 years ago

Need, still, to handle uploading imports. Removal of export's export_path is built into signaled pre_delete().

Imports will have two locations:

  1. export archive is uploaded, saved to state.export_path
  2. export is unzipped, this location is state.import_path

On removal, both will need to be removed. But, likely makes sense to remove import.export_path post decompressing.

If directory passed from filesystem, should flag be set such that removal of import state will not delete from disk?

ghukill commented 5 years ago

Done.