-
Notifications
You must be signed in to change notification settings - Fork 125
Rename package to NIOHTTPClient #4
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
Conversation
Naming in different Swift projects should be consistent, in order to achieve this I propose (as recommended by @tomerd) to rename SwiftNIOHTTP to NIOHTTPClient Modifications: Updated naming in Package.swift Renamed directories Sources/SwiftNIOHTTP and Tests/SwiftNIOHTTPTests to Sources/NIOHTTPClient and Tests/NIOHTTPClientTests Updated imports in tests Result: Package is now called NIOHTTPClient
Package.swift
Outdated
@@ -16,20 +16,20 @@ | |||
import PackageDescription | |||
|
|||
let package = Package( | |||
name: "SwiftNIOHTTP", | |||
name: "NIOHTTPClient", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here we should use swift-nio-http-client
see the example set in swift-nio, swift-log, etc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
looks good, only one comment, lets get #2 first tho |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets merge #2 then this
test delayed close
Motivation:
Naming in different Swift projects should be consistent, in order to
achieve this I propose (as recommended by @tomerd) to rename
SwiftNIOHTTP to NIOHTTPClient
Modifications:
Updated naming in Package.swift
Renamed directories Sources/SwiftNIOHTTP and Tests/SwiftNIOHTTPTests to
Sources/NIOHTTPClient and Tests/NIOHTTPClientTests
Updated imports in tests
Result:
Package is now called NIOHTTPClient