Skip to content

Commit fd73e0a

Browse files
committed
Merge branch '61-rebrand' into 'master'
61 -- Rebrand from `RedisNIO` to `RediStack` Closes #61 See merge request Mordil/swift-redis-nio-client!73
2 parents 57168ed + 7e7e354 commit fd73e0a

40 files changed

+159
-159
lines changed

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Code of Conduct
2-
To be a truly great community, RedisNIO needs to welcome developers from all walks of life,
2+
To be a truly great community, RediStack needs to welcome developers from all walks of life,
33
with different backgrounds, and with a wide range of experience. A diverse and friendly
44
community will have more great ideas, more unique perspectives, and produce more great
5-
code. We will work diligently to make the RedisNIO community welcoming to everyone.
5+
code. We will work diligently to make the RediStack community welcoming to everyone.
66

7-
To give clarity of what is expected of our members, RedisNIO has adopted the code of conduct
7+
To give clarity of what is expected of our members, RediStack has adopted the code of conduct
88
defined by [contributor-covenant.org](https://www.contributor-covenant.org). This document is used across many open source
99
communities, and we think it articulates our values well. The full text is copied below:
1010

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ that your contributions are licensed under the [Apache 2.0 license](https://www.
77

88
Please ensure to specify the following:
99

10-
* RedisNIO commit hash
10+
* **RediStack** commit hash
1111
* Simplest possible steps to reproduce
1212
* A pull request with a failing test case is preferred, but it's just as fine to write it in the issue description
1313
* Environment Information

CONTRIBUTORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
For the purpose of tracking copyright, this is the list of individuals and
2-
organizations who have contributed source code to RedisNIO.
2+
organizations who have contributed source code to RediStack.
33

44
For employees of an organization/company where the copyright of work done
55
by employees of that company is held by the company itself, only the company

NOTICE.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

2-
The RedisNIO Project
2+
The RediStack Project
33
====================
44

5-
Please visit the RedisNIO web site for more information:
5+
Please visit the RediStack web site for more information:
66

77
* https://github.com/mordil/nio-redis
88

9-
Copyright 2019 The RedisNIO Project
9+
Copyright 2019 The RediStack Project
1010

11-
The RedisNIO Project licenses this file to you under the Apache License,
11+
The RediStack Project licenses this file to you under the Apache License,
1212
version 2.0 (the "License"); you may not use this file except in compliance
1313
with the License. You may obtain a copy of the License at:
1414

Package.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.0
22
//===----------------------------------------------------------------------===//
33
//
4-
// This source file is part of the RedisNIO open source project
4+
// This source file is part of the RediStack open source project
55
//
6-
// Copyright (c) 2019 RedisNIO project authors
6+
// Copyright (c) 2019 RediStack project authors
77
// Licensed under Apache License v2.0
88
//
99
// See LICENSE.txt for license information
10-
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
10+
// See CONTRIBUTORS.txt for the list of RediStack project authors
1111
//
1212
// SPDX-License-Identifier: Apache-2.0
1313
//
@@ -16,18 +16,18 @@
1616
import PackageDescription
1717

1818
let package = Package(
19-
name: "swift-redis-nio-client",
19+
name: "redi-stack",
2020
products: [
21-
.library(name: "RedisNIO", targets: ["RedisNIO"])
21+
.library(name: "RediStack", targets: ["RediStack"])
2222
],
2323
dependencies: [
2424
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
2525
.package(url: "https://github.com/apple/swift-metrics.git", from: "1.0.0"),
2626
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0")
2727
],
2828
targets: [
29-
.target(name: "RedisNIO", dependencies: ["NIO", "Logging", "Metrics"]),
30-
.target(name: "RedisNIOTestUtils", dependencies: ["NIO", "RedisNIO"]),
31-
.testTarget(name: "RedisNIOTests", dependencies: ["RedisNIO", "NIO", "RedisNIOTestUtils"])
29+
.target(name: "RediStack", dependencies: ["NIO", "Logging", "Metrics"]),
30+
.target(name: "RediStackTestUtils", dependencies: ["NIO", "RediStack"]),
31+
.testTarget(name: "RediStackTests", dependencies: ["RediStack", "NIO", "RediStackTestUtils"])
3232
]
3333
)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66
[![Swift](https://img.shields.io/badge/Swift-5.0-brightgreen.svg?colorA=orange&colorB=4E4E4E)](https://swift.org)
77
[![Redis](https://img.shields.io/badge/Redis-5-brightgreen.svg?colorA=red&colorB=4E4E4E)](https://redis.io/download)
88

9-
# Swift Redis NIO Client
9+
# Swift RediStack
1010

1111
A non-blocking Swift client for [Redis](https://redis.io/) built on top of [SwiftNIO](https://github.com/apple/swift-nio).
1212

1313
This package defines everything you need to work with Redis through the [**Re**dis **S**eralization **P**rotocol (RESP)](https://redis.io/topics/protocol).
1414

15-
**RedisNIO** is part of the [Swift on Server Working Group](https://github.com/swift-server/sswg) ecosystem.
15+
**RediStack** is part of the [Swift on Server Working Group](https://github.com/swift-server/sswg) ecosystem.
1616

1717
| Proposal | Pitch | Discussion | Review | Vote |
1818
|----------|-------|------------|--------|------|
19-
| [SSWG-0004](https://github.com/swift-server/sswg/blob/master/proposals/0004-nio-redis.md) | [2019-01-07](https://forums.swift.org/t/swiftnio-redis-client/19325) | [2019-04-01](https://forums.swift.org/t/discussion-nioredis-nio-based-redis-driver/22455) | **TBD** | **TBD** |
19+
| [SSWG-0004](https://github.com/swift-server/sswg/blob/master/proposals/0004-nio-redis.md) | [2019-01-07](https://forums.swift.org/t/swiftnio-redis-client/19325) | [2019-04-01](https://forums.swift.org/t/discussion-nioredis-nio-based-redis-driver/22455) | [2019-06-09](https://forums.swift.org/t/feedback-redisnio-a-nio-based-redis-driver/25521) | [2019-06-27](https://forums.swift.org/t/june-27th-2019/26580) |
2020

2121
## :package: Installation
2222

23-
To install **RedisNIO**, just add the package as a dependency in your [**Package.swift**](https://github.com/apple/swift-package-manager/blob/master/Documentation/PackageDescriptionV4.md#dependencies)
23+
To install **RediStack**, just add the package as a dependency in your [**Package.swift**](https://github.com/apple/swift-package-manager/blob/master/Documentation/PackageDescriptionV4.md#dependencies)
2424

2525
```swift
2626
dependencies: [
@@ -32,11 +32,11 @@ and run the following command: `swift package resolve`
3232

3333
## :zap: Getting Started
3434

35-
**RedisNIO** is quick to use - all you need is an [`EventLoop`](https://apple.github.io/swift-nio/docs/current/NIO/Protocols/EventLoop.html) from **SwiftNIO**.
35+
**RediStack** is quick to use - all you need is an [`EventLoop`](https://apple.github.io/swift-nio/docs/current/NIO/Protocols/EventLoop.html) from **SwiftNIO**.
3636

3737
```swift
3838
import NIO
39-
import RedisNIO
39+
import RediStack
4040

4141
let eventLoop: EventLoop = ...
4242
let connection = RedisConnection.connect(
@@ -59,7 +59,7 @@ The latest version's docs are always available at https://mordil.gitlab.io/swift
5959

6060
## :construction: Contributing
6161

62-
Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help with **RedisNIO**.
62+
Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help with **RediStack**.
6363

6464
It is highly recommended to use [Docker](https://docker.com) to install Redis locally.
6565

Sources/RedisNIO/ChannelHandlers/RedisByteDecoder.swift renamed to Sources/RediStack/ChannelHandlers/RedisByteDecoder.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the RedisNIO open source project
3+
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RedisNIO project authors
5+
// Copyright (c) 2019 RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
9+
// See CONTRIBUTORS.txt for the list of RediStack project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

Sources/RedisNIO/ChannelHandlers/RedisCommandHandler.swift renamed to Sources/RediStack/ChannelHandlers/RedisCommandHandler.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the RedisNIO open source project
3+
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RedisNIO project authors
5+
// Copyright (c) 2019 RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
9+
// See CONTRIBUTORS.txt for the list of RediStack project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
@@ -54,7 +54,7 @@ public final class RedisCommandHandler {
5454
/// and don't want the buffer to resize, you shouldn't need to set this parameter.
5555
/// - logger: The `Logging.Logger` instance to use.
5656
/// The logger will have a `Foundation.UUID` value attached as metadata to uniquely identify this instance.
57-
public init(initialQueueCapacity: Int = 3, logger: Logger = Logger(label: "RedisNIO.CommandHandler")) {
57+
public init(initialQueueCapacity: Int = 3, logger: Logger = Logger(label: "RediStack.CommandHandler")) {
5858
self.commandResponseQueue = CircularBuffer(initialCapacity: initialQueueCapacity)
5959
self.logger = logger
6060
self.logger[metadataKey: "CommandHandler"] = "\(UUID())"

Sources/RedisNIO/ChannelHandlers/RedisMessageEncoder.swift renamed to Sources/RediStack/ChannelHandlers/RedisMessageEncoder.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the RedisNIO open source project
3+
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RedisNIO project authors
5+
// Copyright (c) 2019 RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
9+
// See CONTRIBUTORS.txt for the list of RediStack project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//
@@ -25,7 +25,7 @@ public final class RedisMessageEncoder: MessageToByteEncoder {
2525

2626
private let logger: Logger
2727

28-
public init(logger: Logger = Logger(label: "RedisNIO.RedisMessageEncoder")) {
28+
public init(logger: Logger = Logger(label: "RediStack.RedisMessageEncoder")) {
2929
self.logger = logger
3030
}
3131

Sources/RedisNIO/Commands/BasicCommands.swift renamed to Sources/RediStack/Commands/BasicCommands.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the RedisNIO open source project
3+
// This source file is part of the RediStack open source project
44
//
5-
// Copyright (c) 2019 RedisNIO project authors
5+
// Copyright (c) 2019 RediStack project authors
66
// Licensed under Apache License v2.0
77
//
88
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of RedisNIO project authors
9+
// See CONTRIBUTORS.txt for the list of RediStack project authors
1010
//
1111
// SPDX-License-Identifier: Apache-2.0
1212
//

0 commit comments

Comments
 (0)