samvera / valkyrie

A Data Mapper library to enable multiple backends for storage of files and metadata in Samvera
Other
34 stars 23 forks source link

Support mapping a pre-existing Fedora 6 repository to models. #928

Open tpendragon opened 1 year ago

tpendragon commented 1 year ago

Right now the adapter is very opinionated on how it reads objects - it assumes there's an internal_resource and it assumes there's an ID mapping that uses pairtrees. Valkyrie should be able to map to Fedora servers that don't conform to those to enable custom Rails development on Fedora 6 with different opinions.

Steps:

I think we'd probably need some support for being able to tell that a file isn't a resource too, and is a binary resource and should therefore resolve to a storage adapter ID, but I'm not sure how to do that.