From c8142c43ea0dc4a1f4b712037946151904d285e8 Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:02:10 +0200 Subject: [PATCH 1/7] update CI; links --- .github/workflows/ci.yml | 2 +- CITATION.cff | 20 -------------------- README.md | 18 +++++++++--------- 3 files changed, 10 insertions(+), 30 deletions(-) delete mode 100644 CITATION.cff diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 109dca7..087abf3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ concurrency: jobs: ci: name: CI - uses: StanfordBDHG/.github/.github/workflows/swift-package-ci.yml@v2 + uses: SchmiedmayerLab/.github/.github/workflows/swift-package-ci.yml@v0.2 with: linux_run_tests: true secrets: inherit diff --git a/CITATION.cff b/CITATION.cff deleted file mode 100644 index 7980c7c..0000000 --- a/CITATION.cff +++ /dev/null @@ -1,20 +0,0 @@ -# -# This source file is part of the ThreadLocal open source project -# -# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md) -# -# SPDX-License-Identifier: MIT -# - -cff-version: 1.2.0 -message: "If you use this software, please cite it as below." -authors: -- family-names: "Schmiedmayer" - given-names: "Paul" - orcid: "https://orcid.org/0000-0002-8607-9148" -- family-names: "Ravi" - given-names: "Vishnu" - orcid: "https://orcid.org/0000-0003-0359-1275" -title: "ThreadLocal" -doi: 10.5281/zenodo.7538165 -url: "https://github.com/StanfordBDHG/SwiftPackageTemplate" diff --git a/README.md b/README.md index 376a4fe..c3cc17b 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,11 @@ SPDX-License-Identifier: MIT # ThreadLocal -[![Build and Test](https://github.com/StanfordBDHG/ThreadLocal/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/StanfordBDHG/ThreadLocal/actions/workflows/build-and-test.yml) -[![codecov](https://codecov.io/gh/StanfordBDHG/ThreadLocal/branch/main/graph/badge.svg?token=X7BQYSUKOH)](https://codecov.io/gh/StanfordBDHG/ThreadLocal) +[![Build and Test](https://github.com/SchmiedmayerLab/ThreadLocal/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/SchmiedmayerLab/ThreadLocal/actions/workflows/build-and-test.yml) +[![codecov](https://codecov.io/gh/SchmiedmayerLab/ThreadLocal/branch/main/graph/badge.svg?token=X7BQYSUKOH)](https://codecov.io/gh/SchmiedmayerLab/ThreadLocal) -[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FThreadLocal%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/StanfordBDHG/ThreadLocal) -[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FStanfordBDHG%2FThreadLocal%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/StanfordBDHG/ThreadLocal) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSchmiedmayerLab%2FThreadLocal%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/SchmiedmayerLab/ThreadLocal) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FSchmiedmayerLab%2FThreadLocal%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/SchmiedmayerLab/ThreadLocal) Thread-local variables for Swift. @@ -50,9 +50,9 @@ The project can be added to your Xcode project or Swift Package using the [Swift This project is licensed under the MIT License. See [Licenses](https://github.com/StanfordBDHG/ThreadLocal/tree/main/LICENSES) for more information. -## Contributors -This project is developed as part of the Stanford Mussallem Center for Biodesign at Stanford University. -See [CONTRIBUTORS.md](https://github.com/lukaskollmer/ThreadLocal/tree/main/CONTRIBUTORS.md) for a full list of all ThreadLocal contributors. +## Our Research -![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) +For more information, visit the [Schmiedmayer Lab GitHub organization](https://github.com/SchmiedmayerLab). + +![Stanford and Stanford Medicine logos](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/stanford-footer-light.png#gh-light-mode-only) +![Stanford and Stanford Medicine logos](https://raw.githubusercontent.com/SchmiedmayerLab/.github/main/assets/stanford-footer-dark.png#gh-dark-mode-only) \ No newline at end of file From 757432bcac377da450761eb2b0984a972f42d0e7 Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:11:09 +0200 Subject: [PATCH 2/7] hmmm --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 087abf3..050d659 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,7 @@ jobs: with: linux_run_tests: true secrets: inherit + permissions: + contents: read + actions: read + issues: write From 01551475d4e7004b2e1a0265666a83b312b6f66a Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:13:08 +0200 Subject: [PATCH 3/7] hmmmmmm --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 050d659..a05d00a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,3 +34,4 @@ jobs: contents: read actions: read issues: write + pull-requests: write From f22a2b858618291b5c02d2a0930d3c4027108cfb Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:31:05 +0200 Subject: [PATCH 4/7] x --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3cc17b..e184c88 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ When the thread is destroyed, the variable's lifetime is ended. You can use non-trivial types with thread-local variables, and can provide a custom deallocator if needed (see ``ThreadLocal(deallocator:)``). -See [the documentation](https://swiftpackageindex.com/StanfordBDHG/ThreadLocal) for more info. +See [the documentation](https://swiftpackageindex.com/SchmiedmayerLab/ThreadLocal) for more info. ## Installation @@ -47,7 +47,7 @@ The project can be added to your Xcode project or Swift Package using the [Swift ## License -This project is licensed under the MIT License. See [Licenses](https://github.com/StanfordBDHG/ThreadLocal/tree/main/LICENSES) for more information. +This project is licensed under the MIT License. See [Licenses](https://github.com/SchmiedmayerLab/ThreadLocal/tree/main/LICENSES) for more information. ## Our Research From f52f83b696ae8531fabf33d5d38ec948d47ab54d Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:44:23 +0200 Subject: [PATCH 5/7] fix linux build? --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a05d00a..bd17071 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: uses: SchmiedmayerLab/.github/.github/workflows/swift-package-ci.yml@v0.2 with: linux_run_tests: true + linux_runners: ubuntu-latest secrets: inherit permissions: contents: read From da8e7e4fa16d96ba1d85e27f790371e3afc29eb0 Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 13:47:32 +0200 Subject: [PATCH 6/7] actually fix linux tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd17071..5309d06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: uses: SchmiedmayerLab/.github/.github/workflows/swift-package-ci.yml@v0.2 with: linux_run_tests: true - linux_runners: ubuntu-latest + linux_runners: '["ubuntu-latest"]' secrets: inherit permissions: contents: read From 490044a640a7792e75e7d0fa176953405a29ce91 Mon Sep 17 00:00:00 2001 From: Lukas Kollmer Date: Wed, 24 Jun 2026 14:06:46 +0200 Subject: [PATCH 7/7] update CONTRIBUTORS.md --- CONTRIBUTORS.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 17da8c8..d3ff249 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,16 +1,19 @@ ThreadLocal contributors ==================== * [Lukas Kollmer](https://github.com/lukaskollmer) + + +## Attributions + +This repository is based on the [`StanfordBDHG/ThreadLocal`](https://github.com/StanfordBDHG/ThreadLocal), which was published under the MIT License.