Skip to content

Replace config PluginManager with ConfigManager in many instances#4571

Merged
demiankatz merged 8 commits into
vufind-org:devfrom
ThoWagen:pull-request/replace-config-plugin-manager
Aug 28, 2025
Merged

Replace config PluginManager with ConfigManager in many instances#4571
demiankatz merged 8 commits into
vufind-org:devfrom
ThoWagen:pull-request/replace-config-plugin-manager

Conversation

@ThoWagen
Copy link
Copy Markdown
Contributor

This PR replaces the config PluginManager with the ConfigManager in many instances as a fist step in getting rid of the PluginManager completely.

It is probably better to wait until #4570 is merged, before this is merged. Otherwise, there will be no caching for the instances changed in this PR.

Copy link
Copy Markdown
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ThoWagen, this is off to a great start! I agree that we should finish up #4570 first. In the meantime, it also looks like merging #4556 has introduced a conflict. Do you mind resolving when time permits?

@demiankatz demiankatz added this to the 11.0 milestone Aug 27, 2025
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Aug 27, 2025
Comment thread module/VuFind/src/VuFind/Http/CachingDownloaderFactory.php Outdated
Comment thread module/VuFind/src/VuFind/I18n/SorterFactory.php Outdated
Comment thread module/VuFind/src/VuFind/Net/UserIpReaderFactory.php
Comment thread module/VuFind/src/VuFind/Session/SecureDelegatorFactory.php Outdated
Comment thread module/VuFind/src/VuFind/Sitemap/GeneratorFactory.php Outdated
Comment thread module/VuFind/src/VuFind/View/Helper/Root/SearchBoxFactory.php Outdated
Comment thread module/VuFind/src/VuFindTest/Feature/ConfigRelatedServicesTrait.php
Comment thread module/VuFindConsole/src/VuFindConsole/Command/Import/WebCrawlCommandFactory.php Outdated
Copy link
Copy Markdown
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ThoWagen -- see a few new observations below.

Comment thread module/VuFind/src/VuFind/Content/AbstractSyndeticsFactory.php Outdated
Comment thread module/VuFind/src/VuFind/Controller/AbstractSearch.php Outdated
Comment thread module/VuFind/src/VuFind/Crypt/HMACFactory.php
Comment thread module/VuFind/src/VuFind/Navigation/AccountMenuFactory.php Outdated
Comment thread module/VuFind/src/VuFind/Resolver/Driver/AbstractBaseFactory.php
ThoWagen and others added 4 commits August 28, 2025 14:03
Co-authored-by: Demian Katz <demian.katz@villanova.edu>
Co-authored-by: Demian Katz <demian.katz@villanova.edu>
Co-authored-by: Demian Katz <demian.katz@villanova.edu>
Copy link
Copy Markdown
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me now, and tests are passing. Thanks, @ThoWagen!

@demiankatz demiankatz merged commit 8fd67f3 into vufind-org:dev Aug 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants