Skip to content

Commit 384ac21

Browse files
committed
license fixes
1 parent 3dbcccb commit 384ac21

File tree

82 files changed

+86
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+86
-188
lines changed

.licenseignore

+2
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ Snippets/*
3434
dev/git.commit.template
3535
.unacceptablelanguageignore
3636
IntegrationTests/*.sh
37+
scripts/generate_contributors_list.sh
38+
scripts/generate_rediscommandencoder_multi_encode.sh

CONTRIBUTING.md

+1-1

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// This source file is part of the RediStack open source project
55
//
6-
// Copyright (c) 2019-2023 RediStack project authors
6+
// Copyright (c) 2019-2023 Apple Inc. and the RediStack project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information

Sources/RESP3/RESP3Error.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RESP3/RESP3Token.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RESP3/RESP3TokenDecoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RESP3/RESP3TypeIdentifier.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ChannelHandlers/RedisByteDecoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2022 RediStack project authors
5+
// Copyright (c) 2019-2022 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ChannelHandlers/RedisCommandHandler.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2020 RediStack project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ChannelHandlers/RedisMessageEncoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ChannelHandlers/RedisPubSubHandler.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020 RediStack project authors
5+
// Copyright (c) 2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Cluster/RedisClusterNodeDescriptionProtocol.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Cluster/RedisClusterNodeID.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Cluster/RedisClusterShardDescriptionProtocol.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Cluster/RedisHashSlot.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Cluster/SwiftPolyfill.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/BasicCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2020 RediStack project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/HashCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/ListCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/PubSubCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020 RediStack project authors
5+
// Copyright (c) 2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/SetCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/SortedSetCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2022 RediStack project authors
5+
// Copyright (c) 2019-2022 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Commands/StringCommands.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ConnectionPool/ConnectionPool.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ConnectionPool/RedisConnectionPool+Configuration.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/ConnectionPool/RedisConnectionPool.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import Logging
2-
import NIOConcurrencyHelpers
3-
import NIOCore
4-
51
//===----------------------------------------------------------------------===//
62
//
73
// This source file is part of the RediStack open source project
84
//
9-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
106
// Licensed under Apache License v2.0
117
//
128
// See LICENSE.txt for license information
@@ -15,6 +11,10 @@ import NIOCore
1511
// SPDX-License-Identifier: Apache-2.0
1612
//
1713
//===----------------------------------------------------------------------===//
14+
15+
import Logging
16+
import NIOConcurrencyHelpers
17+
import NIOCore
1818
import struct Foundation.UUID
1919

2020
/// A `RedisConnectionPool` is an implementation of `RedisClient` backed by a pool of connections to Redis,

Sources/RediStack/ConnectionPool/RedisConnectionPoolError.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Extensions/StandardLibrary.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/Extensions/SwiftNIO.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2022 RediStack project authors
5+
// Copyright (c) 2019-2022 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RESP/RESPTranslator.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RESP/RESPValue.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RESP/RESPValueConvertible.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisChannelName.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020 RediStack project authors
5+
// Copyright (c) 2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2020 RediStack project authors
5+
// Copyright (c) 2019-2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisCommandEncoder-multi-encode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisCommandEncoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2023 RediStack project authors
5+
// Copyright (c) 2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisConnection+Configuration.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisConnection.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019-2023 RediStack project authors
5+
// Copyright (c) 2019-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisError.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisKey+TTL.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020 RediStack project authors
5+
// Copyright (c) 2020 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisKey.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RediStack project authors
5+
// Copyright (c) 2019 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

Sources/RediStack/RedisLogging.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2020-2023 RediStack project authors
5+
// Copyright (c) 2020-2023 Apple Inc. and the RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information

0 commit comments

Comments
 (0)