Skip to content

[6.0] Deprecate experimental Swift SDK CLI in favor of unprefixed counterparts #7515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 1, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Apr 30, 2024

Cherry-pick of #7512 and #7507

Explanation: Since SE-0387 was accepted and available in Swift 5.9 and Swift 5.10, it's time to deprecate relevant CLI with the experimental prefix. There are enough users of this command and corresponding options on swift build in the wild, which means those should be deprecated first before removing.
Scope: isolated to swift sdk command and 2 Swift SDK options on swift build.
Risk: low, these commands options have no impact on swift build outside of cross-compilation use cases.
Testing: added new end-to-end tests in SDKCommandTests in #7517 cherry-picked here.
Issue: N/A
Reviewer: @bnbarham

@MaxDesiatov MaxDesiatov changed the title Deprecate experimental Swift SDK CLI if favor of unprefixed counterparts [6.0] Deprecate experimental Swift SDK CLI if favor of unprefixed counterparts Apr 30, 2024
@MaxDesiatov MaxDesiatov added the swift 6.0 Related to Swift 6.0 release branch label Apr 30, 2024
@MaxDesiatov MaxDesiatov changed the title [6.0] Deprecate experimental Swift SDK CLI if favor of unprefixed counterparts [6.0] Deprecate experimental Swift SDK CLI in favor of unprefixed counterparts Apr 30, 2024
Previously these commands weren't covered with end-to-end tests. Now we verify that installation/listing/removal of a fixture Swift SDK succeeds, and also verify that `experimental-sdk` invocations issue a deprecation warning.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov merged commit eb2d5b3 into release/6.0 May 1, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/graduate-swift-sdks-6.0 branch May 1, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants