Skip to content

Commit 5b933eb

Browse files
committed
Clean up and pass sanity checker
1 parent 3f73125 commit 5b933eb

7 files changed

+30
-13
lines changed

CONTRIBUTORS.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
For the purpose of tracking copyright, this is the list of individuals and
2+
organizations who have contributed source code to SwiftNIO.
3+
4+
For employees of an organization/company where the copyright of work done
5+
by employees of that company is held by the company itself, only the company
6+
needs to be listed here.
7+
8+
## COPYRIGHT HOLDERS
9+
10+
- Apple Inc. (all contributors with '@apple.com')
11+
12+
### Contributors
13+
14+
- Cory Benfield <lukasa@apple.com>
15+
16+
**Updating this list**
17+
18+
Please do not edit this file manually. It is generated using `./scripts/generate_contributors_list.sh`. If a name is misspelled or appearing multiple times: add an entry in `./.mailmap`

Tests/StructuredHeadersTests/StructuredFieldDecoderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import CodableStructuredHeaders
21
//===----------------------------------------------------------------------===//
32
//
43
// This source file is part of the SwiftNIO open source project
@@ -12,6 +11,7 @@ import CodableStructuredHeaders
1211
// SPDX-License-Identifier: Apache-2.0
1312
//
1413
//===----------------------------------------------------------------------===//
14+
import CodableStructuredHeaders
1515
import Foundation
1616
import StructuredHeaders
1717
import XCTest

Tests/StructuredHeadersTests/StructuredFieldEncoderTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import CodableStructuredHeaders
21
//===----------------------------------------------------------------------===//
32
//
43
// This source file is part of the SwiftNIO open source project
@@ -12,6 +11,7 @@ import CodableStructuredHeaders
1211
// SPDX-License-Identifier: Apache-2.0
1312
//
1413
//===----------------------------------------------------------------------===//
14+
import CodableStructuredHeaders
1515
import Foundation
1616
import StructuredHeaders
1717
import XCTest

scripts/check_no_api_breakages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Licensed under Apache License v2.0
88
##
99
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.md for the list of SwiftNIO project authors
10+
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
1111
##
1212
## SPDX-License-Identifier: Apache-2.0
1313
##

scripts/generate_contributors_list.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Licensed under Apache License v2.0
88
##
99
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.md for the list of SwiftNIO project authors
10+
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
1111
##
1212
## SPDX-License-Identifier: Apache-2.0
1313
##
@@ -17,7 +17,7 @@ set -eu
1717
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1818
contributors=$( cd "$here"/.. && git shortlog -es | cut -f2 | sed 's/^/- /' )
1919

20-
cat > "$here/../CONTRIBUTORS.md" <<- EOF
20+
cat > "$here/../CONTRIBUTORS.txt" <<- EOF
2121
For the purpose of tracking copyright, this is the list of individuals and
2222
organizations who have contributed source code to SwiftNIO.
2323
@@ -33,8 +33,7 @@ cat > "$here/../CONTRIBUTORS.md" <<- EOF
3333
3434
$contributors
3535
36-
## Updating this list
36+
**Updating this list**
3737
38-
Please do not edit this file manually. It is generated using \`./scripts/generate_contributors_list.sh\`.
39-
If a name is misspelled or appearing multiple times: add an entry in \`./.mailmap\` (see [docs](https://git-scm.com/docs/git-shortlog#_mapping_authors))
38+
Please do not edit this file manually. It is generated using \`./scripts/generate_contributors_list.sh\`. If a name is misspelled or appearing multiple times: add an entry in \`./.mailmap\`
4039
EOF

scripts/generate_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Licensed under Apache License v2.0
88
##
99
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.md for the list of SwiftNIO project authors
10+
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
1111
##
1212
## SPDX-License-Identifier: Apache-2.0
1313
##

scripts/sanity.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
## Licensed under Apache License v2.0
88
##
99
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.md for the list of SwiftNIO project authors
10+
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
1111
##
1212
## SPDX-License-Identifier: Apache-2.0
1313
##
@@ -56,7 +56,7 @@ for language in swift-or-c bash dtrace; do
5656
// Licensed under Apache License v2.0
5757
//
5858
// See LICENSE.txt for license information
59-
// See CONTRIBUTORS.md for the list of SwiftNIO project authors
59+
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
6060
//
6161
// SPDX-License-Identifier: Apache-2.0
6262
//
@@ -75,7 +75,7 @@ EOF
7575
## Licensed under Apache License v2.0
7676
##
7777
## See LICENSE.txt for license information
78-
## See CONTRIBUTORS.md for the list of SwiftNIO project authors
78+
## See CONTRIBUTORS.txt for the list of SwiftNIO project authors
7979
##
8080
## SPDX-License-Identifier: Apache-2.0
8181
##
@@ -94,7 +94,7 @@ EOF
9494
* Licensed under Apache License v2.0
9595
*
9696
* See LICENSE.txt for license information
97-
* See CONTRIBUTORS.md for the list of SwiftNIO project authors
97+
* See CONTRIBUTORS.txt for the list of SwiftNIO project authors
9898
*
9999
* SPDX-License-Identifier: Apache-2.0
100100
*

0 commit comments

Comments
 (0)