Skip to content

refactor: use azd-core shared packages#36

Merged
jongio merged 6 commits intomainfrom
refactor
Feb 22, 2026
Merged

refactor: use azd-core shared packages#36
jongio merged 6 commits intomainfrom
refactor

Conversation

@jongio
Copy link
Owner

@jongio jongio commented Feb 19, 2026

Summary

Migrate azd-exec to use shared packages from azd-core, eliminating duplicated code.

Changes

  • version: Thin wrapper delegates to azd-core/version.NewCommand() (keeps ldflags init)
  • shell constants: Removed constants.go wrapper, callers import azd-core/shellutil directly
  • golangci-lint: Migrated config from v1 to v2 format

Depends On

Quality

  • All 4 test packages pass
  • 81.8% coverage
  • golangci-lint v2 clean

jongio and others added 4 commits February 18, 2026 23:54
- Replace internal version package with azd-core/version wrapper
- Delegate version command to azd-core/version.NewCommand

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix golangci-lint v2 issues (errcheck, staticcheck, revive)
- Fix test reliability issues
- All preflight checks now pass

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

🚀 Website Preview

Your PR preview was available here.

Preview has been cleaned up as the PR was closed.

github-actions bot added a commit that referenced this pull request Feb 19, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Feb 22, 2026
Config uses version: 2 format which requires golangci-lint v2.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Feb 22, 2026
@github-actions
Copy link
Contributor

🚀 Test This PR

A preview build (0.3.6-pr36) is ready for testing!

🌐 Website Preview

Live Preview: https://jongio.github.io/azd-exec/pr/36/

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.ps1) } -PrNumber 36 -Version 0.3.6-pr36"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/install-pr.sh | bash -s 36 0.3.6-pr36

Uninstall

When you're done testing:

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.ps1) } -PrNumber 36"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-exec/main/cli/scripts/uninstall-pr.sh | bash -s 36

Build Info:

What to Test:
Please review the PR description and test the changes described there.

@jongio jongio merged commit b211c99 into main Feb 22, 2026
15 checks passed
@jongio jongio deleted the refactor branch February 22, 2026 08:01
github-actions bot added a commit that referenced this pull request Feb 22, 2026
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.

1 participant