Open justinlittman opened 1 month ago
@justinlittman can you say more about why we need to write these versions? Why not just have the actual versions in the manifest?
Otherwise PURL would not to understand that these versions were implicitly withdrawn. This avoids PURL having to be aware of such logic.
@justinlittman Where in purl does it care about missing versions?
When an object is public then dark then public, it's earlier user versions are deleted from stacks. When it is made public, there is a requirement to indicate that earlier user versions existed, but were withdrawn.
@andrewjbtw Is this a correct understanding of the requirement?
@justinlittman Sorry, I missed the question in the ticket here. Yes, that's the correct understanding.
When writing a new object and the version > 1, entries should be made in the version manifest for previous versions. Those previous versions should be marked as permanently_withdrawn and have no date. The head version should be set to the version.