-
Notifications
You must be signed in to change notification settings - Fork 125
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
🎁 WIP Flexible metadata for Valkyrie Objects #6830
Draft
orangewolf
wants to merge
43
commits into
main
Choose a base branch
from
flexible_metadata
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,482
−174
Draft
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
c676801
initial dynamic loading work
orangewolf 8ca106a
typo
orangewolf 3d32fa7
do not load any metadata schemas if HYRAX_FLEXIBLE is true
orangewolf 01b8ed1
dymanic loading of the model with m3 profiles
orangewolf 7e06f18
refactor schema loader to reduce code duplication
orangewolf 382c6d9
fix bugs, add db seed
orangewolf 6f9935b
Add file_set_metadata properties to m3_profile
kirkkwang 6209db7
:white_check_mark: test that Hyrax::Flexibility module is included
ShanaLMoore 77ad3db
Merge branch 'double_combo' into flexible_metadata
ShanaLMoore c7ccccc
Update dassie's m3_profile.yaml
kirkkwang eb5382c
:white_check_mark: [i19] add specs for Hyrax::FlexibleSchema
ShanaLMoore 797a48d
:lipstick: rubocop fixes
ShanaLMoore 0ddbab7
Add basic_metadata properties to dassie m3_profile
kirkkwang 42fca41
Add collection_resource properties to m3_profile
kirkkwang f186c18
Add monograph.yaml properties to m3_profile.yaml
kirkkwang bcaf5ab
Copy m3_profile to Koppie
kirkkwang 6542b0d
dynamic indexers
orangewolf 9115944
additional indexer calls
orangewolf 629bb68
seperate m3 profiles from other metadata
orangewolf 39dfc2d
Update Koppie m3_profile and add ENV guards
kirkkwang 9f93a7f
Add migration and schema to Koppie
kirkkwang bf5bbc4
Introduce flexible? configuration
kirkkwang 0980228
Introduce valkyrie_transition? config option
kirkkwang 1a32864
Add Wings(Hyrax::Resource) to dassie m3
kirkkwang 44b75f9
Update specs
kirkkwang 6ceff73
Merge in double_combo
kirkkwang 7d87100
Add back nil guard in SolrDocumentBehavior
kirkkwang 282709e
Move sample_attribute.yaml to fixtures
kirkkwang 4f06880
Add some tests for Hyrax::Flexibility
kirkkwang 4275dbc
Revert resource_spec and remove sample_attribute
kirkkwang 258a2e7
Fix m3_schema_loader_spec and format inline YAML
kirkkwang b06e6dd
Merge branch 'double_combo' into flexible_metadata
kirkkwang 77c665c
make sure attributes defined in code are kept too
orangewolf 2fb4906
smarter schema reservation and fix some new indexers
orangewolf 12143a7
Merge branch 'main' into flexible_metadata
orangewolf 6bd4cac
Update flexible_schema.rb
orangewolf 35bf9a5
Merge branch 'main' of https://github.com/samvera/hyrax into flexible…
orangewolf 94a08d7
Merge branch 'flexible_metadata' of https://github.com/samvera/hyrax …
orangewolf e455106
sigh
orangewolf e4c6ff0
Merge branch 'main' into flexible_metadata
kirkkwang c052bbb
Merge branch 'main' into flexible_metadata
orangewolf 857f579
Load the indexer module for flexible metadata
laritakr 7f8525d
Merge branch 'main' into flexible_metadata
kirkkwang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would naively expect these lines to do the same thing, but clearly they do not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the flexible schema is expecting everything in one yaml, and looking by work model to find anything linked to that model. The simple schema is loading each yaml that is defined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it’s reasonable to expect
#index_rules_for
to camelize its argument in the M3 loader, if the expectation is that M3 class names are camelized.