You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
we need to write an extension for handling arcp's to paths - @ peter sefton - you need to write an ocfl community extension and submit that describes this idea
We need two new idToPath functions that can be selected with config in the repo's extensions dir (any repo needs one of these, not multiples).
An implementation of the hashed-n-tuple storage layout algorithm id2NTuple(id) that is mentioned above. This will take an ID - any ID - hash it, and generate an n-tuple path looking in the repo config for the n-tuple parameters as described this extension.
An ARCP specific function arcpIDtopath(id) that will:
Find the name part of the ARCP id and use it as the first directory under the storage root this can call the function in 1. above ${name}/${id2NTuple(id)}
If it's not an ARCP ID then just return id2NTuple(id)
Note that the OCFL Object's inventory.id in the manifest should reference the original ID eg an arcp:// id (complete with the protocol and all the parts) or a URL
hash the whole arcp (including protocol) and turn it into an n-tuple path to create then rest of the path (we are not creating an ID the ARCP is the identifier)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
extensions supported by the repo
library functionality to be implemented
an arcp to path function in the library
name
as the root directoryn tuple hashing function - as defined by https://ocfl.github.io/extensions/0004-hashed-n-tuple-storage-layout.html
a function that takes an arcp path and returns a tupled path supporting extension defined above
The text was updated successfully, but these errors were encountered: