add profile support for docker-compose down#4467
add profile support for docker-compose down#4467bwateratmsft merged 5 commits intomicrosoft:mainfrom
Conversation
|
@microsoft-github-policy-service agree |
|
Thanks for the contribution @PotatoZhou! We're right in the middle of releasing 1.29.4 so we're going to hold off on this PR until that release is done, but at a glance everything looks good. |
|
So this is different from what #4458 is asking for--that issue is asking for the Also, we've made some changes in this area recently that would affect your PR--can you merge main and update |
|
sure, will do |
bwateratmsft
left a comment
There was a problem hiding this comment.
I don't want to change the existing Compose Down command. If your goal is to fix #4458, you want to do the VSCode task, not the customizable command. The code for that is partly in package.json's contributes.taskDefinitions -> docker-compose and partly in src/tasks.
|
correct me if I am wrong :) I believe that the client.down (in DockerComposeTaskProvider.ts) does not support profiles, I checked ContainerOrchestratorClient.ts of vscode-container-client and in type DownCommandOptions, "profiles" is not presented, Should I report this as an issue over there? |
|
@PotatoZhou you are right, good catch. We will need to add support for profiles in the compose down function in |
bwateratmsft
left a comment
There was a problem hiding this comment.
These changes look good. I'll try to cut a release of the @microsoft/vscode-container-client package soon.
|
@PotatoZhou |
bwateratmsft
left a comment
There was a problem hiding this comment.
Looks good, thank you for the contribution @PotatoZhou!
for issue #4458