From 99594fefc4ff307afe02acd85b3d1caa18c9bb48 Mon Sep 17 00:00:00 2001 From: David Nadoba Date: Wed, 22 Dec 2021 11:24:22 +0100 Subject: [PATCH] remove dot from `HTTP1.1` folder Swift tools version 5.3 and higher (the version that is specified at very top of a Package.swift file) excludes folders with a dot in the name by default. It luckily produces a warning "found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target". However, this issue is buried under a lot of missing types Errors because of the 3 excluded files. I run into this issue and it took me some time to figure out what the actual problem was. As we will eventually move from 5.2 to 5.3 we can already save the next person some time by resolving this issue now. --- .../{HTTP1.1 => HTTP1}/HTTP1ClientChannelHandler.swift | 0 .../ConnectionPool/{HTTP1.1 => HTTP1}/HTTP1Connection.swift | 0 .../{HTTP1.1 => HTTP1}/HTTP1ConnectionStateMachine.swift | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename Sources/AsyncHTTPClient/ConnectionPool/{HTTP1.1 => HTTP1}/HTTP1ClientChannelHandler.swift (100%) rename Sources/AsyncHTTPClient/ConnectionPool/{HTTP1.1 => HTTP1}/HTTP1Connection.swift (100%) rename Sources/AsyncHTTPClient/ConnectionPool/{HTTP1.1 => HTTP1}/HTTP1ConnectionStateMachine.swift (100%) diff --git a/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ClientChannelHandler.swift b/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ClientChannelHandler.swift similarity index 100% rename from Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ClientChannelHandler.swift rename to Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ClientChannelHandler.swift diff --git a/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1Connection.swift b/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1Connection.swift similarity index 100% rename from Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1Connection.swift rename to Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1Connection.swift diff --git a/Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ConnectionStateMachine.swift b/Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ConnectionStateMachine.swift similarity index 100% rename from Sources/AsyncHTTPClient/ConnectionPool/HTTP1.1/HTTP1ConnectionStateMachine.swift rename to Sources/AsyncHTTPClient/ConnectionPool/HTTP1/HTTP1ConnectionStateMachine.swift