Add Compose Pull commands for compose files and groups (#414)#438
Open
KevinSailema wants to merge 2 commits intomicrosoft:mainfrom
Open
Add Compose Pull commands for compose files and groups (#414)#438KevinSailema wants to merge 2 commits intomicrosoft:mainfrom
KevinSailema wants to merge 2 commits intomicrosoft:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds first-class Docker Compose image pulling workflows to the Container Tools extension, enabling users to pull images for compose files (all or subset) and from running Compose Project groups in the Containers view.
Changes:
- Added new Compose Pull / Compose Pull (Subset) commands and wired them into command registration and VS Code menus.
- Extended command template selection and settings schema to support
composePull/composePullSubset, including migration mappings and localization. - Extended subset resolution logic to support
pullin addition toup/down, and added a compose-group “pull” execution path.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/utils/migration/settingsMap.ts | Adds legacy→new settings migration keys for compose pull templates. |
| src/test/commands/selectCommandTemplate.test.ts | Adds unit coverage ensuring compose pull templates are selectable; improves helper to surface parsed args. |
| src/commands/selectCommandTemplate.ts | Extends template command types and compose command selection to include pull/pullSubset. |
| src/commands/registerCommands.ts | Registers new compose pull commands and compose-group pull command. |
| src/commands/containers/composeGroup.ts | Implements compose-group pull by building a compose CLI command from group metadata. |
| src/commands/compose/getComposeSubsetList.ts | Extends subset discovery to support pull and updates related UX strings. |
| src/commands/compose/compose.ts | Adds composePull / composePullSubset flows into the compose command pipeline. |
| package.nls.json | Adds localization strings for new commands and template setting descriptions. |
| package.json | Adds command contributions, menus, activation events, and settings schema for compose pull templates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Add Compose Pull commands for Docker Compose projects
Related issue
Fixes #414
Summary
This PR adds full Compose Pull support to Container Tools for Docker Compose workflows, including:
The goal is to remove the need for custom scripts and make image refresh a first-class action in the extension.
User-facing changes
Implementation details
Validation
The following checks were run successfully:
Result:
Scope notes
Included:
Not included:
Risk and compatibility
Checklist