Mk/dev/use config import#148
Draft
printminion-co wants to merge 7 commits into
Draft
Conversation
Introduces import_app_config() which pipes a JSON string to `occ config:import`, allowing multiple app/system config values to be set in a single PHP process invocation instead of one occ call per key.
Replace 5-6 individual config:app:set calls in configure_collabora_app() with a single import_app_config call built via jq. Sensitive-free values (wopi_url, enabled, cert verification, allowlist) are batched into one JSON import. app:disable, app:enable and richdocuments:activate-config remain as individual OCC calls.
Replace 5 individual config:app:set calls in configure_files_antivirus_app() with a single import_app_config call built via jq.
Replace 2 non-sensitive config:app:set calls in configure_ionos_mailconfig_api() with a single import_app_config call. ionos_mailconfig_api_auth_pass remains as an individual --sensitive call.
…import Replace 5 config:app:set calls and 2 set_app_config_typed calls (each with an extra config:list read) in configure_ionos_ai_model_hub() with a single import_app_config call. Also batches ai.taskprocessing_guests (settings app). api_key remains as an individual --sensitive call.
Introduces enable_apps() which passes all arguments to a single `occ app:enable` call, allowing multiple apps to be enabled in one PHP process invocation.
Replace 17 individual enable_app() calls with 2 enable_apps() calls, reducing OCC invocations from 17 to 2 for app activation. Apps with surrounding conditional logic (richdocuments, notify_push, files_antivirus, spreed) remain as individual enables in their own configure_*() functions.
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.
No description provided.