Skip to content

Commit

Permalink
Updates the Project to be Part of the Spezi Organization (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored May 12, 2023
1 parent ce0ff3c commit 2e6017a
Show file tree
Hide file tree
Showing 33 changed files with 111 additions and 113 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand All @@ -18,14 +18,14 @@ on:
jobs:
buildandtest:
name: Build and Test Swift Package
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
artifactname: CardinalKitScheduler.xcresult
artifactname: SpeziScheduler.xcresult
runsonlabels: '["macOS", "self-hosted"]'
scheme: CardinalKitScheduler
scheme: SpeziScheduler
buildandtestuitests:
name: Build and Test UI Tests
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
uses: StanfordSpezi/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2
with:
artifactname: TestApp.xcresult
runsonlabels: '["macOS", "self-hosted"]'
Expand All @@ -34,6 +34,6 @@ jobs:
uploadcoveragereport:
name: Upload Coverage Report
needs: [buildandtest, buildandtestuitests]
uses: StanfordBDHG/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
uses: StanfordSpezi/.github/.github/workflows/create-and-upload-coverage-report.yml@v2
with:
coveragereports: CardinalKitScheduler.xcresult TestApp.xcresult
coveragereports: SpeziScheduler.xcresult TestApp.xcresult
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand All @@ -15,7 +15,7 @@ on:
jobs:
reuse_action:
name: REUSE Compliance Check
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2
uses: StanfordSpezi/.github/.github/workflows/reuse.yml@v2
swiftlint:
name: SwiftLint
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2
uses: StanfordSpezi/.github/.github/workflows/swiftlint.yml@v2
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand Down
4 changes: 2 additions & 2 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand All @@ -11,4 +11,4 @@ builder:
configs:
- platform: ios
documentation_targets:
- CardinalKitScheduler
- SpeziScheduler
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand Down
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This source file is part of the CardinalKit open source project
# This source file is part of the Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
Expand All @@ -18,6 +18,6 @@ authors:
- family-names: "Aalami"
given-names: "Oliver"
orcid: "https://orcid.org/0000-0002-7799-2429"
title: "CardinalKit"
title: "Spezi"
doi: 10.5281/zenodo.7706954
url: "https://github.com/StanfordBDHG/CardinalKitScheduler"
url: "https://github.com/StanfordSpezi/SpeziScheduler"
18 changes: 8 additions & 10 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<!--
#
# This source file is part of the CardinalKit open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
This source file is part of the Stanford Spezi open-source project.
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
SPDX-License-Identifier: MIT
-->

CardinalKit Scheduler contributors
Spezi Scheduler contributors
====================

* [Paul Schmiedmayer](https://github.com/PSchmiedmayer)
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// swift-tools-version:5.7

//
// This source file is part of the CardinalKit open source project
// This source file is part of the Spezi open source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand All @@ -12,27 +12,27 @@ import PackageDescription


let package = Package(
name: "CardinalKitScheduler",
name: "SpeziScheduler",
platforms: [
.iOS(.v16)
],
products: [
.library(name: "CardinalKitScheduler", targets: ["CardinalKitScheduler"])
.library(name: "SpeziScheduler", targets: ["SpeziScheduler"])
],
dependencies: [
.package(url: "https://github.com/StanfordBDHG/CardinalKit", .upToNextMinor(from: "0.4.1"))
.package(url: "https://github.com/StanfordSpezi/Spezi", .upToNextMinor(from: "0.5.0"))
],
targets: [
.target(
name: "CardinalKitScheduler",
name: "SpeziScheduler",
dependencies: [
.product(name: "CardinalKit", package: "CardinalKit")
.product(name: "Spezi", package: "Spezi")
]
),
.testTarget(
name: "CardinalKitSchedulerTests",
name: "SpeziSchedulerTests",
dependencies: [
.target(name: "CardinalKitScheduler")
.target(name: "SpeziScheduler")
]
)
]
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
<!--
This source file is part of the CardinalKit open-source project.
This source file is part of the Stanford Spezi open-source project.
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
SPDX-License-Identifier: MIT
-->

# CardinalKit Scheduler
# Spezi Scheduler

[![Build and Test](https://github.com/StanfordBDHG/CardinalKitScheduler/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordBDHG/CardinalKitScheduler/actions/workflows/build-and-test.yml)
[![codecov](https://codecov.io/gh/StanfordBDHG/CardinalKitScheduler/branch/main/graph/badge.svg?token=0SRI67ItFw)](https://codecov.io/gh/StanfordBDHG/CardinalKitScheduler)
[![Build and Test](https://github.com/StanfordSpezi/SpeziScheduler/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordSpezi/SpeziScheduler/actions/workflows/build-and-test.yml)
[![codecov](https://codecov.io/gh/StanfordSpezi/SpeziScheduler/branch/main/graph/badge.svg?token=0SRI67ItFw)](https://codecov.io/gh/StanfordSpezi/SpeziScheduler)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7706954.svg)](https://doi.org/10.5281/zenodo.7706954)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FCardinalKitScheduler%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/StanfordBDHG/CardinalKitScheduler)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FCardinalKitScheduler%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/StanfordBDHG/CardinalKitScheduler)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordSpezi%2FSpeziScheduler%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/StanfordSpezi/SpeziScheduler)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordSpezi%2FSpeziScheduler%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/StanfordSpezi/SpeziScheduler)

The Scheduler module allows developers to schedule tasks based on predefined schedules.

For more information, please refer to the [API documentation](https://swiftpackageindex.com/StanfordBDHG/CardinalKitScheduler/documentation).
For more information, please refer to the [API documentation](https://swiftpackageindex.com/StanfordSpezi/SpeziScheduler/documentation).


## The CardinalKit Template Application
## The Spezi Template Application

The [CardinalKit Template Application](https://github.com/StanfordBDHG/CardinalKitTemplateApplication) provides a great starting point and example using the CardinalKit Scheduler module.
The [Spezi Template Application](https://github.com/StanfordSpezi/SpeziTemplateApplication) provides a great starting point and example using the Spezi Scheduler module.


## Contributing

Contributions to this project are welcome. Please make sure to read the [contribution guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md) and the [contributor covenant code of conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) first.
Contributions to this project are welcome. Please make sure to read the [contribution guidelines](https://github.com/StanfordSpezi/.github/blob/main/CONTRIBUTING.md) and the [contributor covenant code of conduct](https://github.com/StanfordSpezi/.github/blob/main/CODE_OF_CONDUCT.md) first.


## License

This project is licensed under the MIT License. See [Licenses](https://github.com/StanfordBDHG/CardinalKitScheduler/tree/main/LICENSES) for more information.
This project is licensed under the MIT License. See [Licenses](https://github.com/StanfordSpezi/SpeziScheduler/tree/main/LICENSES) for more information.

![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-light.png#gh-light-mode-only)
![Stanford Byers Center for Biodesign Logo](https://raw.githubusercontent.com/StanfordBDHG/.github/main/assets/biodesign-footer-dark.png#gh-dark-mode-only)
![Spezi Footer](https://raw.githubusercontent.com/StanfordSpezi/.github/main/assets/FooterLight.png#gh-light-mode-only)
![Spezi Footer](https://raw.githubusercontent.com/StanfordSpezi/.github/main/assets/FooterDark.png#gh-dark-mode-only)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//

import CardinalKit
import Combine
import Foundation
import Spezi


/// The ``Scheduler/Scheduler`` module allows the scheduling and observation of ``Task``s adhering to a specific ``Schedule``.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ``CardinalKitScheduler``
# ``SpeziScheduler``

<!--
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//

import CardinalKit
import CardinalKitScheduler
import Spezi
import SpeziScheduler
import XCTest


Expand Down
2 changes: 1 addition & 1 deletion Tests/UITests/TestApp.xctestplan.license
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project

SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project

SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project

SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This source file is part of the CardinalKit open-source project
This source file is part of the Stanford Spezi open-source project

SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)

Expand Down
4 changes: 2 additions & 2 deletions Tests/UITests/TestApp/ContentView.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//

import CardinalKitScheduler
import SpeziScheduler
import SwiftUI


Expand Down
6 changes: 3 additions & 3 deletions Tests/UITests/TestApp/TestApp.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//

import CardinalKitScheduler
import SpeziScheduler
import SwiftUI


Expand All @@ -18,7 +18,7 @@ struct UITestsApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.cardinalKit(appDelegate)
.spezi(appDelegate)
}
}
}
8 changes: 4 additions & 4 deletions Tests/UITests/TestApp/TestAppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
//
// This source file is part of the CardinalKit open-source project
// This source file is part of the Stanford Spezi open-source project
//
// SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
//
// SPDX-License-Identifier: MIT
//

import CardinalKit
import CardinalKitScheduler
import Spezi
import SpeziScheduler


typealias TestAppScheduler = Scheduler<TestAppStandard, String>


class TestAppDelegate: CardinalKitAppDelegate {
class TestAppDelegate: SpeziAppDelegate {
override var configuration: Configuration {
Configuration(standard: TestAppStandard()) {
TestAppScheduler()
Expand Down
Loading

0 comments on commit 2e6017a

Please sign in to comment.