Skip to content

Package.swift: make package name consistent with repo name #1647

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 3 commits into from
May 10, 2023

Conversation

MaxDesiatov
Copy link
Contributor

Rest of SwiftPM packages provided by Apple follow a dash-case naming scheme consistent with repository name, usually with swift- prefix.

This shouldn't have an impact on SwiftSyntax clients. For example swift-format already uses package: "swift-syntax" argument in its Package.swift for specifying the dependency.

Rest of SwiftPM packages provided by Apple follow a dash-case naming scheme consistent with repository name, usually
with `swift-` prefix.

This shouldn't have an impact on SwiftSyntax clients. For example `swift-format` already uses `package: "swift-syntax"` argument in its `Package.swift` for specifying the dependency.
@MaxDesiatov MaxDesiatov requested a review from ahoppen as a code owner May 9, 2023 15:40
@MaxDesiatov MaxDesiatov self-assigned this May 9, 2023
@ahoppen
Copy link
Member

ahoppen commented May 9, 2023

@swift-ci Please test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@kimdv
Copy link
Contributor

kimdv commented May 10, 2023

@swift-ci please test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit 17e83de into main May 10, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/package-name branch May 10, 2023 17:45
@MaxDesiatov MaxDesiatov restored the maxd/package-name branch May 10, 2023 17:45
@MaxDesiatov MaxDesiatov deleted the maxd/package-name branch May 10, 2023 17:46
MaxDesiatov added a commit that referenced this pull request Jun 14, 2023
Rest of SwiftPM packages provided by Apple follow a dash-case naming scheme consistent with repository name, usually with `swift-` prefix.

This shouldn't have an impact on SwiftSyntax clients. For example `swift-format` already uses `package: "swift-syntax"` argument in its `Package.swift` for specifying the dependency.

Risk: low, affects only the package display name
Original PRs: #1647 for `main`
Reviewed by: @ahoppen and @bnbarham
Resolves: issue discussed in https://forums.swift.org/t/what-exactly-is-the-real-name-of-this-package/64868
Tests: N/A
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.

3 participants