UAL-RE / ReBACH

Python-based tool to enable data preservation to a cloud-hosted storage solution
MIT License
2 stars 2 forks source link

Check if a preservation archive exists in preservation storage if matching is unsuccessful #78

Open zoidy opened 9 months ago

zoidy commented 9 months ago

Is there an existing issue for this?

Description

Currently, if a dataset in figshare does not have a corresponding curation folder, a warning is returned. There could be several reasons why the curation folder doesn't exist

  1. The curation folder was inadvertently deleted or renamed. The existing warning will catch this.
  2. The item is already preserved in storage therefore the folder was deleted. If the item is already preserved, this is not a warning/error condition.

Therefore for 2., we can skip showing a warning if the item is already preserved. Note, this will require reconciling the functionality with #61

Suggested Implementation

No response

HafeezOJ commented 3 months ago

102 is a prerequisite to this issue