You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation:
To give a better first impression, and providing more comprehensive information for first time viewers, the README file needed reworking.
Modifications:
- Add a CHANGELOG file that at least redirects readers to the releases page of GitLab
- Update the CONTRIBUTORS list
- Change project README to have more information, flow better, and to have a better "first impression"
Result:
The README should give a stronger indication into the project's health.
| The [GitHub repository](https://github.com/Mordil/swift-redis-nio-client) is a **read-only** mirror of the GitLab repository. For issues and merge requests, [please visit GitLab](https://gitlab.com/mordil/swift-redis-nio-client). |
The <ahref="https://github.com/Mordil/swift-redi-stack"rel="nofollow noreferrer noopener"target="_blank">GitHub repository</a> is a <b>read-only</b> mirror of the GitLab repository. For issues and merge requests, <ahref="https://gitlab.com/mordil/swift-redi-stack"rel="nofollow noreferrer noopener"target="_blank">please visit GitLab</a>.
15
+
</th></tr></thead></table>
10
16
11
-
A non-blocking Swift client for [Redis](https://redis.io/) built on top of [SwiftNIO](https://github.com/apple/swift-nio).
17
+
## Introduction
12
18
13
-
This package defines everything you need to work with Redis through the [**Re**dis **S**eralization **P**rotocol (RESP)](https://redis.io/topics/protocol).
19
+
**RediStack** (pronounced like "ready stack") is a _non-blocking_ Swift client for [Redis](https://redis.io) built on top of [SwiftNIO](https://github.com/apple/swift-nio).
14
20
15
-
**RediStack** is part of the [Swift on Server Working Group](https://github.com/swift-server/sswg) ecosystem.
21
+
It communicates over the network using Redis' [**Re**dis **S**eralization **P**rotocol (RESP2)](https://redis.io/topics/protocol).
The table below lists the major releases alongside their compatible language, dependency, and Redis versions.
24
+
25
+
| SPM Version |[Swift](https://swift.org/download)|[Redis](https://redis.io)|[SwiftNIO](https://github.com/apple/swift-nio)|[SwiftLog](https://github.com/apple/swift-log)|[SwiftMetrics](https://github.com/apple/swift-metrics)|
**RediStack** runs anywhere that is officially supported by the [Swift project](https://swift.org/download/#releases). See the [test matrix below for more details](#language-and-platform-test-matrix).
20
32
21
-
## :package: Installation
33
+
## Installing
22
34
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)
35
+
To install **RediStack**, just add the package as a dependency in your **Package.swift**.
and run the following command: `swift package resolve`
32
-
33
-
## :zap: Getting Started
43
+
## Getting Started
34
44
35
45
**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**.
36
46
@@ -51,20 +61,51 @@ let result = try connection.set("my_key", to: "some value")
51
61
print(result) // Optional("some value")
52
62
```
53
63
54
-
## :closed_book: Documentation
64
+
> _**Note**: Use of `wait()` was used here for simplicity. Never call this method on an `eventLoop`!_
65
+
66
+
## Documentation
67
+
68
+
The docs for the latest tagged release are always available at https://mordil.gitlab.io/swift-redi-stack.
55
69
56
-
API Documentation is generated every time a new release is published.
70
+
## Changelog
57
71
58
-
The latest version's docs are always available at https://mordil.gitlab.io/swift-redis-nio-client
72
+
[SemVer](https://semver.org/) changes are documented for each release on the [releases page](https://gitlab.com/Mordil/swift-redi-stack/-/releases).
59
73
60
-
## :construction:Contributing
74
+
## Contributing
61
75
62
76
Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help with **RediStack**.
63
77
64
-
It is highly recommended to use [Docker](https://docker.com) to install Redis locally.
78
+
## Contributors
65
79
66
-
```bash
67
-
docker run -d -p 6379:6379 --name redis redis:5
68
-
```
80
+
Check out [CONTRIBUTORS.txt](CONTRIBUTORS.txt) to see the full list. This list is updated for each release.
81
+
82
+
## Swift on Server Ecosystem
83
+
84
+
**RediStack** is part of the [Swift on Server Working Group](https://github.com/swift-server/sswg) ecosystem - currently recommended as [**Sandbox Maturity**](https://github.com/swift-server/sswg/blob/master/process/incubation.md#sandbox-level).
_This project contains code written by others not affliated with this project. All copyright claims are reserved by them. For a full list, with their claimed rights, see [NOTICE.txt](./NOTICE.txt)_
108
+
109
+
_**Redis** is a registered trademark of **Redis Labs**. Any use of their trademark is under the established [trademark guidelines](https://redis.io/topics/trademark) and does not imply any affiliation with or endorsement by them, and all rights are reserved by them._
69
110
70
-
Otherwise, install Redis directly on your machine from [Redis.io](https://redis.io/download).
111
+
_**Swift** is a registered trademark of **Apple, Inc**. Any use of their trademark does not imply any affiliation with or endorsement by them, and all rights are reserved by them._
0 commit comments