From 7adaace0d059aa0b2321b8090bfc50c6ac95d4c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:39:20 +0000 Subject: [PATCH 1/3] Initial plan From a7c178ef1c45ce7219995fa54966aca15a88821e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:41:55 +0000 Subject: [PATCH 2/3] Add LICENSES/MIT.txt from reuse download Agent-Logs-Url: https://github.com/con/duct/sessions/dedd7b1f-a8b1-4f9c-af27-d70ef88dc8e7 Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com> --- LICENSES/MIT.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 LICENSES/MIT.txt diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 00000000..d817195d --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 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. From 5acc8aa66daffb8ae7d6468812a6d5fe9cbf7999 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:43:43 +0000 Subject: [PATCH 3/3] Add REUSE compliance (REUSE.toml, LICENSES/, pre-commit hook, GH Actions workflow) Agent-Logs-Url: https://github.com/con/duct/sessions/dedd7b1f-a8b1-4f9c-af27-d70ef88dc8e7 Co-authored-by: yarikoptic <39889+yarikoptic@users.noreply.github.com> --- .github/workflows/reuse.yaml | 19 +++++++++++++++++++ .pre-commit-config.yaml | 4 ++++ REUSE.toml | 29 +++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 .github/workflows/reuse.yaml create mode 100644 REUSE.toml diff --git a/.github/workflows/reuse.yaml b/.github/workflows/reuse.yaml new file mode 100644 index 00000000..53c622d4 --- /dev/null +++ b/.github/workflows/reuse.yaml @@ -0,0 +1,19 @@ +--- +name: REUSE Compliance + +on: + push: + branches: [main] + pull_request: + +jobs: + reuse: + name: Check REUSE compliance + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v5 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a967158d..2975e994 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,3 +30,7 @@ repos: rev: v2.4.2 hooks: - id: codespell + - repo: https://github.com/fsfe/reuse-tool + rev: v5.0.2 + hooks: + - id: reuse diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 00000000..a95b710c --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,29 @@ +version = 1 + +[[annotations]] +path = "src/con_duct/**" +SPDX-FileCopyrightText = [ + "2019-2021 brainlife", + "2024-2026 Center for Open Neuroscience", +] +SPDX-License-Identifier = "MIT" + +[[annotations]] +path = [ + ".autorc", + ".github/**", + ".gitignore", + ".pre-commit-config.yaml", + ".update-readme-help.py", + "CHANGELOG.md", + "CLAUDE.md", + "CONTRIBUTING.rst", + "MANIFEST.in", + "README.md", + "demo/**", + "pyproject.toml", + "test/**", + "tox.ini", +] +SPDX-FileCopyrightText = "2024-2026 Center for Open Neuroscience" +SPDX-License-Identifier = "MIT"