From 42d7b17551c58d36b50fcdcf8876c7d75f9128b6 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Mon, 13 Apr 2026 20:33:07 -0300 Subject: [PATCH] Adopt OSMF --- .netconfig | 5 +++ osmfeula.txt | 63 ++++++++++++++++++++++++++++++++++ readme.md | 1 + src/Directory.props | 1 + src/StructId.Package/readme.md | 8 +++++ 5 files changed, 78 insertions(+) create mode 100644 osmfeula.txt diff --git a/.netconfig b/.netconfig index ad686be..3806a82 100644 --- a/.netconfig +++ b/.netconfig @@ -151,3 +151,8 @@ sha = 032439dbf180fca0539a5bd3a019f18ab3484b76 etag = da7c0104131bd474b52fc9bc9f9bda6470e24ae38d4fb9f5c4f719bc01370ab5 weak +[file "osmfeula.txt"] + url = https://github.com/devlooped/.github/blob/main/osmfeula.txt + sha = 666a2a7c315f72199c418f11482a950fc69a8901 + etag = 91ea15c07bfd784036c6ca931f5b2df7e9767b8367146d96c79caef09d63899f + weak diff --git a/osmfeula.txt b/osmfeula.txt new file mode 100644 index 0000000..e0cb088 --- /dev/null +++ b/osmfeula.txt @@ -0,0 +1,63 @@ +End User License Agreement + +This Open Source Maintenance Fee Agreement ("Agreement") is a legal agreement +between you ("User") and Devlooped ("Project") for the use of +$product$ ("Software"), an open source software project licensed under +the MIT License ("OSI License"), an OSI-approved open source license. +Project offers a Binary Release of the Software to Users in exchange for a +maintenance fee ("Fee"). "Binary Release" refers to pre-compiled executable +versions of the Software provided by Project. By accessing or using the +Binary Release, User agrees to be bound by the terms of this Agreement. + +1. Applicability + +Project agrees to provide User with the Binary Release in exchange for the +Fees outlined in Section 2, subject to the terms of this Agreement. The Fee +applies only to Users that generate revenue by the Software. +Non-revenue-generating use of the Software is exempt from this Fee. In +addition, Users who pay separate support and/or maintenance fees to the +maintainers of the Software are exempt from the Fee outlined in this +Agreement. This distinction ensures that duplicate fees are not imposed, +promoting fairness and consistency while respecting alternative support +arrangements. + +2. Monthly Fee and Payment Terms + +Revenue-generating Users required to pay the Fee shall follow the payment +terms set forth by the Project. Failure to comply with these terms may result +in suspending access to the Binary Release. However, this does not restrict +the User from obtaining or redistributing binaries from other sources or +self-compiling them. + +3. Nature of the Fee + +The Fee is not a license fee. The Software's source code is licensed to User +under the OSI License and remains freely distributable under the terms of the +OSI License and any applicable open-source licenses. + +4. Conflicts with OSI License + +To the extent any term of this Agreement conflicts with User's rights +under the OSI License regarding the Software, the OSI License shall govern. +This Agreement applies only to the Binary Release and does not limit User's +ability to access, modify, or distribute the Software's source code or +self-compiled binaries. User may independently compile binaries from the +Software's source code without this Agreement, subject to OSI License terms. +User may redistribute the Binary Release received under this Agreement, +provided such redistribution complies with the OSI License (e.g., including +copyright and permission notices). This Agreement imposes no additional +restrictions on such rights. + +5. Disclaimer of Warranty and Limitation of Liability + +THE SOFTWARE AND BINARY RELEASE ARE PROVIDED BY THE PROJECT "AS IS" AND ANY +EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THE SOFTWARE AND BINARY RELEASE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. diff --git a/readme.md b/readme.md index 64e3fcd..c3460d8 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,7 @@ [![License](https://img.shields.io/github/license/devlooped/StructId.svg?color=blue)](https://github.com//devlooped/StructId/blob/main/license.txt) [![Build](https://github.com/devlooped/StructId/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/StructId/actions) + An opinionated strongly-typed ID library that uses `readonly record struct` in C# for maximum performance, minimal memory allocation typed identifiers. diff --git a/src/Directory.props b/src/Directory.props index e9f5d29..0b8e138 100644 --- a/src/Directory.props +++ b/src/Directory.props @@ -8,6 +8,7 @@ CS0436;$(NoWarn) https://pkg.kzu.app/index.json;https://api.nuget.org/v3/index.json false + StructId \ No newline at end of file diff --git a/src/StructId.Package/readme.md b/src/StructId.Package/readme.md index 2bf6101..fc4edbe 100644 --- a/src/StructId.Package/readme.md +++ b/src/StructId.Package/readme.md @@ -1,3 +1,11 @@ +[![EULA](https://img.shields.io/badge/EULA-OSMF-blue?labelColor=black&color=C9FF30)](osmfeula.txt) +[![OSS](https://img.shields.io/github/license/devlooped/oss.svg?color=blue)](license.txt) +[![GitHub](https://img.shields.io/badge/-source-181717.svg?logo=GitHub)](https://github.com/devlooped/StructId) + + + + + \ No newline at end of file