Add internal Go extension scaffolding to azd x init#8570
Draft
Copilot wants to merge 4 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Add support for --internal flag to azd x init
Add internal Go extension scaffolding to azd x init
Jun 8, 2026
Contributor
|
@copilot could we have the template files be separate files instead of being inlined? Like what's in |
Contributor
Author
Addressed in b92ef04 by moving the internal scaffold templates into embedded resource files and updating |
Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com>
Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com>
- Introduced a constant for the default extension version. - Updated internal scaffold logic to use the new version constant. - Refactored codeowners handling in the internal scaffold process. - Enhanced tests to reflect changes in default version behavior.
b92ef04 to
2795dfb
Compare
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.
azd x initdid not generate the repo-level files required for first-party extensions undercli/azd/extensions. This adds an internal scaffold path focused on Go extensions.CLI
azd x init --internal0.0.1-preview--codeownersfor non-interactive CODEOWNERS generationGenerated internal files
ci-build.ps1,ci-test.ps1,version.txt,cspell.yaml.github/workflows/lint-ext-<id>.ymleng/pipelines/release-ext-<id>.yml.github/CODEOWNERSwith the extension pathSafety / scope
--internalto Go extensions for nowExample:
azd x init --internal --no-prompt \ --id azure.ai.example \ --name "Azure AI Example" \ --namespace ai.example \ --capabilities custom-commands \ --codeowners @owner,@Azure/team