Closed joelpittet closed 2 years ago
The changes look good to me too. I agree about the output being confusing but it is no more confusing than many commands that report error twice. Yes, I wish it didn't happen but I can't think of a way to echo and not echo at the same time. :)
I am also thinking if this line is strictly required. Do other commands report such a message when disable_settings_management
is true
?
DDEV already tells the user about this, so maybe that would suffice and we can just exit 0
? I'll push that change in here
Tested with ddev get https://github.com/joelpittet/ddev-redis/tarball/main
and it behaved as expected with disable_settings_management=true. Then turned it off and made sure the existing settings were removed and did the get again and it worked as expected, created settings.
@hussainweb I'm fine with this when you are. Thanks @joelpittet !
I agree with you @rfay and merging it. I'll leave it up to you to check if you'd want to create a release for this change. I think it's worth creating a new release because it aligns with how DDEV handles settings.
Yes, needs a release. Probably anything that alters behavior needs a release; only tests or README changes don't. Thanks!
6