Remove --prerelease switches from aspire CLI commands#9447
Merged
Conversation
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove
Remove --prerelease switches from aspire CLI commands
May 21, 2025
--prerelease switches from the aspire new and aspire add CLI commands
mitchdenny
reviewed
May 21, 2025
mitchdenny
reviewed
May 21, 2025
…ethod Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
mitchdenny
reviewed
May 22, 2025
mitchdenny
reviewed
May 22, 2025
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
mitchdenny
reviewed
May 22, 2025
…agesAsync Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
davidfowl
reviewed
May 22, 2025
davidfowl
approved these changes
May 22, 2025
davidfowl
reviewed
May 22, 2025
davidfowl
reviewed
May 22, 2025
Contributor
Author
|
@davidfowl Unfortunately I hit an unexpected error while processing your comment. I've automatically reported this to GitHub. You can ask me to try again later by mentioning me in a new comment. If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: Sorry for the inconvenience! |
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
Co-authored-by: mitchdenny <513398+mitchdenny@users.noreply.github.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR removes the
--prereleaseswitch from theaspire newandaspire addCLI commands while defaulting theprereleaseparameter totruefor internal API calls.Changes
--prereleaseoption fromNewCommand--prereleaseoption fromAddCommandNuGetPackageCacheandIDotNetCliRunnerinterfaces to defaultprereleasetotruein method signaturesThis approach simplifies the CLI interface while ensuring that prerelease packages are included by default in searches, with the option to change this behavior in the future through the internal API if needed.
Fixes #9446.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.fwupd.org/usr/bin/fwupdmgr refresh(dns block)dnceng.pkgs.visualstudio.com/home/REDACTED/work/aspire/aspire/.dotnet/dotnet test tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj(dns block)pkgs.dev.azure.com/home/REDACTED/work/aspire/aspire/.dotnet/dotnet test tests/Aspire.Cli.Tests/Aspire.Cli.Tests.csproj(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.