Skip to content

feat: add compose pull command - #598

Open
Veer Jain (veerjain-1) wants to merge 1 commit into
microsoft:mainfrom
veerjain-1:feat/add-compose-pull
Open

feat: add compose pull command#598
Veer Jain (veerjain-1) wants to merge 1 commit into
microsoft:mainfrom
veerjain-1:feat/add-compose-pull

Conversation

@veerjain-1

Copy link
Copy Markdown

No description provided.

Copilot AI lite review requested due to automatic review settings August 30, 2026 18:29
@veerjain-1
Veer Jain (veerjain-1) requested a review from a team as a code owner August 30, 2026 18:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Docker Compose “pull” command to the Container Tools extension, integrating it into the existing command-template system and command registration flow.

Changes:

  • Extends compose command template selection to support a new pull variant (composePull template).
  • Adds a new vscode-containers.compose.pull command implementation and registers it with the extension.
  • Contributes the new command, menu entry, and configuration schema/NLS strings in the extension manifest.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
extensions/vscode-containers/src/commands/selectCommandTemplate.ts Adds composePull template type and maps pull to that template.
extensions/vscode-containers/src/commands/registerCommands.ts Registers the new vscode-containers.compose.pull command.
extensions/vscode-containers/src/commands/compose/compose.ts Implements composePull and extends internal compose command routing to include pull.
extensions/vscode-containers/package.nls.json Adds NLS strings for the new compose pull template setting and command title.
extensions/vscode-containers/package.json Contributes activation, menus, configuration for compose pull, and the command definition.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +2636 to +2652
"items": {
"type": "object",
"properties": {
"template": {
"type": "string",
"description": "%vscode-containers.config.template.composePull.template%"
},
"label": {
"type": "string",
"description": "%vscode-containers.config.template.composePull.label%"
},
"match": {
"type": "string",
"description": "%vscode-containers.config.template.composePull.match%"
}
}
},
Comment on lines +2670 to +2674
{
"command": "vscode-containers.compose.pull",
"title": "%vscode-containers.commands.composePull%",
"category": "%vscode-containers.commands.category.docker%"
},
{
"command": "vscode-containers.compose.pull",
"when": "isWorkspaceTrusted && resourceLangId == dockercompose",
"group": "composeGroup_1_general@1_5"
"vscode-containers.config.template.composePull.label": "The label displayed to the user.",
"vscode-containers.config.template.composePull.match": "The regular expression for choosing the right template. Checked against compose YAML files, folder name, etc.",
"vscode-containers.config.template.composePull.description": "Command templates for compose pull commands.",
"vscode-containers.commands.composePull": "Compose Pull"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants