From 78ddbdfca10f64e4399da37c63372fd8db232152 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Thu, 24 Sep 2020 16:26:39 +0100 Subject: [PATCH] We now use the main branch. (#250) --- README.md | 4 ++-- docker/Dockerfile | 2 +- scripts/check_no_api_breakages.sh | 6 +++--- scripts/generate_linux_tests.rb | 2 -- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 08c72dd..10b67de 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,11 @@ $ swift test ## Versions Just like the rest of the SwiftNIO family, swift-nio-http2 follows [SemVer 2.0.0](https://semver.org/#semantic-versioning-200) with a separate document -declaring [SwiftNIO's Public API](https://github.com/apple/swift-nio/blob/master/docs/public-api.md). +declaring [SwiftNIO's Public API](https://github.com/apple/swift-nio/blob/main/docs/public-api.md). ### `swift-nio-http2` 1.x -`swift-nio-http2` versions 1.x are a pure-Swift implementation of the HTTP/2 protocol for SwiftNIO. It's part of the SwiftNIO 2 family of repositories and does not have any dependencies besides [`swift-nio`](https://github.com/apple/swift-nio) and Swift 5. As the latest version, it lives on the [`master`](https://github.com/apple/swift-nio-http2) branch. +`swift-nio-http2` versions 1.x are a pure-Swift implementation of the HTTP/2 protocol for SwiftNIO. It's part of the SwiftNIO 2 family of repositories and does not have any dependencies besides [`swift-nio`](https://github.com/apple/swift-nio) and Swift 5. As the latest version, it lives on the [`main`](https://github.com/apple/swift-nio-http2) branch. To depend on `swift-nio-http2`, put the following in the `dependencies` of your `Package.swift`: diff --git a/docker/Dockerfile b/docker/Dockerfile index 23f5167..033b5e0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -26,7 +26,7 @@ RUN mkdir -p $HOME/.tools RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile # script to allow mapping framepointers on linux (until part of the toolchain) -RUN wget -q https://raw.githubusercontent.com/apple/swift/master/utils/symbolicate-linux-fatal -O $HOME/.tools/symbolicate-linux-fatal +RUN wget -q https://raw.githubusercontent.com/apple/swift/main/utils/symbolicate-linux-fatal -O $HOME/.tools/symbolicate-linux-fatal RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal # swiftformat (until part of the toolchain) diff --git a/scripts/check_no_api_breakages.sh b/scripts/check_no_api_breakages.sh index 7ada78b..29aa38b 100755 --- a/scripts/check_no_api_breakages.sh +++ b/scripts/check_no_api_breakages.sh @@ -3,7 +3,7 @@ ## ## This source file is part of the SwiftNIO open source project ## -## Copyright (c) 2017-2018 Apple Inc. and the SwiftNIO project authors +## Copyright (c) 2017-2020 Apple Inc. and the SwiftNIO project authors ## Licensed under Apache License v2.0 ## ## See LICENSE.txt for license information @@ -51,8 +51,8 @@ function usage() { echo >&2 echo >&2 "Examples:" echo >&2 - echo >&2 "Check between master and tag 2.1.1 of swift-nio:" - echo >&2 " $0 https://github.com/apple/swift-nio master 2.1.1" + echo >&2 "Check between main and tag 2.1.1 of swift-nio:" + echo >&2 " $0 https://github.com/apple/swift-nio main 2.1.1" echo >&2 echo >&2 "Check between HEAD and commit 64cf63d7 using the provided toolchain:" echo >&2 " xcrun --toolchain org.swift.5120190702a $0 ../some-local-repo HEAD 64cf63d7" diff --git a/scripts/generate_linux_tests.rb b/scripts/generate_linux_tests.rb index a6f1a53..7e3b102 100755 --- a/scripts/generate_linux_tests.rb +++ b/scripts/generate_linux_tests.rb @@ -28,8 +28,6 @@ include FileUtils # # This ruby script will auto generate LinuxMain.swift and the +XCTest.swift extension files for Swift Package Manager on Linux platforms. # -# See https://github.com/apple/swift-corelibs-xctest/blob/master/Documentation/Linux.md -# def header(fileName) string = <<-eos //===----------------------------------------------------------------------===//