From 034f17ee4f2aaba616324224e03136304d512b8a Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Fri, 30 Oct 2026 16:10:19 +0000 Subject: [PATCH 1/2] Split third-party notices out of LICENSE so GitHub detects MIT The LICENSE file carried ~1.1KB of third-party notes after the MIT text, which drops it below licensee's similarity threshold; GitHub reports the repo license as "Other" (SPDX NOASSERTION). Keep LICENSE as the bare MIT text and move the notes, verbatim, to THIRD-PARTY-NOTICES.md. --- LICENSE | 26 -------------------------- THIRD-PARTY-NOTICES.md | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 THIRD-PARTY-NOTICES.md diff --git a/LICENSE b/LICENSE index db4620c99..5f31a146d 100644 --- a/LICENSE +++ b/LICENSE @@ -19,29 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -=============================================== - -Third Party Licenses: - -The Redis project (https://redis.io/) is independent of this client library, and -is licensed separately under the three clause BSD license. The full license -information can be viewed here: https://redis.io/topics/license - -This tool makes use of the "redis-doc" library from https://redis.io/documentation -in the intellisense comments, which is licensed under the -Creative Commons Attribution-ShareAlike 4.0 International license; full -details are available here: -https://github.com/antirez/redis-doc/blob/master/COPYRIGHT - -The development solution uses the Redis-64 package from nuget -(https://www.nuget.org/packages/Redis-64) by Microsoft Open Technologies, inc. -This is licensed under the BSD license; full details are available here: -https://github.com/MSOpenTech/redis/blob/2.6/license.txt -This tool is not used in the release binaries. - -The development solution uses the BookSleeve package from nuget -(https://code.google.com/p/booksleeve/) by Marc Gravell. This is licensed -under the Apache 2.0 license; full details are available here: -https://www.apache.org/licenses/LICENSE-2.0 -This tool is not used in the release binaries. \ No newline at end of file diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md new file mode 100644 index 000000000..31f0bad47 --- /dev/null +++ b/THIRD-PARTY-NOTICES.md @@ -0,0 +1,26 @@ +# Third-party notices + +StackExchange.Redis itself is released under the MIT license; see [LICENSE](LICENSE). +The notes below concern third-party projects and materials referenced by this repository. + +The Redis project (https://redis.io/) is independent of this client library, and +is licensed separately under the three clause BSD license. The full license +information can be viewed here: https://redis.io/topics/license + +This tool makes use of the "redis-doc" library from https://redis.io/documentation +in the intellisense comments, which is licensed under the +Creative Commons Attribution-ShareAlike 4.0 International license; full +details are available here: +https://github.com/antirez/redis-doc/blob/master/COPYRIGHT + +The development solution uses the Redis-64 package from nuget +(https://www.nuget.org/packages/Redis-64) by Microsoft Open Technologies, inc. +This is licensed under the BSD license; full details are available here: +https://github.com/MSOpenTech/redis/blob/2.6/license.txt +This tool is not used in the release binaries. + +The development solution uses the BookSleeve package from nuget +(https://code.google.com/p/booksleeve/) by Marc Gravell. This is licensed +under the Apache 2.0 license; full details are available here: +https://www.apache.org/licenses/LICENSE-2.0 +This tool is not used in the release binaries. From ac65d95e11fbeb76fa77cce2a1003934be4e77af Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Fri, 30 Oct 2026 16:12:58 +0000 Subject: [PATCH 2/2] Correct the third-party notices - Redis: BSD-3 only through 7.2; RSALv2/SSPLv1 from 7.4, AGPLv3 added in 8.0; point at redis.io/legal/licenses (the old /topics/license URL now redirects to the docs landing page). - redis-doc: repo is archived under redis/redis-doc; note that redis/docs, its successor, is CC BY-NC-SA for newer content. - Drop the Redis-64 and BookSleeve notes: neither is part of the development solution any more. - Add the code actually incorporated from other projects (dotnet/runtime, dotnet/corefx, aspnet/BasicMiddleware) and the test-only redis-sharp copy, none of which the old notes mentioned. --- THIRD-PARTY-NOTICES.md | 71 ++++++++++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 24 deletions(-) diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index 31f0bad47..1631df58a 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -1,26 +1,49 @@ # Third-party notices -StackExchange.Redis itself is released under the MIT license; see [LICENSE](LICENSE). -The notes below concern third-party projects and materials referenced by this repository. - -The Redis project (https://redis.io/) is independent of this client library, and -is licensed separately under the three clause BSD license. The full license -information can be viewed here: https://redis.io/topics/license - -This tool makes use of the "redis-doc" library from https://redis.io/documentation -in the intellisense comments, which is licensed under the -Creative Commons Attribution-ShareAlike 4.0 International license; full -details are available here: -https://github.com/antirez/redis-doc/blob/master/COPYRIGHT - -The development solution uses the Redis-64 package from nuget -(https://www.nuget.org/packages/Redis-64) by Microsoft Open Technologies, inc. -This is licensed under the BSD license; full details are available here: -https://github.com/MSOpenTech/redis/blob/2.6/license.txt -This tool is not used in the release binaries. - -The development solution uses the BookSleeve package from nuget -(https://code.google.com/p/booksleeve/) by Marc Gravell. This is licensed -under the Apache 2.0 license; full details are available here: -https://www.apache.org/licenses/LICENSE-2.0 -This tool is not used in the release binaries. +StackExchange.Redis and RESPite are released under the MIT license; see [LICENSE](LICENSE). +The notes below concern third-party projects and materials referenced by, or incorporated +into, this repository. + +## Redis and other RESP servers + +The Redis project (https://redis.io/) is independent of this client library and is licensed +separately. Redis 7.2 and earlier are licensed under the three-clause BSD license; Redis 7.4 +and later are available under the Redis Source Available License v2 (RSALv2) or the Server +Side Public License v1 (SSPLv1), and Redis 8.0 and later additionally under the GNU Affero +General Public License v3 (AGPLv3). The current terms are published at +https://redis.io/legal/licenses/ + +Other RESP-compatible servers that this library can connect to (Valkey, Garnet, Dragonfly, +KeyDB, Azure Managed Redis, AWS ElastiCache, and others) are separate projects and products, +each licensed by its own maintainer or vendor. + +## Redis documentation + +The IntelliSense (XML documentation) comments on the command methods draw on the Redis command +documentation, originally published by the "redis-doc" project, which is licensed under the +Creative Commons Attribution-ShareAlike 4.0 International license: +https://github.com/redis/redis-doc (archived; see its COPYRIGHT and LICENSE files). + +The current Redis documentation lives at https://redis.io/docs/latest/ and is maintained at +https://github.com/redis/docs, whose newer content is licensed under Creative Commons +Attribution-NonCommercial-ShareAlike 4.0 International; see that repository's LICENSE file. + +## Code incorporated from other projects + +The following source files contain code copied or adapted from other projects; the original +license notices are preserved in the files themselves. + +- `src/RESPite/Shared/NullableHacks.cs` - nullable-annotation attributes for down-level target + frameworks, from dotnet/runtime (`NullableAttributes.cs`); .NET Foundation, MIT license. +- `src/StackExchange.Redis/TaskExtensions.cs` (`TimeoutAfter`) - adapted from + `TaskTimeoutExtensions.cs` in dotnet/corefx; .NET Foundation, MIT license. +- `src/StackExchange.Redis/Format.cs` (`TryParseEndPoint`) - adapted from `IPEndPointParser` + in aspnet/BasicMiddleware (Microsoft.AspNetCore.HttpOverrides); .NET Foundation, + Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0). + +## Test-only material + +The test project includes `tests/StackExchange.Redis.Tests/Helpers/redis-sharp.cs`, a copy of +redis-sharp by Miguel de Icaza (https://github.com/migueldeicaza/redis-sharp), Copyright 2010 +Novell, Inc., licensed under the new BSD license. It is used only as a comparison +implementation in tests and is not part of the release binaries.