Skip to content

feat: add azd (Azure Developer CLI) to registry#8828

Merged
jdx merged 3 commits intojdx:mainfrom
rajeshkamal5050:main
Mar 31, 2026
Merged

feat: add azd (Azure Developer CLI) to registry#8828
jdx merged 3 commits intojdx:mainfrom
rajeshkamal5050:main

Conversation

@rajeshkamal5050
Copy link
Copy Markdown
Contributor

Adds azd (Azure Developer CLI) as a short name in the mise registry, backed by aqua:Azure/azure-dev.

This allows users to install azd with:

mise use -g azd@latest

Azure Developer CLI is a developer-centric CLI for creating and deploying Azure applications. It's actively maintained at https://github.com/Azure/azure-dev.

Note: Depends on the aqua registry fix in aquaproj/aqua-registry#51272 for correct asset resolution (version prefix, arm64 support).

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 31, 2026

Greptile Summary

This PR adds azd (Azure Developer CLI) to the mise registry as a single-file entry backed by aqua:Azure/azure-dev.

Key aspects:

  • Backend: Uses aqua:Azure/azure-dev as the sole backend — no asdf fallback, which is common for many registry entries.
  • Test assertion: Uses trim_start_matches(pat='azure-dev-cli_') to strip the tag prefix that GitHub releases use (e.g. azure-dev-cli_1.9.01.9.0). This filter is already established in registry/zarf.toml and registry/magika.toml. The test_tool runner uses a contains check, so the expected string \"azd version 1.9.0\" correctly matches the actual azd version output \"azd version 1.9.0 (commit: ...)\".
  • Aqua dependency: The PR description notes a dependency on an upstream aqua-registry fix (PR #51272) for correct asset resolution. The trim_start_matches filter handles both the pre-fix format (azure-dev-cli_1.9.0) and the post-fix format (1.9.0) gracefully — in the latter case it is a no-op.
  • The entry follows the codebase conventions and is consistent with other Azure-related registry files (azure.toml, azure-kubelogin.toml, etc.).

Confidence Score: 5/5

Safe to merge — small, well-structured registry addition with no logic issues.

The single changed file follows all established registry conventions, uses a template filter pattern already validated in other entries, and handles version prefix variation correctly. No P0 or P1 findings.

No files require special attention.

Important Files Changed

Filename Overview
registry/azd.toml Adds azd (Azure Developer CLI) to the mise registry, backed by aqua:Azure/azure-dev with a correct test assertion using the trim_start_matches pattern already established by zarf.toml and magika.toml.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["mise use -g azd@latest"] --> B["Registry lookup: azd.toml"]
    B --> C["Backend: aqua:Azure/azure-dev"]
    C --> D["Aqua fetches tag from GitHub\ne.g. azure-dev-cli_1.9.0"]
    D --> E["Install binary"]
    E --> F["Test: azd version"]
    F --> G{"stdout contains expected?"}
    G -->|Yes| H["Pass"]
    G -->|No| I["Fail"]
    B --> J["trim_start_matches strips azure-dev-cli_ prefix\nfrom version before comparison"]
    J --> G
Loading

Reviews (3): Last reviewed commit: "fix: strip azure-dev-cli_ version prefix..." | Re-trigger Greptile

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new registry entry for the Azure Developer CLI (azd) utilizing the aqua backend. A review comment points out that the test field is defined using a non-standard table format and suggests converting it to a string to ensure it is correctly processed by the registry generator.

rajeshkamal5050 and others added 2 commits March 30, 2026 22:43
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The aqua registry resolves versions as azure-dev-cli_1.23.13 but
azd version outputs just 1.23.13. Use trim_start_matches to handle this.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jdx jdx merged commit bc819cc into jdx:main Mar 31, 2026
34 checks passed
mise-en-dev added a commit that referenced this pull request Apr 1, 2026
### 🚀 Features

- add azd (Azure Developer CLI) to registry by @rajeshkamal5050 in
[#8828](#8828)

### 🐛 Bug Fixes

- **(aqua)** skip registry lookup for linked versions in list_bin_paths
by @nikobockerman in [#8801](#8801)
- **(rust)** handle rustup check exit code 100 as non-error by @shalk in
[#8832](#8832)
- **(task)** resolve bare aliases in monorepo with config_roots by
@nkakouros in [#8819](#8819)
- show usage help when long_about is defined w/o args/flags by
@nkakouros in [#8824](#8824)

### 📚 Documentation

- fix serif font in sidebar and increase heading sizes by @jdx in
[#8831](#8831)
- fix #vscode link in ide integration page by @jedymatt in
[#8833](#8833)
- fix nested Markdown code fences by @muzimuzhi in
[#8835](#8835)

### New Contributors

- @shalk made their first contribution in
[#8832](#8832)
- @jedymatt made their first contribution in
[#8833](#8833)
- @nikobockerman made their first contribution in
[#8801](#8801)
- @rajeshkamal5050 made their first contribution in
[#8828](#8828)

## 📦 Aqua Registry Updates

#### New Packages (2)

- [`gastownhall/beads`](https://github.com/gastownhall/beads)
- [`getdbt.com/dbt-fusion`](https://github.com/getdbt.com/dbt-fusion)

#### Updated Packages (2)

- [`Azure/azure-dev`](https://github.com/Azure/azure-dev)
- [`magefile/mage`](https://github.com/magefile/mage)
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