108 migrate omeka consumers to a new provider#114
Open
Nealium104 wants to merge 9 commits into
Open
Conversation
added 8 commits
May 6, 2026 08:22
…sts autoload path.
…a-consumers-to-a-new-provider
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR migrates ExploreUK consumers off
OmekaShim.phpand ontoContentProvider.phpandConfig.php. WithOmekaShim.phpdeleted, the application no longer has any omeka-specific code paths. Container configs and infra still reference omeka by name; those are separate cleanups tracked under #113.Changes
OmekaShim.phpcalls inExploreUK.php,Oai.php,View.php,catalog.php, and the view templates (front-page,header,global-footer,search,sponsors,universal-footer) with direct reads againstConfig.php/ContentProvider.php. DeletesOmekaShim.php.app/themes/omeukaprologue/andapp/themes/assets/into a singleapp/assets/tree. Updates docker volume mounts (./app/themes,./app/assets) and theminify-cssscript paths inapp/package.jsonand.gitignore.javascripts/andassets/js/into a singleapp/assets/js/. Updates the PHP references that pointed atjavascripts/.config.ini,theme.ini,theme.jpg, a duplicatestyles.css, and two unused CSS image assets. There is still more to be removed, but final cleanup takes place as part of a separate subissueConfigTestandContentProviderTestupdated to match the new shape. Full suite passes (18 tests, 38 assertions).Notes for review
9bc1fe8) is mostly rename noise. The substantive diff lives in56a765e(path fixups) and13e9f9b(consumer migration).SOLR_URLis committed to.env.examplewith example values as documentation, but production values in.env.devis not included in this PR. Whether.env.devshould include the production solr url is an open question. It is a manual step to add the production solr url to a given setup.fixes #108