Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1237 commits
Select commit Hold shift + click to select a range
e990848
Fix bugs in schema.
tsalo Jan 13, 2021
c7751c7
[MISC] Added full names for some contributors in .mailmap file (#705)
yarikoptic Jan 14, 2021
d794736
[ENH] Bep 005: Arterial Spin Labeling (#669)
sappelhoff Jan 15, 2021
1548384
Merge branch 'master' into enh/render-schema
tsalo Jan 19, 2021
7bad87f
Update for ASL.
tsalo Jan 19, 2021
ba3aa59
SCHEMA: Update entity YAML keys
effigies Jan 22, 2021
fcf092c
Update src/schema/datatypes/eeg.yaml
tsalo Jan 27, 2021
cb19df3
Fix spacing.
tsalo Jan 27, 2021
a23aa09
Address @yarikoptic's point about wording.
tsalo Jan 29, 2021
4b2fcae
Point to file instead of folder.
tsalo Jan 29, 2021
cce5e58
Expand on the need to manually check rendered text.
tsalo Jan 29, 2021
9e3bf9f
mt -> mtransfer
effigies Jan 29, 2021
e21c2c1
Merge pull request #714 from bids-standard/schema/entity_keys
tsalo Jan 29, 2021
2da3e7c
[DOC] Auto-generate changelog entry for PR #714
bids-maintenance Jan 29, 2021
3b612fb
ENH: Harmonize CoordinateSystem details for MRI, MEG, EEG, iEEG (#717)
sappelhoff Feb 1, 2021
f0391a3
ENH: Harmonize CoordinateSystem details for MRI, MEG, EEG, iEEG (#717)
sappelhoff Feb 1, 2021
8ab4492
add missing paragraph from #717
sappelhoff Feb 1, 2021
37b69ac
fix typo
sappelhoff Feb 1, 2021
b45d99e
Revert init change.
tsalo Feb 2, 2021
1d5c687
Remove hardcoded versions of auto-generated text.
tsalo Feb 2, 2021
644ebd1
Merge pull request #610 from tsalo/enh/render-schema
tsalo Feb 2, 2021
b4f0c2e
[DOC] Auto-generate changelog entry for PR #610
bids-maintenance Feb 2, 2021
c426e27
Fix entity names. (#720)
tsalo Feb 3, 2021
6767e05
ENH: Clarify run indexing information for MRI acquisitions (#719)
effigies Feb 5, 2021
a7f7d74
Prohibit combination of echo entity and events suffix.
tsalo Feb 6, 2021
9e0b778
Allow ce and dir with func physio data.
tsalo Feb 6, 2021
7cdeadf
Make flip optional for MP2RAGE.
tsalo Feb 4, 2021
599c5d9
Rename schema groups in comments.
tsalo Feb 9, 2021
60fe941
FIX: Add deprecated anatomical MRI suffixes back into schema (#725)
tsalo Feb 10, 2021
5ecfc98
Merge pull request #724 from tsalo/fix-func-irregularities
tsalo Feb 10, 2021
2d50887
[DOC] Auto-generate changelog entry for PR #724
bids-maintenance Feb 10, 2021
c8f5827
Update qMRI fieldmap schema (#728)
effigies Feb 12, 2021
92e4029
split files scans.tsv
Feb 15, 2021
0bb4755
style improvement
eort Feb 16, 2021
26757f3
add contributor
eort Feb 16, 2021
a2678fe
change should to must
eort Feb 16, 2021
ea3a97c
REL: v1.5.0
franklin-feingold Feb 17, 2021
4178e53
restructure intro events.md
Remi-Gau Feb 21, 2021
d385527
fix examples in tables
Remi-Gau Feb 21, 2021
2d7f9d8
Add heading about stimuli folder
Remi-Gau Feb 21, 2021
f769b09
Update src/04-modality-specific-files/02-magnetoencephalography.md
eort Feb 22, 2021
c037c67
Update src/99-appendices/06-meg-file-formats.md
eort Feb 22, 2021
2cf3ae4
Update src/schema/entities.yaml
eort Feb 22, 2021
758f9ca
update scans with parts
eort Feb 22, 2021
88e0618
Merge branch 'split_in_scans' of https://github.com/eort/bids-specifi…
eort Feb 22, 2021
8a5519a
Update src/99-appendices/01-contributors.md
eort Feb 22, 2021
a580998
Merge branch 'split_in_scans' of https://github.com/eort/bids-specifi…
eort Feb 22, 2021
3600e28
update scans.tsv
eort Feb 22, 2021
196e8f5
no-bad-latin fix
eort Feb 22, 2021
b5f41bf
no-bad-latin
eort Feb 22, 2021
b0065cc
Update src/03-modality-agnostic-files.md
eort Feb 22, 2021
fb7feb9
updated TotalAcquiredVolumes into TotalACquiredPairs
patsycle Feb 23, 2021
7bf0d49
update TotalAcquiredPairs
patsycle Feb 23, 2021
9b22cad
Merge pull request #742 from bids-standard/bep-005
franklin-feingold Feb 23, 2021
d391a53
[DOC] Auto-generate changelog entry for PR #742
bids-maintenance Feb 23, 2021
0957dec
Merge remote-tracking branch 'upstream/master' into rel/1.5.0
effigies Feb 23, 2021
0c30169
Merge pull request #736 from bids-standard/rel/1.5.0
franklin-feingold Feb 23, 2021
e146e0f
Update mkdocs.yml
franklin-feingold Feb 23, 2021
9cb5612
fix schema for i/eeg coordsys+elecs (#743)
sappelhoff Feb 25, 2021
5b18e4d
fix exampel
eort Feb 26, 2021
ef19dfb
Merge branch 'master' of https://github.com/bids-standard/bids-specif…
eort Feb 26, 2021
dea04f1
fix example
eort Feb 26, 2021
fb1b652
Merge branch 'split_in_scans' of https://github.com/eort/bids-specifi…
eort Feb 26, 2021
df3fa3d
fix example
eort Feb 26, 2021
044c068
Update src/03-modality-agnostic-files.md
eort Feb 26, 2021
99eec00
[MISC] Clarify participant_id in participants.tsv file if it exists (…
adam2392 Mar 3, 2021
baab606
Update src/03-modality-agnostic-files.md
eort Mar 3, 2021
b86309e
update scans.tsv desc
eort Mar 3, 2021
8e58509
update scans.tsv desc
eort Mar 3, 2021
e47aa79
fix conflict
eort Mar 3, 2021
54179a1
[FIX] 1) Clarify appropriate labels for space entity, 2) Clarify chan…
sappelhoff Mar 5, 2021
feba0fc
[MISC] standardize string examples format in tables (#739)
Remi-Gau Mar 5, 2021
17b00ba
Update src/03-modality-agnostic-files.md
eort Mar 5, 2021
22e9be5
Update src/99-appendices/06-meg-file-formats.md
eort Mar 5, 2021
f5b34f9
Update src/schema/entities.yaml
eort Mar 5, 2021
eaf6e62
split files
eort Mar 5, 2021
1d7b363
[INFRA] updating remark, CIs, contributor docs (#745)
sappelhoff Mar 8, 2021
cf88deb
undo revert
eort Mar 11, 2021
17e7539
fix trailing whitespace
eort Mar 11, 2021
f3667fd
Fix typo in EEG specification
rob-luke Mar 13, 2021
4f887b8
Merge pull request #754 from rob-luke/patch-1
sappelhoff Mar 13, 2021
d26176c
no remark on auto CHANGES
sappelhoff Mar 13, 2021
ac2101f
Merge pull request #755 from sappelhoff/quickfix
sappelhoff Mar 15, 2021
1be0ce9
change parts to files
eort Mar 16, 2021
537e28a
Merge pull request #735 from eort/split_in_scans
sappelhoff Mar 16, 2021
54a71ac
fix hed link
sappelhoff Mar 25, 2021
9c35577
fix local links
sappelhoff Mar 25, 2021
c79dd65
fix circleci workflow
sappelhoff Mar 25, 2021
1acdc20
Merge pull request #764 from sappelhoff/fixcirlce
sappelhoff Mar 25, 2021
a280ae8
[DOC] Auto-generate changelog entry for PR #764
bids-maintenance Mar 25, 2021
c063527
install git in linkchecker job
sappelhoff Mar 26, 2021
af4935f
checkout code to use git
sappelhoff Mar 26, 2021
1215ce6
try to fix artifact redirector
sappelhoff Mar 26, 2021
4d3a316
tweak file path
sappelhoff Mar 26, 2021
56e84b3
add pandoc resource-path to find ASL imgs
sappelhoff Mar 26, 2021
9c4c09e
Merge pull request #767 from sappelhoff/link/git
sappelhoff Mar 26, 2021
7f401d4
[DOC] Auto-generate changelog entry for PR #767
bids-maintenance Mar 26, 2021
fd96f19
move schema documnetation into the schema folder
Remi-Gau Feb 21, 2021
822f53b
Apply suggestions from code review
Remi-Gau Feb 22, 2021
acda419
Apply suggestions from code review
sappelhoff Mar 30, 2021
c44b926
enh: allow encoding the fieldmapping intent of the protocol
oesteban Oct 23, 2020
1aec168
Apply suggestions from code review
oesteban Oct 28, 2020
9664f8f
enh: miscellaneous changes (see below)
oesteban Dec 9, 2020
5be9e5f
fix: address missing field on GE devices
oesteban Apr 5, 2021
702d8b9
fix: remove 'e.g.'
oesteban Apr 5, 2021
3301ac2
Merge pull request #740 from Remi-Gau/remi-schema-doc
tsalo Apr 6, 2021
89af312
[DOC] Auto-generate changelog entry for PR #740
bids-maintenance Apr 6, 2021
8377588
fix: add asl instances as pointed out by @mattcieslak
oesteban Apr 6, 2021
cc46934
[ENH] Bep 009: Positron Emission Tomography (#633)
melanieganz Apr 7, 2021
9546adf
FIX: typo in pet: institution -> institutional
sappelhoff Apr 9, 2021
ac9e1ef
Merge pull request #771 from sappelhoff/fix/typopet
sappelhoff Apr 12, 2021
a7faded
[DOC] Auto-generate changelog entry for PR #771
bids-maintenance Apr 12, 2021
aa07ef8
FIX: Rename "Unit" metadata to "Units" for consistency with existing …
effigies Apr 12, 2021
ab5cd60
Rename *Unit -> *Units in PET
effigies Apr 13, 2021
acedf22
Merge pull request #773 from effigies/fix/unit
mnoergaard Apr 13, 2021
24a4069
[DOC] Auto-generate changelog entry for PR #773
bids-maintenance Apr 13, 2021
98bb1d8
update datatypes task events table
Remi-Gau Apr 14, 2021
424c480
add hard word wrap
Remi-Gau Apr 14, 2021
e9e6df4
apply linting
Remi-Gau Apr 14, 2021
929d137
Merge pull request #697 from Remi-Gau/remi-stiumli_folder
sappelhoff Apr 14, 2021
6b37242
[DOC] Auto-generate changelog entry for PR #697
bids-maintenance Apr 14, 2021
eb8000e
FIX: Amend note about b-vecs on DWI specs
oesteban Apr 21, 2021
0900f12
FIX: Typos discovered by codespell (#784)
yarikoptic Apr 22, 2021
58b6566
CI: Update linkchecker condition
effigies Apr 15, 2021
6fd9145
REL: v1.6.0
effigies Apr 15, 2021
cceb6dc
Merge pull request #776 from bids-standard/rel/1.6.0
effigies Apr 22, 2021
b687525
REL: 1.6.1-dev
effigies Apr 22, 2021
297473f
FIX remove repetition in PET figure legend
Hboni Apr 23, 2021
c057764
FIX typos Dicom tag representation
Hboni Apr 23, 2021
ecf37c4
ENH: add EEGLAB as valid coordinate system for EEG
sappelhoff Apr 15, 2021
ac33bd7
linebreak lint
sappelhoff Apr 15, 2021
af0e1ed
add EEGLAB-HJ
sappelhoff Apr 15, 2021
dcceb2c
fix link
sappelhoff Apr 15, 2021
9b10345
DOC: add section on LPA/RPA/..., consolidate links
sappelhoff Apr 27, 2021
dba308f
linter
sappelhoff Apr 27, 2021
7c977b9
add info on HED key to common principles
sappelhoff Apr 16, 2021
892f087
HED field in data dict can also be str
sappelhoff Apr 20, 2021
548fcd0
[INFRA] add CI to find trailing whitespace
sappelhoff Apr 19, 2021
fea1194
fix ci step
sappelhoff Apr 19, 2021
6bbb42f
remove gh action
sappelhoff Apr 20, 2021
37e486b
try remark-lint-no-trailing-spaces
sappelhoff Apr 20, 2021
f5f4c36
forgot comma
sappelhoff Apr 20, 2021
0fe2c7b
STY: remove trailing whitespace
sappelhoff Apr 20, 2021
8d862e7
Merge remote-tracking branch 'upstream/master' into enh/fieldmaps-ref…
effigies Apr 27, 2021
9748a7c
Merge pull request #622 from oesteban/enh/fieldmaps-refactor
effigies Apr 28, 2021
31679c3
[DOC] Auto-generate changelog entry for PR #622
bids-maintenance Apr 28, 2021
03c625b
Merge pull request #780 from sappelhoff/ci/whitespace
sappelhoff Apr 29, 2021
486b78c
[DOC] Auto-generate changelog entry for PR #780
bids-maintenance Apr 29, 2021
3c5a162
Merge pull request #775 from sappelhoff/eeglab
sappelhoff Apr 30, 2021
4327eb7
[DOC] Auto-generate changelog entry for PR #775
bids-maintenance Apr 30, 2021
6da6bd5
Merge pull request #777 from sappelhoff/hed
sappelhoff May 3, 2021
177f980
[DOC] Auto-generate changelog entry for PR #777
bids-maintenance May 3, 2021
22c79d4
add link to README template
sappelhoff May 7, 2021
05c5387
ignore temporary pdf build output
sappelhoff May 7, 2021
8ba9a5a
remove superfluous brackets in script
sappelhoff May 7, 2021
08b3893
add pandoc metadata.yml file for easier settings
sappelhoff May 7, 2021
b03d1ae
color every other row in tables
sappelhoff May 7, 2021
714a109
fix: exclude some MD files from pdf
sappelhoff May 7, 2021
cf4bba5
remove unused listings settings PDF
sappelhoff May 7, 2021
a02292b
break table to check ci
sappelhoff May 3, 2021
d7c32db
do not install remark and remark-lint: remark-cli should suffice
sappelhoff May 3, 2021
8789973
fix linter
sappelhoff May 3, 2021
fd2855a
try pointing to pkgs locally
sappelhoff May 3, 2021
055cd3c
replace travis badge with gh actions, circleci svg->shield style
sappelhoff May 3, 2021
b35ba9f
Revert "try pointing to pkgs locally"
sappelhoff May 3, 2021
7abac19
adjustments
sappelhoff May 7, 2021
136ce75
go back to npx
sappelhoff May 7, 2021
5cd000c
try to add remark-gfm
sappelhoff May 8, 2021
f56518c
remove debug comment
sappelhoff May 8, 2021
fced729
massive commit: fix linter
sappelhoff May 8, 2021
39926d1
Merge pull request #791 from sappelhoff/ci
Remi-Gau May 10, 2021
9a81c47
[DOC] Auto-generate changelog entry for PR #791
bids-maintenance May 10, 2021
4a42f0b
Merge pull request #794 from sappelhoff/pdf/tables
sappelhoff May 14, 2021
319e83d
[DOC] Auto-generate changelog entry for PR #794
bids-maintenance May 14, 2021
c4489cd
Merge pull request #793 from sappelhoff/readme/template
sappelhoff May 14, 2021
81eebff
[DOC] Auto-generate changelog entry for PR #793
bids-maintenance May 14, 2021
5822d98
Merge branch 'master' into master
sappelhoff May 14, 2021
e6ba1e2
STY: align table pipes
sappelhoff May 14, 2021
8f0b46d
consistency: DICOM Tag \d+, \d+
sappelhoff May 14, 2021
3353736
add ietf standard link for json, closes #748
sappelhoff May 14, 2021
8b8fd5d
Update src/schema/entities.yaml
sappelhoff May 19, 2021
de658ea
catch some missing tags w/o space
sappelhoff May 19, 2021
c41c270
danteev/texlive was updated and fails now. try force py3
sappelhoff May 19, 2021
57970a5
get pip via apt
sappelhoff May 19, 2021
1fd068a
apt, not apt-get. whatever the difference is.
sappelhoff May 19, 2021
39fc3cc
need to apt update before installing
sappelhoff May 19, 2021
ee9f1e1
force install without yes/no prompt
sappelhoff May 19, 2021
f7fd3c2
Merge pull request #786 from Hboni/master
sappelhoff May 20, 2021
93c7951
[DOC] Auto-generate changelog entry for PR #786
bids-maintenance May 20, 2021
db8a14c
Update src/02-common-principles.md
sappelhoff May 20, 2021
d46b281
Merge pull request #797 from sappelhoff/json
sappelhoff May 20, 2021
6812fec
[DOC] Auto-generate changelog entry for PR #797
bids-maintenance May 20, 2021
40acd09
ieeg: deprecate DCOffsetCorrection
sappelhoff May 20, 2021
a66e36e
clarify that entities MUST be unique
sappelhoff May 20, 2021
46b03a8
events: make MRI-centric language more general
sappelhoff May 21, 2021
2217185
cont. and phys: add link
sappelhoff May 21, 2021
6def797
fix link
sappelhoff May 21, 2021
c8b1100
Update src/04-modality-specific-files/05-task-events.md
sappelhoff May 21, 2021
8a942c5
Merge branch 'master' into bf-surface
sappelhoff May 22, 2021
5cf6a3c
align proposed changes with what was merged here:
sappelhoff May 22, 2021
8c4cf21
add recommended metadata for physio ffles
Remi-Gau May 22, 2021
062fbe9
md style fix: add header row separator
sappelhoff May 22, 2021
afee589
Merge pull request #800 from sappelhoff/entities/clarify/duplication
sappelhoff May 25, 2021
af00f73
[DOC] Auto-generate changelog entry for PR #800
bids-maintenance May 25, 2021
761ef0c
STY: fix trailing whitespace
sappelhoff May 25, 2021
2b43d5b
Merge pull request #463 from yarikoptic/bf-surface
sappelhoff May 25, 2021
c043412
[DOC] Auto-generate changelog entry for PR #463
bids-maintenance May 25, 2021
d2c28f2
move deprecated field to bottom of table
sappelhoff May 25, 2021
66133d9
Apply suggestions from code review
sappelhoff May 25, 2021
fb05cfd
Merge pull request #801 from sappelhoff/language/ephys
sappelhoff May 26, 2021
37e08cc
[DOC] Auto-generate changelog entry for PR #801
bids-maintenance May 26, 2021
7bdf963
Merge pull request #799 from sappelhoff/ieeg/deprecate/dc
sappelhoff May 27, 2021
67313ee
[DOC] Auto-generate changelog entry for PR #799
bids-maintenance May 27, 2021
a0dfb35
Merge pull request #806 from Remi-Gau/add_physio_metadata
sappelhoff May 27, 2021
d960d7a
[DOC] Auto-generate changelog entry for PR #806
bids-maintenance May 27, 2021
0173854
Merge pull request #782 from oesteban/fix/fsl-bvecs-bvals
sappelhoff May 27, 2021
a08d84a
[DOC] Auto-generate changelog entry for PR #782
bids-maintenance May 27, 2021
63db4a8
fix: md style link
sappelhoff May 31, 2021
51a1fe1
Change composite instance to measurement in EEG
rob-luke Jun 1, 2021
897e36f
Change composite instance to measurement in iEEG
rob-luke Jun 1, 2021
c7f7327
Change composite instance to measurement in MEG
rob-luke Jun 1, 2021
fbda604
Remove composite instance from phys
rob-luke Jun 1, 2021
01a0424
Fix plural
rob-luke Jun 1, 2021
9d94096
Update 04-intracranial-electroencephalography.md
rob-luke Jun 1, 2021
cd5833f
Update 03-electroencephalography.md
rob-luke Jun 1, 2021
0987e29
boldify table headers
Remi-Gau May 23, 2021
33ab10b
fix table fences
Remi-Gau May 30, 2021
0e90497
fix cell padding
Remi-Gau May 30, 2021
67fc366
fix cell padding
Remi-Gau May 30, 2021
094d1ed
sty in contributor page
Remi-Gau Jun 1, 2021
9b4dce7
revert change to table in contributors
Remi-Gau Jun 1, 2021
e0ad5cd
Merge pull request #815 from Remi-Gau/bold_table-header
sappelhoff Jun 1, 2021
168cbad
[DOC] Auto-generate changelog entry for PR #815
bids-maintenance Jun 1, 2021
ce44a13
update datatypes in common principles: pet
sappelhoff Jun 8, 2021
b8dcec2
update modalities in README
sappelhoff Jun 8, 2021
34186f8
mkdocs: set site_url
sappelhoff Jun 8, 2021
f57daf2
append en/stable/ to site_url: will it break 'latest'?
sappelhoff Jun 8, 2021
632ff7f
add perf
sappelhoff Jun 8, 2021
17b5444
Merge pull request #819 from sappelhoff/fix/datatypes/update
sappelhoff Jun 8, 2021
cf5d192
[DOC] Auto-generate changelog entry for PR #819
bids-maintenance Jun 8, 2021
0d5f92c
Update 03-electroencephalography.md
rob-luke Jun 8, 2021
ceccad4
Update 06-physiological-and-other-continuous-recordings.md
rob-luke Jun 8, 2021
6c85be7
Merge remote-tracking branch 'upstream/master' into composite-measure…
rob-luke Jun 8, 2021
d0853ee
Merge pull request #813 from rob-luke/composite-measurement
sappelhoff Jun 9, 2021
e7e7118
[DOC] Auto-generate changelog entry for PR #813
bids-maintenance Jun 9, 2021
78a8a66
fix: inconsistency in ieeg table and text
sappelhoff Jun 6, 2021
c1c3d89
PET: clarify that time column must be first in blood tsv
sappelhoff Jun 10, 2021
709299d
Merge pull request #818 from sappelhoff/fix/ieeg/table_vs_text
sappelhoff Jun 11, 2021
66d8532
[DOC] Auto-generate changelog entry for PR #818
bids-maintenance Jun 11, 2021
1a0f221
Merge remote-tracking branch 'upstream/master' into bep-016
effigies Jun 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .circleci/artifact_path

This file was deleted.

243 changes: 145 additions & 98 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,142 +2,180 @@ version: 2
jobs:
build_docs:
docker:
- image: circleci/python:3.6.6
- image: circleci/python:3.8
steps:
# checkout code to default ~/project
- checkout
- run: sudo chown -R circleci:circleci /usr/local/bin
- run: sudo chown -R circleci:circleci /usr/local/lib/python3.6/site-packages
- restore_cache: # ensure this step occurs *before* installing dependencies
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
- run:
name: install dependencies
command: |
sudo pip install pip==18.0
sudo pip install pipenv==2018.7.1
pipenv install
- save_cache:
key: deps9-{{ .Branch }}-{{ checksum "Pipfile.lock" }}
paths:
- ".venv"
- "/usr/local/bin"
- "/usr/local/lib/python3.6/site-packages"
python -m pip install --upgrade pip
pip install -r requirements.txt
- run:
name: generate docs
command: pipenv run mkdocs build --clean --strict --verbose
- store_artifacts:
path: site
command: mkdocs build --clean --strict --verbose
- persist_to_workspace:
root: .
# the mkdocs build outputs are in ~/project/site
root: ~/project
paths: site

linkchecker:
docker:
- image: yarikoptic/linkchecker:9.4.0.anchorfix1-1
steps:
# checkout code to default ~/project
- checkout
- attach_workspace:
at: ~/build
# mkdocs build outputs will be in ~/project/site
at: ~/project
- run:
name: install git
command: |
apt update -y
apt install git-all -y
- run:
name: check links
command: |
git status
if (! git log -1 --pretty=oneline | grep REL:) ; then
chmod a+rX -R ~
linkchecker -t 1 ~/project/site/
# check external separately by pointing to all *html so no
# failures for local file:/// -- yoh found no better way,
linkchecker -t 1 --check-extern \
--ignore-url 'file:///.*' \
--ignore-url https://fonts.gstatic.com \
--ignore-url "https://github.com/bids-standard/bids-specification/(pull|tree)/.*" \
--ignore-url "https://github.com/[^/]*" \
~/project/site/*html ~/project/site/*/*.html
else
echo "Release PR - do nothing"
fi

build_docs_pdf:
docker:
- image: danteev/texlive:latest
steps:
# checkout code to default ~/project
- checkout
- run:
name: install dependencies
command: |
apt-get update && apt install -y python3-pip
python3 -m pip install --upgrade pip
python3 -m pip install -r ~/project/requirements.txt
- run:
name: install font that works with unicode emojis
command: apt-get update && apt-get install -y fonts-symbola
- run:
name: generate pdf version docs
command: |
chmod a+rX -R ~
linkchecker -t 1 ~/build/site/
# check external separately by pointing to all *html so no
# failures for local file:/// -- yoh found no better way,
linkchecker -t 1 --check-extern --ignore-url 'file:///.*' --ignore-url https://fonts.gstatic.com ~/build/site/*html ~/build/site/*/*.html
cd ~/project/pdf_build_src
bash build_pdf.sh
mv ~/project/pdf_build_src/bids-spec.pdf ~/project/bids-spec.pdf
- store_artifacts:
path: bids-spec.pdf

# Auto changelog collector
# Auto changelog collector
github-changelog-generator:
working_directory: ~/build
docker:
- image: ferrarimarco/github-changelog-generator:1.14.3
steps:
- setup_remote_docker:
version: 17.11.0-ce
version: 18.06.0-ce
# checkout code to default ~/project
- checkout
- run:
name: Build changelog
working_directory: ~/build
command: |
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
github_changelog_generator --user bids-standard --project bids-specification --token ${CHANGE_TOKEN} --output ~/build/CHANGES.md --base ~/build/src/pregh-changes.md --header-label Changelog --no-issues --no-issues-wo-labels --no-filter-by-milestone --no-compare-link --pr-label ""
cat ~/build/CHANGES.md
mv ~/build/CHANGES.md ~/build/src/CHANGES.md
else
echo "Commit or Release, do nothing"
fi
name: Build changelog
# $CHANGE_TOKEN is generated via the GitHub web UI, and then securely stored within CircleCI web UI
command: |
mkdir ~/changelog_build
git status
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
github_changelog_generator \
--user bids-standard \
--project bids-specification \
--token ${CHANGE_TOKEN} \
--output ~/changelog_build/CHANGES.md \
--base ~/project/src/pregh-changes.md \
--header-label "# Changelog" \
--no-issues \
--no-issues-wo-labels \
--no-filter-by-milestone \
--no-compare-link \
--pr-label "" \
--release-branch master
cat ~/changelog_build/CHANGES.md
else
echo "Commit or Release, do nothing"
fi
- persist_to_workspace:
root: .
paths: src
# raw generated changelog in ~/changelog_build/CHANGES.md
root: ~/.
paths: changelog_build

# Clear remark test
# Run remark on the auto generated changes.md file
remark:
working_directory: ~
docker:
- image: node:latest
steps:
# checkout code to default ~/project
- checkout
- attach_workspace:
at: ~/build
# the freshly built CHANGES.md will be in ~/changelog_build/CHANGES.md
at: ~/.
- run:
name: update-npm
command: |
cd ~
npm install npm@latest
name: install remark and extensions
command: npm install `cat npm-requirements.txt`
- run:
name: get remark
command: |
cd ~
npm install remark remark-cli
- run:
name: get remark styles
command: |
cd ~
npm install remark-cli@5.0.0 remark-lint@6.0.2 remark-preset-lint-recommended@3.0.2 remark-preset-lint-markdown-style-guide@2.1.2
- run: # remark the auto generated changes.md
name: remark on autogenerated CHANGES.md
# format changelog, then use sed to change * to -, then lint changelog
command: |
cd ~/project
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
mkdir ~/project/src/tmp
cat ~/build/src/CHANGES.md
cp ~/build/src/CHANGES.md ~/project/src/CHANGES.md
~/node_modules/.bin/remark ~/project/src/CHANGES.md -o ~/project/src/tmp/CHANGES.md
~/node_modules/.bin/remark ~/project/src/tmp/CHANGES.md --frail
else
echo "Commit or Release, do nothing"
mkdir ~/project/src/tmp
touch ~/project/src/tmp/empty.txt
fi
git status
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
head -n 100 ~/changelog_build/CHANGES.md
npx remark-cli ~/changelog_build/CHANGES.md --rc-path ~/project/.remarkrc --output ~/changelog_build/CHANGES.md
head -n 100 ~/changelog_build/CHANGES.md
sed -i 's/* /- /' ~/changelog_build/CHANGES.md
head -n 100 ~/changelog_build/CHANGES.md
npx remark-cli ~/changelog_build/CHANGES.md --frail --rc-path ~/project/.remarkrc
else
echo "Commit or Release, do nothing"
fi
- persist_to_workspace:
root: ~/project/src
paths: tmp
# fixed+linted changelog in ~/changelog_build/CHANGES.md
root: ~/.
paths: changelog_build

# Push built changelog to repo
# Push built changelog to repo
Changelog-bot:
working_directory: ~/build
docker:
- image: circleci/openjdk:8-jdk
steps:
- setup_remote_docker:
version: 17.11.0-ce
version: 17.11.0-ce
# checkout code to default ~/project
- checkout
- attach_workspace:
at: ~/build
# fixed+linted changelog in ~/changelog_build/CHANGES.md
at: ~/.
- deploy:
name: Changelog deployment
working_directory: ~/build
command: |
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
mv ~/build/tmp/CHANGES.md ~/build/src/CHANGES.md
merge_messsge=$(git log -1 | grep Merge | grep "pull")
PR_number=$(echo $merge_messsge | cut -d ' ' -f 4)
git config credential.helper 'cache --timeout=120'
git config user.email "franklin.feingold@gmail.com"
git config user.name "Changelog-bot"
git add ~/build/src/CHANGES.md
git commit -m "[DOC] Auto-generate changelog entry for PR ${PR_number}"
git push https://${CHANGE_TOKEN}@github.com/bids-standard/bids-specification.git master
else
echo "Commit or Release, do nothing"
fi
name: Changelog deployment
# $CHANGE_TOKEN is generated via the GitHub web UI, and then securely stored within CircleCI web UI
command: |
if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then
mv ~/changelog_build/CHANGES.md ~/project/src/CHANGES.md
merge_message=$(git log -1 | grep Merge | grep "pull")
PR_number=$(echo $merge_message | cut -d ' ' -f 4)
git config credential.helper 'cache --timeout=120'
git config user.email "bids.maintenance@gmail.com"
git config user.name "bids-maintenance"
git add ~/project/src/CHANGES.md
git commit -m "[DOC] Auto-generate changelog entry for PR ${PR_number}"
git push https://${CHANGE_TOKEN}@github.com/bids-standard/bids-specification.git master
else
echo "Commit or Release, do nothing"
fi

workflows:
version: 2
Expand All @@ -149,17 +187,26 @@ workflows:
- build_docs
- github-changelog-generator:
filters:
branches:
only: master
branches:
only: master
- remark:
requires:
- github-changelog-generator
- github-changelog-generator
filters:
branches:
only: master
branches:
only: master
- Changelog-bot:
requires:
- remark
- remark
filters:
branches:
only: master
branches:
only: master
# Ensure that build_docs_pdf always runs last, so that we can use the CircleCI API link for the "latest" artifact
# https://circleci.com/api/v1.1/project/github/bids-standard/bids-specification/latest/artifacts/0/bids-spec.pdf?branch=master
- build_docs_pdf:
requires:
- build_docs
- linkchecker
- github-changelog-generator
- remark
- Changelog-bot
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/blank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Blank issue
about: Create an issue without a template.
title: ''
labels: ''
assignees: ''
---
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---

--- PLEASE READ AND DELETE THE TEXT BELOW BEFORE OPENING THE ISSUE ---

Please ...

- ... describe your problem in detail.
- ... describe what you expected instead of your problem.
- ... provide a link to the part of the BIDS specification that is relevant.

--- PLEASE READ AND DELETE THE TEXT ABOVE BEFORE OPENING THE ISSUE ---
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: BIDS NeuroStars forum
url: https://neurostars.org/
about: Ask (and answer) concrete technical questions or about implementation details around BIDS.
- name: BIDS mailing list
url: https://groups.google.com/forum/#!forum/bids-discussion
about: Use the BIDS mailing list for announcements, and to draw attention to any item related to BIDS
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---

--- PLEASE READ AND DELETE THE TEXT BELOW BEFORE OPENING THE ISSUE ---

- Have you checked our contributing guide? It's a helpful resource: https://github.com/bids-standard/bids-specification/blob/master/CONTRIBUTING.md

- Is your idea backwards compatible? If not, please open an issue in the bids-2-devel repository instead of here: https://github.com/bids-standard/bids-2-devel

- Is there already a group working on your idea? Check the BIDS extension proposals: https://bids.neuroimaging.io/get_involved.html#extending-the-bids-specification

- Will your idea potentially require a large effort? Read BEP lead guidelines: https://docs.google.com/document/d/1pWmEEY-1-WuwBPNy5tDAxVJYQ9Een4hZJM06tQZg8X4/

- When you suggest your idea, please try to supply (mock) examples!

--- PLEASE READ AND DELETE THE TEXT ABOVE BEFORE OPENING THE ISSUE ---
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
--- PLEASE READ AND DELETE THE TEXT BELOW BEFORE OPENING THE PULL REQUEST ---

See the [CONTRIBUTING](https://github.com/bids-standard/bids-specification/blob/master/CONTRIBUTING.md) guide. Specifically:

- Please keep the title of your pull request (PR) short but informative - it will
appear in the changelog.
- Please ensure your name is credited on our [Contributors appendix](https://github.com/bids-standard/bids-specification/blob/master/src/99-appendices/01-contributors.md).
To add your name, please edit our [Contributors wiki](https://github.com/bids-standard/bids-specification/wiki/Contributors) and add your name with the type of contribution.
For assistance, please contact @franklin-feingold or @sappelhoff.
- Use one of the following prefixes in the title of your PR:
- `[ENH]` - enhancement of the specification that adds a new feature or
support for a new data type
- `[FIX]` - fix of a typo or language clarification
- `[INFRA]` - changes to the infrastructure automating the specification
release (for example building HTML docs etc.)
- `[MISC]` - everything else including changes to the file listing
contributors
- If you are opening a PR to obtain early feedback, but the changes
are not ready to be merged (a.k.a. Work in Progress PR) please
use a [draft PR](https://github.blog/2019-02-14-introducing-draft-pull-requests/).
- After opening the PR, our continuous integration services will automatically check your contribution for formatting errors and render a preview of the BIDS specification with your changes.
To see the checks and preview, scroll down and click on the `show all checks` link.
From the list, select the `Details` link of the `ci/circleci: build_docs artifact` check to see the preview of the BIDS specification.

--- PLEASE READ AND DELETE THE TEXT ABOVE BEFORE OPENING THE PULL REQUEST ---
Loading