sul-dlss / sdr-api

HTTP API for the Stanford Digital Repository
https://sul-dlss.github.io/sdr-api/
2 stars 0 forks source link

UpdateJob should optionally open a version before updating cocina / writing files #661

Closed justinlittman closed 3 months ago

justinlittman commented 3 months ago

The version should only be opened if there is not already an open version.

In addition, the version should be closed once updating is complete (instead of the current logic in version_or_accession).