swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.72k stars 1.34k forks source link

[6.0] Provide deprecation messages for `PackagePlugin.Path` #7683

Closed MaxDesiatov closed 3 months ago

MaxDesiatov commented 3 months ago

Cherry-pick of https://github.com/apple/swift-package-manager/pull/7677.

Explanation: As PackagePlugin.Path was deprecated in favor of PackagePlugin.URL, we should provide explicit deprecation messages that redirect plugin authors to the recommended use of the URL type. Scope: Isolated to the PackagePlugin module. Risk: low, this change is technically NFC. Testing: N/A as it is NFC. Issue: rdar://128324920 Reviewer: @bnbarham

MaxDesiatov commented 3 months ago

@swift-ci test