Skip to content

Commit e331168

Browse files
committed
Adopt OSMF
1 parent 92b258f commit e331168

File tree

5 files changed

+78
-0
lines changed

5 files changed

+78
-0
lines changed

.netconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,8 @@
151151
sha = 032439dbf180fca0539a5bd3a019f18ab3484b76
152152
etag = da7c0104131bd474b52fc9bc9f9bda6470e24ae38d4fb9f5c4f719bc01370ab5
153153
weak
154+
[file "osmfeula.txt"]
155+
url = https://github.com/devlooped/.github/blob/main/osmfeula.txt
156+
sha = 666a2a7c315f72199c418f11482a950fc69a8901
157+
etag = 91ea15c07bfd784036c6ca931f5b2df7e9767b8367146d96c79caef09d63899f
158+
weak

osmfeula.txt

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
End User License Agreement
2+
3+
This Open Source Maintenance Fee Agreement ("Agreement") is a legal agreement
4+
between you ("User") and Devlooped ("Project") for the use of
5+
$product$ ("Software"), an open source software project licensed under
6+
the MIT License ("OSI License"), an OSI-approved open source license.
7+
Project offers a Binary Release of the Software to Users in exchange for a
8+
maintenance fee ("Fee"). "Binary Release" refers to pre-compiled executable
9+
versions of the Software provided by Project. By accessing or using the
10+
Binary Release, User agrees to be bound by the terms of this Agreement.
11+
12+
1. Applicability
13+
14+
Project agrees to provide User with the Binary Release in exchange for the
15+
Fees outlined in Section 2, subject to the terms of this Agreement. The Fee
16+
applies only to Users that generate revenue by the Software.
17+
Non-revenue-generating use of the Software is exempt from this Fee. In
18+
addition, Users who pay separate support and/or maintenance fees to the
19+
maintainers of the Software are exempt from the Fee outlined in this
20+
Agreement. This distinction ensures that duplicate fees are not imposed,
21+
promoting fairness and consistency while respecting alternative support
22+
arrangements.
23+
24+
2. Monthly Fee and Payment Terms
25+
26+
Revenue-generating Users required to pay the Fee shall follow the payment
27+
terms set forth by the Project. Failure to comply with these terms may result
28+
in suspending access to the Binary Release. However, this does not restrict
29+
the User from obtaining or redistributing binaries from other sources or
30+
self-compiling them.
31+
32+
3. Nature of the Fee
33+
34+
The Fee is not a license fee. The Software's source code is licensed to User
35+
under the OSI License and remains freely distributable under the terms of the
36+
OSI License and any applicable open-source licenses.
37+
38+
4. Conflicts with OSI License
39+
40+
To the extent any term of this Agreement conflicts with User's rights
41+
under the OSI License regarding the Software, the OSI License shall govern.
42+
This Agreement applies only to the Binary Release and does not limit User's
43+
ability to access, modify, or distribute the Software's source code or
44+
self-compiled binaries. User may independently compile binaries from the
45+
Software's source code without this Agreement, subject to OSI License terms.
46+
User may redistribute the Binary Release received under this Agreement,
47+
provided such redistribution complies with the OSI License (e.g., including
48+
copyright and permission notices). This Agreement imposes no additional
49+
restrictions on such rights.
50+
51+
5. Disclaimer of Warranty and Limitation of Liability
52+
53+
THE SOFTWARE AND BINARY RELEASE ARE PROVIDED BY THE PROJECT "AS IS" AND ANY
54+
EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
55+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
56+
DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR
57+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
58+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
59+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
60+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
61+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
62+
OF THE SOFTWARE AND BINARY RELEASE, EVEN IF ADVISED OF THE POSSIBILITY OF
63+
SUCH DAMAGE.

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![License](https://img.shields.io/github/license/devlooped/StructId.svg?color=blue)](https://github.com//devlooped/StructId/blob/main/license.txt)
77
[![Build](https://github.com/devlooped/StructId/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/devlooped/StructId/actions)
88

9+
<!-- include https://github.com/devlooped/.github/raw/main/osmf.md -->
910
<!-- #content -->
1011
An opinionated strongly-typed ID library that uses `readonly record struct` in C# for
1112
maximum performance, minimal memory allocation typed identifiers.

src/Directory.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<NoWarn>CS0436;$(NoWarn)</NoWarn>
99
<RestoreSources>https://pkg.kzu.app/index.json;https://api.nuget.org/v3/index.json</RestoreSources>
1010
<MSBuildEnableWorkloadResolver>false</MSBuildEnableWorkloadResolver>
11+
<Product>StructId</Product>
1112
</PropertyGroup>
1213

1314
</Project>

src/StructId.Package/readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
[![EULA](https://img.shields.io/badge/EULA-OSMF-blue?labelColor=black&color=C9FF30)](osmfeula.txt)
2+
[![OSS](https://img.shields.io/github/license/devlooped/oss.svg?color=blue)](license.txt)
3+
[![GitHub](https://img.shields.io/badge/-source-181717.svg?logo=GitHub)](https://github.com/devlooped/StructId)
4+
15
<!-- include ../../readme.md#content -->
6+
7+
<!-- include https://github.com/devlooped/.github/raw/main/osmf.md -->
8+
29
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
10+
311
<!-- exclude -->

0 commit comments

Comments
 (0)