Skip to content

[ACR] az acr pack: Deprecate command group - #34175

Open
Bin Du (northtyphoon) wants to merge 1 commit into
Azure:devfrom
northtyphoon:deprecate-acr-pack
Open

Bin Du (northtyphoon) wants to merge 1 commit into
Azure:devfrom
northtyphoon:deprecate-acr-pack

Conversation

@northtyphoon

Copy link
Copy Markdown
Member

Related command

az acr pack

Description

Deprecate the az acr pack command group by applying the standard visible deprecation metadata. The command group and az acr pack build remain available, but users receive a warning that the group will be removed in a future release. No replacement command is specified.

Testing Guide

python -m py_compile src\azure-cli\azure\cli\command_modules\acr\commands.py
az acr pack --help

The help output should include the command-group deprecation warning. No command execution behavior is changed.


Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 06:20
@northtyphoon
Bin Du (northtyphoon) requested a review from a team as a code owner October 6, 2026 06:20
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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.

Copilot review overview

🟢 Approval recommended

The focused metadata change follows existing patterns and compiles successfully.

Review effort: Balanced
Findings: None

What changed in this PR

Deprecates az acr pack without changing command behavior.

Changes:

  • Adds visible deprecation metadata to the command group.
  • Keeps az acr pack build available.
File Description
acr/​commands.py Marks acr pack as deprecated and visible.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

This branch has not been deployed

No deployments
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.

5 participants