Skip to content

[docs] Document aspire new --use-config-source and Git fetch notice - #2097

Merged
James Newton-King (JamesNK) merged 2 commits into
release/17.0from
docs/pr-21982-42744937266-1-091df5b7df8bc09f
Nov 13, 2026
Merged

James Newton-King (JamesNK) merged 2 commits into
release/17.0from
docs/pr-21982-42744937266-1-091df5b7df8bc09f

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#21982

Author: @JamesNK

Target branch: release/17.0 — the latest release branch on microsoft/aspire.dev — because the source PR has no milestone or release/* base ref to derive a more specific target (candidate_source: fallback_main, target_resolution: latest_release_fallback).

Why: The source PR makes the Git configuration-source fetch notice identify the repository and adds acquisition status UI. aspire new --use-config-source wasn't documented on the docs site.

Changes (updated page):

  • src/frontend/src/content/docs/reference/cli/commands/aspire-new.mdx: added the --use-config-source [true|false] option and described the repository-identifying fetch notice, its non-interactive form, URL redaction, and the in-memory cache behavior.

Triggered signals: cli_command_file_changed, cli_resource_strings_changed, pr_body_has_cli_flag_mention, pr_body_has_user_facing_section, diff_scan_skipped_due_to_missing_patch.

SME review requested: please verify the option's accepted values and wording.

Generated by PR Documentation Check for #21982 · copilot · auto · 30.1 AIC · ⌖ 1.16 AIC · ⊞ 7.4K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Nov 10, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #2097. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #2097 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

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.

🟡 Changes recommended

The CLI documentation omits the promised Git fetch-notice details, so those topics need to be added or the PR title and description narrowed to the consent-option change.

1 open issue
What changed in this PR

This PR extends the Aspire CLI reference with documentation for aspire new --use-config-source [true|false]. The diff covers the option only, not the Git fetch-notice behavior mentioned in the PR description.

Changes:

  • Documents accepting a Git configuration source or selecting standard Aspire configuration with false.
  • Explains using the option to answer the configuration-source prompt in non-interactive mode.
File Description
src/​frontend/​src/​content/​docs/​reference/​cli/​commands/​aspire-new.mdx Adds the configuration-source option to the command reference.

Review effort: Balanced


- **`--use-config-source [true|false]`**

Accept a Git configuration source that's available for the project, or pass `false` to use standard Aspire configuration instead. Specify this option to respond to the configuration source prompt in non-interactive mode.
@JamesNK
James Newton-King (JamesNK) merged commit 9f0fd72 into release/17.0 Nov 13, 2026
17 checks passed
@JamesNK
James Newton-King (JamesNK) deleted the docs/pr-21982-42744937266-1-091df5b7df8bc09f branch November 13, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants