From 7db22033281ab1c14807ec69419d0312697e2ac1 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Thu, 21 Nov 2024 08:30:54 +0100 Subject: [PATCH] chore: refine license header and file (#11) --- LICENSE | 2 +- README.md | 4 ++++ Sources/Account.swift | 5 ++--- Sources/Common/Error.swift | 5 ++--- Sources/Common/Request.swift | 5 ++--- Sources/Common/URLRequest+AuthHeader.swift | 5 ++--- Sources/Common/URLRequest+JSON.swift | 5 ++--- Sources/File+Wait.swift | 5 ++--- Sources/File.swift | 5 ++--- Sources/Group.swift | 5 ++--- Sources/IdentityUser.swift | 5 ++--- Sources/Insights.swift | 5 ++--- Sources/Invitation.swift | 5 ++--- Sources/Mosaic.swift | 5 ++--- Sources/Organization.swift | 5 ++--- Sources/Permission.swift | 5 ++--- Sources/Snapshot.swift | 5 ++--- Sources/Storage.swift | 5 ++--- Sources/Task+Wait.swift | 5 ++--- Sources/Task.swift | 5 ++--- Sources/Token.swift | 5 ++--- Sources/User.swift | 5 ++--- Sources/Workspace.swift | 5 ++--- Tests/AccountTests.swift | 5 ++--- Tests/Common/ClientFactory.swift | 5 ++--- Tests/Common/DisposableFactory.swift | 5 ++--- Tests/Common/TokenFactory.swift | 5 ++--- Tests/Common/XCTestCase+Bundle.swift | 5 ++--- Tests/Common/XCTestCase+Failure.swift | 5 ++--- Tests/FileTests.swift | 5 ++--- Tests/GroupTests.swift | 5 ++--- Tests/Infra/Config.swift | 5 ++--- Tests/InsightsTests.swift | 5 ++--- Tests/InvitationTests.swift | 5 ++--- Tests/MosaicTests.swift | 5 ++--- Tests/OrganizationTests.swift | 5 ++--- Tests/SnapshotsTests.swift | 5 ++--- Tests/StorageTests.swift | 5 ++--- Tests/TaskTests.swift | 5 ++--- Tests/WorkspaceTests.swift | 5 ++--- 40 files changed, 81 insertions(+), 115 deletions(-) diff --git a/LICENSE b/LICENSE index 4c129c9..57167a4 100644 --- a/LICENSE +++ b/LICENSE @@ -20,4 +20,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE 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. +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 4bce637..e299da8 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,7 @@ In Linux you should replace `host.docker.internal` with the host IP address, it ```shell ip route | grep default | awk '{print $3}' ``` + +## Licensing + +Voltaserve Swift is released under the [MIT License](LICENSE). diff --git a/Sources/Account.swift b/Sources/Account.swift index a7f799d..4dc43df 100644 --- a/Sources/Account.swift +++ b/Sources/Account.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Common/Error.swift b/Sources/Common/Error.swift index b6878b9..b4a344c 100644 --- a/Sources/Common/Error.swift +++ b/Sources/Common/Error.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation diff --git a/Sources/Common/Request.swift b/Sources/Common/Request.swift index 1915bc0..e716c20 100644 --- a/Sources/Common/Request.swift +++ b/Sources/Common/Request.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Common/URLRequest+AuthHeader.swift b/Sources/Common/URLRequest+AuthHeader.swift index 5731998..26e495f 100644 --- a/Sources/Common/URLRequest+AuthHeader.swift +++ b/Sources/Common/URLRequest+AuthHeader.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Common/URLRequest+JSON.swift b/Sources/Common/URLRequest+JSON.swift index a721f63..417fbc8 100644 --- a/Sources/Common/URLRequest+JSON.swift +++ b/Sources/Common/URLRequest+JSON.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/File+Wait.swift b/Sources/File+Wait.swift index 807ef90..43e00bb 100644 --- a/Sources/File+Wait.swift +++ b/Sources/File+Wait.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation diff --git a/Sources/File.swift b/Sources/File.swift index 678c287..71f7a76 100644 --- a/Sources/File.swift +++ b/Sources/File.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Group.swift b/Sources/Group.swift index da882b7..8a293ec 100644 --- a/Sources/Group.swift +++ b/Sources/Group.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/IdentityUser.swift b/Sources/IdentityUser.swift index 78a5e18..dd21605 100644 --- a/Sources/IdentityUser.swift +++ b/Sources/IdentityUser.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation diff --git a/Sources/Insights.swift b/Sources/Insights.swift index bcfa937..125b098 100644 --- a/Sources/Insights.swift +++ b/Sources/Insights.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Invitation.swift b/Sources/Invitation.swift index a5cf05d..78377c5 100644 --- a/Sources/Invitation.swift +++ b/Sources/Invitation.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Mosaic.swift b/Sources/Mosaic.swift index f048f84..0a2a913 100644 --- a/Sources/Mosaic.swift +++ b/Sources/Mosaic.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Organization.swift b/Sources/Organization.swift index 765172c..50a19b8 100644 --- a/Sources/Organization.swift +++ b/Sources/Organization.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Permission.swift b/Sources/Permission.swift index 7676746..ecd61f3 100644 --- a/Sources/Permission.swift +++ b/Sources/Permission.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Snapshot.swift b/Sources/Snapshot.swift index a595c84..1d99a14 100644 --- a/Sources/Snapshot.swift +++ b/Sources/Snapshot.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Storage.swift b/Sources/Storage.swift index c8551cb..1b30a64 100644 --- a/Sources/Storage.swift +++ b/Sources/Storage.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Task+Wait.swift b/Sources/Task+Wait.swift index 87a47db..65e686a 100644 --- a/Sources/Task+Wait.swift +++ b/Sources/Task+Wait.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation diff --git a/Sources/Task.swift b/Sources/Task.swift index e7caf03..c08e9f9 100644 --- a/Sources/Task.swift +++ b/Sources/Task.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Token.swift b/Sources/Token.swift index 61eb641..c5ecba0 100644 --- a/Sources/Token.swift +++ b/Sources/Token.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/User.swift b/Sources/User.swift index 85f6330..e652db7 100644 --- a/Sources/User.swift +++ b/Sources/User.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Sources/Workspace.swift b/Sources/Workspace.swift index 57a9e1e..20b650b 100644 --- a/Sources/Workspace.swift +++ b/Sources/Workspace.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation #if canImport(FoundationNetworking) diff --git a/Tests/AccountTests.swift b/Tests/AccountTests.swift index 7320087..b49518d 100644 --- a/Tests/AccountTests.swift +++ b/Tests/AccountTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/Common/ClientFactory.swift b/Tests/Common/ClientFactory.swift index c44f7e3..70bf22f 100644 --- a/Tests/Common/ClientFactory.swift +++ b/Tests/Common/ClientFactory.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import VoltaserveCore diff --git a/Tests/Common/DisposableFactory.swift b/Tests/Common/DisposableFactory.swift index 1937870..e965c93 100644 --- a/Tests/Common/DisposableFactory.swift +++ b/Tests/Common/DisposableFactory.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import VoltaserveCore diff --git a/Tests/Common/TokenFactory.swift b/Tests/Common/TokenFactory.swift index 30298cd..59a9921 100644 --- a/Tests/Common/TokenFactory.swift +++ b/Tests/Common/TokenFactory.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import VoltaserveCore diff --git a/Tests/Common/XCTestCase+Bundle.swift b/Tests/Common/XCTestCase+Bundle.swift index 4874462..f0791d0 100644 --- a/Tests/Common/XCTestCase+Bundle.swift +++ b/Tests/Common/XCTestCase+Bundle.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation import XCTest diff --git a/Tests/Common/XCTestCase+Failure.swift b/Tests/Common/XCTestCase+Failure.swift index 843ff98..e57ee50 100644 --- a/Tests/Common/XCTestCase+Failure.swift +++ b/Tests/Common/XCTestCase+Failure.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import XCTest diff --git a/Tests/FileTests.swift b/Tests/FileTests.swift index e2e1eab..b7228b1 100644 --- a/Tests/FileTests.swift +++ b/Tests/FileTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/GroupTests.swift b/Tests/GroupTests.swift index 73f3bee..4878c38 100644 --- a/Tests/GroupTests.swift +++ b/Tests/GroupTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/Infra/Config.swift b/Tests/Infra/Config.swift index d3e5c9a..a5aa71b 100644 --- a/Tests/Infra/Config.swift +++ b/Tests/Infra/Config.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. import Foundation import VoltaserveCore diff --git a/Tests/InsightsTests.swift b/Tests/InsightsTests.swift index 7659a21..bba3562 100644 --- a/Tests/InsightsTests.swift +++ b/Tests/InsightsTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/InvitationTests.swift b/Tests/InvitationTests.swift index d7ca787..e5a2bcf 100644 --- a/Tests/InvitationTests.swift +++ b/Tests/InvitationTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/MosaicTests.swift b/Tests/MosaicTests.swift index 322164c..3b1ece7 100644 --- a/Tests/MosaicTests.swift +++ b/Tests/MosaicTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/OrganizationTests.swift b/Tests/OrganizationTests.swift index e3abdeb..9349c07 100644 --- a/Tests/OrganizationTests.swift +++ b/Tests/OrganizationTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/SnapshotsTests.swift b/Tests/SnapshotsTests.swift index fe65664..e9645c1 100644 --- a/Tests/SnapshotsTests.swift +++ b/Tests/SnapshotsTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/StorageTests.swift b/Tests/StorageTests.swift index 02021d8..00e941d 100644 --- a/Tests/StorageTests.swift +++ b/Tests/StorageTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/TaskTests.swift b/Tests/TaskTests.swift index b4d8914..5db9280 100644 --- a/Tests/TaskTests.swift +++ b/Tests/TaskTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest diff --git a/Tests/WorkspaceTests.swift b/Tests/WorkspaceTests.swift index 222f7ac..5f7501f 100644 --- a/Tests/WorkspaceTests.swift +++ b/Tests/WorkspaceTests.swift @@ -1,8 +1,7 @@ // Copyright (c) 2024 Anass Bouassaba. // -// This software is licensed under the MIT License. -// See the LICENSE file in the root of this repository for details, -// or visit . +// Use of this software is governed by the MIT License +// included in the file LICENSE in the root of this repository. @testable import VoltaserveCore import XCTest