Skip to content

Commit c554311

Browse files
Add license and update copyright (#16)
1 parent 61111f7 commit c554311

File tree

10 files changed

+102
-7
lines changed

10 files changed

+102
-7
lines changed

.swiftlint.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ empty_count:
1010
file_header:
1111
required_pattern: |
1212
\/\/
13-
\/\/ {2}Copyright © \d{4} Tinder \(Match Group, LLC\)
13+
\/\/ {2}All Contributions by Match Group
14+
\/\/
15+
\/\/ {2}Copyright © \d{4}(-\d{4})? Tinder \(Match Group, LLC\)
16+
\/\/
17+
\/\/ {2}Licensed under the Match Group Modified 3-Clause BSD License.
18+
\/\/ {2}See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
1419
\/\/
1520
1621
private_over_fileprivate:

LICENSE

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Modified 3-Clause BSD License
2+
3+
Copyright © 2025 Match Group, LLC
4+
5+
This license is based on the 3-Clause BSD license, modified for
6+
clarity and to add the following requirements: Modifications must
7+
be identified in any redistributions, any implied warranty of non
8+
infringement is disclaimed, implied licenses are disclaimed, and you
9+
agree that you are responsible for any claims that may arise out of
10+
your use of the software.
11+
12+
The copyright holder grants you permission to and use or redistribute
13+
this software in source and binary forms, with or without modification,
14+
conditioned on your acceptance of, and adherence to, the following
15+
conditions:
16+
17+
1. Redistributions of source code, whether or not modified, must
18+
retain the above copyright notice, this list of conditions, and the
19+
following disclaimer. If modified, the source code must identify
20+
the modifications (identification in general terms is acceptable).
21+
22+
2. Redistributions in binary or application form must reproduce the
23+
above copyright notice, this list of conditions, and the following
24+
disclaimer in the documentation or other materials provided with
25+
the binary or application.
26+
27+
3. You may not use the name of the copyright holder nor the names of
28+
the contributors to endorse or promote products derived from this
29+
software without specific prior written permission.
30+
31+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32+
"AS IS" AND ALL EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
34+
PARTICULAR PURPOSE, AND NON INFRINGEMENT ARE DISCLAIMED. IN NO EVENT
35+
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
36+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
37+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
38+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
39+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
40+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
41+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
42+
POSSIBILITY OF SUCH DAMAGE. YOU AGREE TO INDEMNIFY AND HOLD HARMLESS
43+
THE COPYRIGHT HOLDER AND ALL CONTRIBUTORS AGAINST ANY CLAIMS THAT
44+
ARISE BASED ON YOUR USE, MODIFICATION, OR REDISTRIBUTION OF THIS
45+
SOFTWARE. NO ADDITIONAL LICENSE BEYOND THOSE EXPRESSLY GRANTED ABOVE
46+
ARE IMPLIED.

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fix:
1515
@/usr/libexec/PlistBuddy -c \
1616
"Delete :FILEHEADER" \
1717
"$(XCSHAREDDATA)/IDETemplateMacros.plist" >/dev/null 2>&1 || true
18-
@header=$$'\n// Copyright © ___YEAR___ Tinder \(Match Group, LLC\)\n//'; \
18+
@header=$$'\n// All Contributions by Match Group\n//\n// Copyright © ___YEAR___ Tinder \(Match Group, LLC\)\n//\n// Licensed under the Match Group Modified 3-Clause BSD License.\n// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.\n//'; \
1919
/usr/libexec/PlistBuddy -c \
2020
"Add :FILEHEADER string $$header" \
2121
"$(XCSHAREDDATA)/IDETemplateMacros.plist" >/dev/null 2>&1

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,17 @@ Open in browser from the command line:
209209
```
210210
open http://localhost:3000
211211
```
212+
213+
## Contributing
214+
215+
While interest in contributing to this project is appreciated, it has been open
216+
sourced solely for the purpose of sharing with the community. This means we are
217+
unable to accept outside contributions at this time and pull requests will not
218+
be reviewed or merged. To report a security concern or vulnerability, please
219+
submit a GitHub issue.
220+
221+
## License
222+
223+
Licensed under the [Match Group Modified 3-Clause BSD License](
224+
https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE
225+
).

Sources/NodesSocketIO/DebugSocket+UIKit.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG && canImport(UIKit)

Sources/NodesSocketIO/DebugSocket.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG

Sources/NodesSocketIO/DebugSocketConstants.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG

Sources/NodesSocketIO/Node.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG

Sources/NodesSocketIO/String.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//
2-
// Copyright © 2024 Tinder (Match Group, LLC)
2+
// All Contributions by Match Group
3+
//
4+
// Copyright © 2025 Tinder (Match Group, LLC)
5+
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
38
//
49

510
#if DEBUG

Tests/NodesSocketIOTests/NodesSocketIOTests.swift

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
//
2+
// All Contributions by Match Group
3+
//
24
// Copyright © 2025 Tinder (Match Group, LLC)
35
//
6+
// Licensed under the Match Group Modified 3-Clause BSD License.
7+
// See https://github.com/Tinder/Nodes-Tree-Visualizer/blob/main/LICENSE for license information.
8+
//
49

510
import Nimble
611
import NodesSocketIO

0 commit comments

Comments
 (0)