Skip to content

Commit 22c4de5

Browse files
Merge branch 'bids-standard:master' into master
2 parents bf2a687 + 92e5400 commit 22c4de5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1745
-217
lines changed

.circleci/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
git status
3333
if (! git log -1 --pretty=oneline | grep REL:) ; then
3434
chmod a+rX -R ~
35-
uvx linkchecker -t 1 ~/project/site/
35+
uvx linkchecker -t 1 --no-warnings ~/project/site/
3636
# check external separately by pointing to all *html so no
3737
# failures for local file:/// -- yoh found no better way,
38-
uvx linkchecker -t 1 --check-extern \
38+
uvx linkchecker -t 1 --no-warnings --check-extern \
3939
--ignore-url 'file:///.*' \
4040
--ignore-url 'https://bids-specification.readthedocs.io/en/stable/.*' \
4141
--ignore-url "https://bids-specification.readthedocs.io/en/v${CIRCLE_BRANCH#rel/}/" \
@@ -48,6 +48,7 @@ jobs:
4848
--ignore-url 'https://www.instagram.com/bidsstandard/' \
4949
--ignore-url 'https://jsoneditoronline.org' \
5050
--ignore-url 'https://rrid.site.*' \
51+
--ignore-url 'https://jsr.io/.*' \
5152
~/project/site/*html ~/project/site/*/*.html
5253
else
5354
echo "Release PR - do nothing"

.github/workflows/publish_schema.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
publish:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 0
3434
filter: "blob:none"
@@ -61,7 +61,7 @@ jobs:
6161
node-version: 24
6262
cache: 'npm'
6363
- name: Install npm tools
64-
run: npm install
64+
run: npm install --no-save
6565
- name: Verify installed versions
6666
run: |
6767
npx quicktype --version

.github/workflows/schemacode_ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
attestations: write
3030
id-token: write
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
with:
3434
fetch-depth: 0
3535
- name: Install the latest version of uv
@@ -62,7 +62,7 @@ jobs:
6262
python-version: 3.13
6363
name: ${{ matrix.os }} with Python ${{ matrix.python-version }}
6464
steps:
65-
- uses: actions/checkout@v5
65+
- uses: actions/checkout@v6
6666

6767
- name: Set up Python ${{ matrix.python-version }} (uv)
6868
uses: astral-sh/setup-uv@v7
@@ -74,7 +74,7 @@ jobs:
7474
run: python -c "import sys; print(sys.version)"
7575

7676
- name: "Fetch packages"
77-
uses: actions/download-artifact@v5
77+
uses: actions/download-artifact@v7
7878
with:
7979
name: Packages
8080
path: dist
@@ -95,7 +95,7 @@ jobs:
9595
working-directory: tools/schemacode
9696

9797
- name: Upload artifacts
98-
uses: actions/upload-artifact@v4
98+
uses: actions/upload-artifact@v6
9999
with:
100100
name: unit_${{ matrix.os }}_${{ matrix.python-version }}
101101
path: tools/schemacode/coverage.xml
@@ -112,7 +112,7 @@ jobs:
112112

113113
steps:
114114
- name: Download packages built by build-and-inspect-python-package
115-
uses: actions/download-artifact@v5
115+
uses: actions/download-artifact@v7
116116
with:
117117
name: Packages
118118
path: dist
@@ -131,7 +131,7 @@ jobs:
131131
runs-on: ubuntu-latest
132132
name: Validate schema
133133
steps:
134-
- uses: actions/checkout@v5
134+
- uses: actions/checkout@v6
135135

136136
- name: Set Up Python environment
137137
uses: actions/setup-python@v6
@@ -150,7 +150,7 @@ jobs:
150150
working-directory: tools/schemacode
151151

152152
- name: Upload artifacts
153-
uses: actions/upload-artifact@v4
153+
uses: actions/upload-artifact@v6
154154
with:
155155
name: schema_validation
156156
path: tools/schemacode/coverage.xml
@@ -162,10 +162,10 @@ jobs:
162162
needs: [test, validate_schema]
163163
steps:
164164
- name: Checkout
165-
uses: actions/checkout@v5
165+
uses: actions/checkout@v6
166166

167167
- name: Download artifacts
168-
uses: actions/download-artifact@v5
168+
uses: actions/download-artifact@v7
169169

170170
- name: Upload to CodeCov
171171
uses: codecov/codecov-action@v5

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121
- name: Install dependencies
2222
run: |
2323
sudo apt update && sudo apt install -y shellcheck

.github/workflows/validation.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616
codespell:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6
2020
- uses: codespell-project/actions-codespell@master
2121

2222
# Markdown formatting
2323
remark:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v5
27-
- uses: actions/setup-node@v5
26+
- uses: actions/checkout@v6
27+
- uses: actions/setup-node@v6
2828
with:
2929
node-version: 22
3030
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
yamllint:
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/checkout@v5
39+
- uses: actions/checkout@v6
4040
- uses: astral-sh/setup-uv@v7
4141
- name: Lint yml files in src/schema
4242
run: uvx yamllint -f standard src/schema/ -c .yamllint.yml
@@ -45,7 +45,7 @@ jobs:
4545
python-style:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@v5
48+
- uses: actions/checkout@v6
4949
- uses: astral-sh/setup-uv@v7
5050
- run: uvx ruff format --diff
5151
- run: uvx ruff check
@@ -54,7 +54,7 @@ jobs:
5454
latin-phrases:
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/checkout@v5
57+
- uses: actions/checkout@v6
5858
- uses: astral-sh/setup-uv@v7
5959
- name: Check for Latin phrases
6060
run: uv run tools/no-bad-latin.py
@@ -63,7 +63,7 @@ jobs:
6363
validate_cff:
6464
runs-on: ubuntu-latest
6565
steps:
66-
- uses: actions/checkout@v5
66+
- uses: actions/checkout@v6
6767
- uses: astral-sh/setup-uv@v7
6868
- name: Validate CITATION.cff
6969
run: uvx cffconvert --validate

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: check-added-large-files
1818
- id: check-case-conflict
1919
- repo: https://github.com/python-jsonschema/check-jsonschema
20-
rev: 0.35.0
20+
rev: 0.36.0
2121
hooks:
2222
- id: check-dependabot
2323
- id: check-github-workflows
@@ -49,7 +49,7 @@ repos:
4949
- id: codespell
5050
args: ["--config=.codespellrc", "--dictionary=-", "--dictionary=.codespell_dict"]
5151
- repo: https://github.com/pre-commit/mirrors-mypy
52-
rev: v1.19.0
52+
rev: v1.19.1
5353
hooks:
5454
- id: mypy
5555
# Sync with project.optional-dependencies.typing

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,12 @@ such as when you build the documentation locally.
268268
### 4. Ready to build!
269269

270270
Using the terminal (command line) please enter `uv run mkdocs serve`.
271+
Alternatively, if you would like to use `make`, run `make serve`, which will run `uv sync` and then `mkdocs`.
271272
This will allow you to see a local version of the specification.
272273
The local address will be `http://127.0.0.1:8000`.
273274
You may enter that into your browser and this will bring up the specification!
274275

275-
(If you are not using `uv`, activate your environment and then run `mkdocs serve`.)
276+
(If you are not using `uv` or `make`, activate your environment and then run `mkdocs serve`.)
276277

277278
## Fixing Markdown style errors
278279

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
.PHONY: tools/contributors.tsv
2+
3+
.PHONY: all serve install update_contributors formatschema
4+
25
all:
6+
@echo "Nothing is done by default. Consider following targets:"
7+
@echo " install -- prep environment"
8+
@echo " serve -- prep environment and build and serve docs"
9+
@echo " formatschema -- format and commit(!) schema"
10+
11+
serve: .venv
12+
uv run mkdocs serve
313

414
install: .venv node_modules
515

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ nav:
2929
- BIDS Derivatives: derivatives/introduction.md
3030
- Common data types and metadata: derivatives/common-data-types.md
3131
- Imaging data types: derivatives/imaging.md
32+
- Templates and atlases: derivatives/atlas.md
3233
- Longitudinal and multi-site studies: longitudinal-and-multi-site-studies.md
3334
- Glossary: glossary.md
3435
- BIDS Extension Proposals: extensions.md

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)