-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support File Renaming in inventory.jsonld #16
Comments
OK, how about something like this - syntax simplified w/i extraneous values omitted and checksums abbreviated for legibility.
|
Thanks, @julianmorley . |
I've refined this a touch and created a gist: Main change is that I've renamed the version objects as deltas, and expressed version as a key/value attribute instead. This is to allow OCFL to support underlying preservation objects (or files) that don't have such a rigid notion of versioning (e.g. Bagit) that might still be revised over time. |
@julianmorley in your #v2, where file2 is copied to file4, would this support storing the duplicate content only once on the filesystem? Or would you have to have the duplicate content stored twice under the different names? |
@bcail It supports that, yes, but it doesn't enforce it - that depends on the underlying object ontology. Moab, for example, does native de-dupe files across versions. But if the underlying object was Bagit, for example, in two different version directories, all this would do is note that the exact same file shows up twice in the object, in two different locations. If the tool used to create a new version of a Bagit object that conforms to OCFL is smart, then it could make the contents of v2 be only the changes made - relying on the contents of the Bagit manifest and the OCFL inventory to correctly re-hydrate an object. But that might be a bit of an edge case. |
For reference, original gist: https://gist.github.com/ahankinson/00796be6d2088fd6ace4ec5930692c6e |
Propose: Add Structure of Also Propose reversing manifest and members to use paths as keys |
@julianmorley will propose some wording to help make the deltas clearer. |
updated lazy gist https://gist.github.com/rosy1280/b6ebabdeb779a186d913a9ac1db886d5 |
F2F decision: the adoption of a combination of |
Currently there is an issue with inventory.jsonld file where it does not support file renaming. We need to resolve this.
Relates to OCFL/Use-Cases#26
The text was updated successfully, but these errors were encountered: