Skip to content

Introduce version selector for Aspire templates - #8625

Merged
David Fowler (davidfowl) merged 3 commits into
mainfrom
mitchdenny/aspire-new-template-selection
Apr 8, 2025
Merged

Introduce version selector for Aspire templates#8625
David Fowler (davidfowl) merged 3 commits into
mainfrom
mitchdenny/aspire-new-template-selection

Conversation

@mitchdenny

@mitchdennyMitch Denny (mitchdenny) commented Apr 8, 2025

Copy link
Copy Markdown
Member

Implement a version selection feature for Aspire project templates, allowing users to choose from available versions, including pre-release options. Update related methods and interfaces to support this functionality.

Fixes#8627
Fixes#8597
Fixes#8626

CopilotAI review requested due to automatic review settings April 8, 2025 09:42
@mitchdennyMitch Denny (mitchdenny) linked an issue Apr 8, 2025 that may be closed by this pull request
@mitchdennyMitch Denny (mitchdenny) added this to the 9.2 milestone Apr 8, 2025

CopilotAI 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.

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment threadsrc/Aspire.Cli/Commands/NewCommand.cs Outdated
Comment threadsrc/Aspire.Cli/Commands/NewCommand.cs Outdated
Comment threadsrc/Aspire.Cli/NuGetPackageCache.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@davidfowl
David Fowler (davidfowl) deleted the mitchdenny/aspire-new-template-selection branch April 8, 2025 16:15
@mitchdenny

Copy link
Copy Markdown
MemberAuthor

/backport to release/9.2

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/9.2: https://github.com/dotnet/aspire/actions/runs/14343466841

Ankit Jain (radical) pushed a commit that referenced this pull request Apr 9, 2025
* Introduce version selecto to aspire new
* Update src/Aspire.Cli/Commands/NewCommand.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/Aspire.Cli/Commands/NewCommand.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: David Fowler <davidfowl@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Youssef Fahmy (Youssef1313) added a commit that referenced this pull request Apr 9, 2025
* Migrate from VSTest to Microsoft.Testing.Platform
* Address TODO
* Cleanup stuff around runsettings
* Add comment
* Progress
* Remove locale
* Always show live output
* Restore test session timeout
* Fix timeout
* Fix typo
* Fix duplicate commnand-line options
* Fix Linux
* Fix for Linux
* Fix
* Fix
* Filter failing
* Fix
* ignore exit code 8
* Fix extra dot
* Ignore exit code
* Fix duplicate --ignore-exit-code
* Fix playground tests on helix
* Move to RepoTesting.props
* Fix results dir
* Fix
* Progress
* Fix duplicate command-line option
* Missing report-trx
* Run executable
* Address review comments
* Revert "Run executable"
This reverts commit d10e168.
* dotnet dll
* Introduce version selector for Aspire templates (#8625)
* Introduce version selecto to aspire new
* Update src/Aspire.Cli/Commands/NewCommand.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/Aspire.Cli/Commands/NewCommand.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: David Fowler <davidfowl@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Error handling for GetCapabilitiesAsync connection issues (#8614)
* Error out when GetCapabiltiesAsync is missing or unexpected exception occurs.
* Update src/Aspire.Cli/DotNetCliRunner.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Obsolete AddAzureContainerAppsInfrastructure (#8639)
* Obsolete AddAzureContainerAppsInfrastructure
This method is no longer meant to be used. Instead developers should be calling AddAzureContainerAppEnvironment.
Covert the tests using this API to the new API
* Fix volume output naming issue
We weren't discriminating between volumes and bindmounts, which caused a cache collision.
* Switch the prefix at the beginning
* Add error handling for package updates in workflow (#8390)
* Filter out tracing health endpoints in service defaults templates (#8643)
* Filter out tracing health endpoints
Fixes#8580
* Fix typo
* Show neutral icon for container exiting with status code 0 (#8477)
* Show neutral icon for container exiting with status code 0
* Show info/stop icons for all exited resources with status code 0
* Add finished test for custom resource, remove exit code expectation
* update tests
* [tests] Correctly mark Aspire.Dashboard.Tests.Integration.Playwright.AppBarTests with RequiresPlaywright (#8647)
* [tests] Skip generating Directory.Packages.Versions.props for Test (#8621)
.. Utility projects.
* Fix running playground tests on windows
---------
Co-authored-by: Ankit Jain <radical@gmail.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Co-authored-by: Mitch Denny <midenn@microsoft.com>
Co-authored-by: David Fowler <davidfowl@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
Co-authored-by: Damian Edwards <damian@damianedwards.com>
Co-authored-by: Adam Ratzman <adam@adamratzman.com>
@github-actionsgithub-actionsBot locked and limited conversation to collaborators May 9, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

3 participants

@mitchdenny@davidfowl