Repository navigation
[INFRA] Introduce REUSE specification compliance - #2564
Open
yarikoptic wants to merge 1 commit into
Open
yarikoptic wants to merge 1 commit into
yarikoptic wants to merge 1 commit into
Conversation
Make the existing licensing of this repository machine-readable per https://reuse.software (part of #2015). No relicensing: annotations only record what the repository already declares. - REUSE.toml: - "**": CC-BY-4.0, 2016-2026 BIDS Contributors (root LICENSE; 2016 = BIDS 1.0.0 release, predating the git history) - tools/schemacode/**: MIT (tools/schemacode/LICENSE, pyproject.toml); 2020 = first appearance of schemacode in history - BIDS_logo/bids-animated.webm: CC-BY-SA-4.0, Adina Wagner (as stated in BIDS_logo/README.md) - LICENSES/: CC-BY-4.0.txt and CC-BY-SA-4.0.txt fetched from https://creativecommons.org/licenses/{by,by-sa}/4.0/legalcode.txt; MIT.txt via `reuse download` (SPDX license-list-data). Root LICENSE and tools/schemacode/LICENSE are kept as is. - pre-commit: add reuse-tool `reuse` hook (v6.2.0) - README: add Licensing section `reuse lint`: 365/365 files compliant with REUSE 3.3. Co-Authored-By: Claude Code 2.1.312 / Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
I have applied any labels matching special text in your title and description. Please review the labels and make any necessary changes. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2564 +/- ##
=======================================
Coverage 83.09% 83.09%
=======================================
Files 22 22
Lines 1698 1698
=======================================
Hits 1411 1411
Misses 287 287 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This covers the "this repository itself" item of
It makes the repository's existing licensing machine-readable under REUSE: it adds
LICENSES/, aREUSE.toml, and areusepre-commit hook. Nothing is relicensed. The annotations only record what the repository already declares:**(default)LICENSE,CITATION.cff,mkdocs.ymltools/schemacode/**tools/schemacode/LICENSE, itspyproject.tomlBIDS_logo/bids-animated.webmBIDS_logo/README.mdreuse lintreports 365/365 files compliant with REUSE 3.3.Question for maintainers: license of the remaining code
Apart from
bidsschematools, the repository has more code:tools/*.py,tools/mkdocs_macros_bids/,tools/typescript/,tools/examplecode/,scripts/, andpdf_build_src/. This code has no license of its own, so the root CC-BY-4.0 applies to it, and this PR records it that way. CC licenses are not recommended for software.Should this code move to MIT, the same as
bidsschematools?That is a relicensing decision. It is not part of this PR. The files date from 2020–2026 and have between 1 and 9 authors each, so the change would need agreement from those contributors. With agreement, the change is one more
[[annotations]]block inREUSE.toml.Details
bidsschematoolsstarts at 2020, whenschemacode/first appears in history, although itsLICENSEfile says 2022 (the year that file was added in MIT license document #1207).legalcode.txt.MIT.txtcomes fromreuse download(the SPDX list). The rootLICENSEandtools/schemacode/LICENSEare unchanged; they differ from theLICENSES/copies only in the copyright line and whitespace.reusehook from codeberg.org/fsfe/reuse-tool, frozen at v6.2.0, which lints the whole repository. pre-commit.ci will enforce it.Test plan
uvx --from reuse reuse lint: compliantpre-commit run reuse --all-files: passedreuse spdx: schemacode files resolve to MIT, the animated logo to CC-BY-SA-4.0, and the rest to CC-BY-4.0exclude-from-changeloglabel ;-)🤖 Generated with Claude Code