Skip to content

Conversation

cmcgee1024
Copy link
Member

@cmcgee1024 cmcgee1024 commented Mar 11, 2025

Update the main branch with the fixes. Establish a fresh version with upgrade path from the release made from the 1.0 branch.

cmcgee1024 and others added 4 commits February 27, 2025 17:41
Put a check in-place to unset the global default toolchain if it is no longer installed

Set the global default to the installed toolchain if it is not set

Add full toolchain selection resolution to the update operation resolve update parameters

Fix the use command and toolchain selection routine to consider a global default set to a toolchain that is not installed as no selection at all

Add check for the physical presence of a toolchain to proxy so that it prevents circularity errors and provides an actionable message
Add test cases

Control verbosity of uninstall operation on macOS and other platforms
@cmcgee1024 cmcgee1024 marked this pull request as ready for review March 11, 2025 17:28
@cmcgee1024 cmcgee1024 changed the title Make updates better and more resilient Merge updates from release/1.0 to the main branch Mar 11, 2025
// This is a simple upgrade from the 0.4.0-dev pre-release
if var config, !overwrite &&
(
config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0, suffix: "dev") ||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my only fear is we will forget to update this if statement upon some release 🤔

@cmcgee1024 cmcgee1024 merged commit 726ea90 into swiftlang:main Mar 13, 2025
18 checks passed
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.

2 participants