artefactual-sdps / enduro

A tool to support ingest and automation in digital preservation workflows
https://enduro.readthedocs.io/
Apache License 2.0
4 stars 3 forks source link

Problem: packages don't have a status #1081

Open sallain opened 11 hours ago

sallain commented 11 hours ago

Is your feature request related to a problem? Please describe.

Enduro provides a status for workflows but not for packages. This hasn't really been a problem, but as we complete the analysis for an AIP deletion workflow (#1076) it seems desirable to include a DELETED status for an AIP. As it is, if a package is deleted then the package's workflow status would be updated to DONE, but a user would have to click into the package detail page and review the deletion workflow to see that it has in fact been deleted.

In order to be a one-stop source of information about an institution's preserved holdings, Enduro should maintain a record of all SIPs that have been processed, including those that are deleted. By glancing at the packages table, a user should be able to see if a package is stored, in progress/processing, or deleted.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

Add a package attribute for status, with the following:

Describe alternatives you've considered

We considered whether or not we could repurpose the locations column to indicate that the package has been deleted, since the deleted package's location would now be blank. However, this seems a little messy.

sallain commented 11 hours ago

@fiver-watson can you start thinking about how to incorporate this status in the UI?