Skip to content
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 mapping a pre-existing Fedora 6 repository to models. #928

Open
2 tasks
tpendragon opened this issue Apr 14, 2023 · 0 comments
Open
2 tasks

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

tpendragon opened this issue Apr 14, 2023 · 0 comments

Comments

@tpendragon
Copy link
Collaborator

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:

  • Enable a 'default' Valkyrie model to resolve to, or at least allow the overridable resolver to be forced to always resolve to one class.
  • Allow for non-pairtree ID mappings, that use a full relative path for IDs.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant