eprintsug / EPrintsArchivematica

Digital Preservation through EPrints-Archivematica Integration - An EPrints export plugin to Archivematica
6 stars 1 forks source link

-unset flag on /bin/touch_transfers.pl #42

Closed photomedia closed 2 years ago

photomedia commented 2 years ago

Currently, the "touch_transfers.pl" script Updates Archivematica records which are not pending a transfer and sets them so they are.

It would be useful to add a flag to this script so that it can also do the reverse: UNSET a transfer that is pending processing (i.e., "Needs update" state) to FALSE. This can be useful when processing fails for some reason and the only way to correct the transfer is to do it manually (for example, manually fixing up the checksum manifest). The transfer will be archived, and receive a UUID from Archivematica in these cases, so it is important to be able to also manually turn off/unset the flag that signals the transfer as pending / in need of processing.

photomedia commented 2 years ago

Added the "--unset" flag to touch_transfers, allowing for the reverse operation: set the "Needs update" state to FALSE on a transfer that currently has it set to TRUE.