Repository navigation
fix: suppress files_pull warning when provider has files_import_command, fixes #8103 - #8123
Merged
Merged
Conversation
…nd, fixes ddev#8103 Co-authored-by: Cursor <[email protected]>
jonesrussell
force-pushed
the
20260209_pull_files_message
branch
from
February 10, 2026 03:17
0223006 to
a2ca84c
Compare
|
Download the artifacts for this pull request:
See Testing a PR. |
stasadev
approved these changes
Feb 10, 2026
stasadev
left a comment
Member
There was a problem hiding this comment.
Thank you, looks good to me.
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.
The Issue
ddev pullshouldn't say "No files_pull_command provided, so skipping files pull" if provider usesfiles_import_command#8103When a provider defines only
files_import_command(nofiles_pull_command), such as Acquia,ddev pullstill prints "No files_pull_command provided, so skipping files pull" and then runs the custom import. That message is misleading because files are being handled via the import command.How This PR Solves The Issue
In
doFilesPullCommand()we only emit the warning when the provider has neitherfiles_pull_commandnorfiles_import_command. If the provider hasfiles_import_command, we skip the pull step without warning; the existing "Importing files via custom files_import_command..." message is sufficient.Manual Testing Instructions
files_import_command(e.g. Acquia:.ddev/providers/acquia.yamlwithfiles_import_commandand nofiles_pull_command).ddev pull acquia(or that provider) without--skip-files.Automated Testing Overview
No new tests. Single conditional change in provider logic; existing provider behavior (pull-only, both, or neither) unchanged.
go buildand golangci-lint pass.Release/Deployment Notes
No config or API changes. Only the message shown when a provider uses
files_import_commandonly is changed (warning suppressed). No deployment impact.