bagel 0.5.1.dev7__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.autorc +123 -117
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.dockerignore +42 -42
- bagel-0.7.0/.editorconfig +2 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.flake8 +11 -11
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/dependabot.yml +74 -74
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/pull_request_template.md +42 -42
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/add_iss2project.yml +23 -23
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/build_docker_nightly.yml +38 -38
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/build_docker_on_release.yml +61 -61
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/cff_validation.yml +23 -23
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/codespell.yml +19 -19
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/handle_external_pr.yml +30 -30
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/release.yaml +45 -35
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/stale.yml +24 -24
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.github/workflows/test.yml +37 -45
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.gitignore +155 -155
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.gitmodules +12 -9
- {bagel-0.5.1.dev7 → bagel-0.7.0}/.pre-commit-config.yaml +45 -45
- {bagel-0.5.1.dev7 → bagel-0.7.0}/CHANGELOG.md +417 -383
- {bagel-0.5.1.dev7 → bagel-0.7.0}/CITATION.cff +52 -52
- bagel-0.7.0/Dockerfile +12 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/LICENSE +20 -20
- {bagel-0.5.1.dev7 → bagel-0.7.0}/PKG-INFO +21 -33
- {bagel-0.5.1.dev7 → bagel-0.7.0}/README.md +82 -96
- bagel-0.7.0/bagel/bids_table_model.py +78 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/cli.py +640 -520
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/dictionary_models.py +164 -164
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/logger.py +63 -63
- bagel-0.7.0/bagel/mappings.py +68 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/models.py +97 -97
- bagel-0.7.0/bagel/utilities/bids_utils.py +95 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/utilities/derivative_utils.py +188 -138
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/utilities/file_utils.py +123 -96
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/utilities/model_utils.py +119 -119
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/utilities/pheno_utils.py +649 -590
- {bagel-0.5.1.dev7 → bagel-0.7.0}/entrypoint.sh +18 -18
- {bagel-0.5.1.dev7 → bagel-0.7.0}/helper_scripts/generate_dictionary_jsonschema.py +11 -11
- {bagel-0.5.1.dev7 → bagel-0.7.0}/helper_scripts/generate_graphdata_jsonschema.py +16 -16
- {bagel-0.5.1.dev7 → bagel-0.7.0}/helper_scripts/generate_nb_vocab_file.py +52 -52
- {bagel-0.5.1.dev7 → bagel-0.7.0}/helper_scripts/generate_neurobagel_example_jsonlds.sh +41 -41
- {bagel-0.5.1.dev7 → bagel-0.7.0}/pyproject.toml +72 -69
- bagel-0.5.1.dev7/.editorconfig +0 -2
- bagel-0.5.1.dev7/.vscode/launch.json +0 -15
- bagel-0.5.1.dev7/.vscode/settings.json +0 -7
- bagel-0.5.1.dev7/Dockerfile +0 -16
- bagel-0.5.1.dev7/bagel/mappings.py +0 -102
- bagel-0.5.1.dev7/bagel/pipeline-catalog/.git +0 -1
- bagel-0.5.1.dev7/bagel/pipeline-catalog/.pre-commit-config.yaml +0 -16
- bagel-0.5.1.dev7/bagel/pipeline-catalog/LICENSE +0 -21
- bagel-0.5.1.dev7/bagel/pipeline-catalog/README.md +0 -2
- bagel-0.5.1.dev7/bagel/pipeline-catalog/conversion/conversion.json +0 -20
- bagel-0.5.1.dev7/bagel/pipeline-catalog/processing/processing.json +0 -36
- bagel-0.5.1.dev7/bagel/utilities/bids_utils.py +0 -74
- bagel-0.5.1.dev7/dev_requirements.txt +0 -202
- bagel-0.5.1.dev7/extra/example_synthetic_expected_output.json +0 -131
- bagel-0.5.1.dev7/extra/generate_example_synthetic_derivatives_jsonlds.sh +0 -15
- bagel-0.5.1.dev7/extra/generate_example_synthetic_jsonld.sh +0 -11
- bagel-0.5.1.dev7/extra/generate_example_synthetic_pheno-bids_jsonld.sh +0 -8
- bagel-0.5.1.dev7/extra/neurobagel_datadictionary.schema.json +0 -246
- bagel-0.5.1.dev7/extra/neurobagel_graphdata_20250129.schema.json +0 -512
- bagel-0.5.1.dev7/imaging_bagel-20241031_1720.tsv +0 -13906
- bagel-0.5.1.dev7/neurobagel_datadictionary.schema.json +0 -246
- bagel-0.5.1.dev7/requirements.txt +0 -136
- bagel-0.5.1.dev7/wagels-siblings.jsonld +0 -7079
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/__init__.py +0 -0
- {bagel-0.5.1.dev7 → bagel-0.7.0}/bagel/utilities/__init__.py +0 -0
|
@@ -1,117 +1,123 @@
|
|
|
1
|
-
{
|
|
2
|
-
"onlyPublishWithReleaseLabel": true,
|
|
3
|
-
"noDefaultLabels": true,
|
|
4
|
-
"baseBranch": "main",
|
|
5
|
-
"author": "Neurobagel Bot <bot@neurobagel.org>",
|
|
6
|
-
"noVersionPrefix": false,
|
|
7
|
-
"plugins": [
|
|
8
|
-
"git-tag",
|
|
9
|
-
"released",
|
|
10
|
-
"first-time-contributor",
|
|
11
|
-
[
|
|
12
|
-
"omit-commits",
|
|
13
|
-
{
|
|
14
|
-
"username": ["dependabot[bot]", "pre-commit-ci[bot]"],
|
|
15
|
-
"subject": "[pre-commit.ci]",
|
|
16
|
-
"labels": ["_bot", "skip-release"]
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
1
|
+
{
|
|
2
|
+
"onlyPublishWithReleaseLabel": true,
|
|
3
|
+
"noDefaultLabels": true,
|
|
4
|
+
"baseBranch": "main",
|
|
5
|
+
"author": "Neurobagel Bot <bot@neurobagel.org>",
|
|
6
|
+
"noVersionPrefix": false,
|
|
7
|
+
"plugins": [
|
|
8
|
+
"git-tag",
|
|
9
|
+
"released",
|
|
10
|
+
"first-time-contributor",
|
|
11
|
+
[
|
|
12
|
+
"omit-commits",
|
|
13
|
+
{
|
|
14
|
+
"username": ["dependabot[bot]", "pre-commit-ci[bot]"],
|
|
15
|
+
"subject": "[pre-commit.ci]",
|
|
16
|
+
"labels": ["_bot", "skip-release"]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"exec",
|
|
21
|
+
{
|
|
22
|
+
"afterRelease": "python -m build && twine upload dist/*"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
],
|
|
26
|
+
"labels": [
|
|
27
|
+
{
|
|
28
|
+
"name": "pr-major-breaking",
|
|
29
|
+
"changelogTitle": "💥 Breaking Changes",
|
|
30
|
+
"description": "Significant behaviour change that breaks compatibility, will increment major version (+1.0.0)",
|
|
31
|
+
"releaseType": "major",
|
|
32
|
+
"overwrite": true,
|
|
33
|
+
"color": "#C1EF40"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "pr-minor-breaking",
|
|
37
|
+
"changelogTitle": "💥 Breaking Changes",
|
|
38
|
+
"description": "Feature or enhancement that breaks compatibility, will increment minor version (0.+1.0)",
|
|
39
|
+
"releaseType": "minor",
|
|
40
|
+
"overwrite": true,
|
|
41
|
+
"color": "#C1EF40"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "pr-minor",
|
|
45
|
+
"changelogTitle": "🚀 Enhancements",
|
|
46
|
+
"description": "Non-breaking feature or enhancement, will increment minor version (0.+1.0)",
|
|
47
|
+
"releaseType": "minor",
|
|
48
|
+
"overwrite": true,
|
|
49
|
+
"color": "#C1EF40"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "pr-patch",
|
|
53
|
+
"changelogTitle": "🚀 Enhancements",
|
|
54
|
+
"description": "Incremental feature improvement, will increment patch version when merged (0.0.+1)",
|
|
55
|
+
"releaseType": "patch",
|
|
56
|
+
"overwrite": true,
|
|
57
|
+
"default": true,
|
|
58
|
+
"color": "#C1EF40"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "pr-bug-fix",
|
|
62
|
+
"changelogTitle": "🐛 Bug Fixes",
|
|
63
|
+
"description": "Bug fix, will increment patch version when merged (0.0.+1)",
|
|
64
|
+
"releaseType": "patch",
|
|
65
|
+
"overwrite": true,
|
|
66
|
+
"color": "#C1EF40"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "pr-internal",
|
|
70
|
+
"changelogTitle": "🏠 Internal",
|
|
71
|
+
"description": "Non-user-facing code improvement, will increment patch version when merged (0.0.+1)",
|
|
72
|
+
"releaseType": "patch",
|
|
73
|
+
"overwrite": true,
|
|
74
|
+
"color": "#C1EF40"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "pr-performance",
|
|
78
|
+
"changelogTitle": "🏎 Performance Improvements",
|
|
79
|
+
"description": "Improve performance of an existing feature, will increment patch version when merged (0.0.+1)",
|
|
80
|
+
"releaseType": "patch",
|
|
81
|
+
"overwrite": true,
|
|
82
|
+
"color": "#C1EF40"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "pr-documentation",
|
|
86
|
+
"changelogTitle": "📝 Documentation",
|
|
87
|
+
"description": "Change that only affects user documentation",
|
|
88
|
+
"releaseType": "none",
|
|
89
|
+
"overwrite": true,
|
|
90
|
+
"color": "#C1EF40"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "pr-tests",
|
|
94
|
+
"changelogTitle": " 🧪 Tests",
|
|
95
|
+
"description": "Add or improve existing tests",
|
|
96
|
+
"releaseType": "none",
|
|
97
|
+
"overwrite": true,
|
|
98
|
+
"color": "#C1EF40"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "pr-dependencies",
|
|
102
|
+
"changelogTitle": "🔩 Dependency Updates",
|
|
103
|
+
"description": "Update one or more dependencies version",
|
|
104
|
+
"releaseType": "none",
|
|
105
|
+
"overwrite": true,
|
|
106
|
+
"color": "#C1EF40"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "skip-release",
|
|
110
|
+
"description": "PR doesn't appear in the changelog and preserves current version when merged",
|
|
111
|
+
"releaseType": "skip",
|
|
112
|
+
"overwrite": true,
|
|
113
|
+
"color": "#bf5416"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "release",
|
|
117
|
+
"description": "Create a release when this PR is merged",
|
|
118
|
+
"releaseType": "release",
|
|
119
|
+
"overwrite": true,
|
|
120
|
+
"color": "#BFDADC"
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
# python cache
|
|
2
|
-
__pycache__/**/*
|
|
3
|
-
__pycache__
|
|
4
|
-
*.pyc
|
|
5
|
-
|
|
6
|
-
# python distribution
|
|
7
|
-
build/**/*
|
|
8
|
-
build
|
|
9
|
-
dist/**/*
|
|
10
|
-
dist
|
|
11
|
-
bagelbids.egg-info/**/*
|
|
12
|
-
bagelbids.egg-info
|
|
13
|
-
.eggs/**/*
|
|
14
|
-
.eggs
|
|
15
|
-
|
|
16
|
-
.editorconfig
|
|
17
|
-
**/.git
|
|
18
|
-
**/.github
|
|
19
|
-
**/.gitignore
|
|
20
|
-
**/.vscode
|
|
21
|
-
**/coverage
|
|
22
|
-
**/.env
|
|
23
|
-
**/.aws
|
|
24
|
-
**/.ssh
|
|
25
|
-
**/.DS_Store
|
|
26
|
-
**/venv
|
|
27
|
-
**/env
|
|
28
|
-
Dockerfile
|
|
29
|
-
|
|
30
|
-
# other configuration files and scripts
|
|
31
|
-
.autorc
|
|
32
|
-
.pre-commit-config.yaml
|
|
33
|
-
generate_nb_vocab_file.py
|
|
34
|
-
|
|
35
|
-
# documentation
|
|
36
|
-
CHANGELOG.md
|
|
37
|
-
CITATION.cff
|
|
38
|
-
LICENSE
|
|
39
|
-
README.md
|
|
40
|
-
|
|
41
|
-
# testing
|
|
42
|
-
tests
|
|
1
|
+
# python cache
|
|
2
|
+
__pycache__/**/*
|
|
3
|
+
__pycache__
|
|
4
|
+
*.pyc
|
|
5
|
+
|
|
6
|
+
# python distribution
|
|
7
|
+
build/**/*
|
|
8
|
+
build
|
|
9
|
+
dist/**/*
|
|
10
|
+
dist
|
|
11
|
+
bagelbids.egg-info/**/*
|
|
12
|
+
bagelbids.egg-info
|
|
13
|
+
.eggs/**/*
|
|
14
|
+
.eggs
|
|
15
|
+
|
|
16
|
+
.editorconfig
|
|
17
|
+
**/.git
|
|
18
|
+
**/.github
|
|
19
|
+
**/.gitignore
|
|
20
|
+
**/.vscode
|
|
21
|
+
**/coverage
|
|
22
|
+
**/.env
|
|
23
|
+
**/.aws
|
|
24
|
+
**/.ssh
|
|
25
|
+
**/.DS_Store
|
|
26
|
+
**/venv
|
|
27
|
+
**/env
|
|
28
|
+
Dockerfile
|
|
29
|
+
|
|
30
|
+
# other configuration files and scripts
|
|
31
|
+
.autorc
|
|
32
|
+
.pre-commit-config.yaml
|
|
33
|
+
generate_nb_vocab_file.py
|
|
34
|
+
|
|
35
|
+
# documentation
|
|
36
|
+
CHANGELOG.md
|
|
37
|
+
CITATION.cff
|
|
38
|
+
LICENSE
|
|
39
|
+
README.md
|
|
40
|
+
|
|
41
|
+
# testing
|
|
42
|
+
tests
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
; Flake8 does not natively support configuration via pyproject.toml.
|
|
2
|
-
; See https://github.com/microsoft/vscode-flake8/issues/135
|
|
3
|
-
|
|
4
|
-
[flake8]
|
|
5
|
-
extend-ignore = E501, E203
|
|
6
|
-
extend-select = B950
|
|
7
|
-
per-file-ignores =
|
|
8
|
-
bagelbids/cli.py: F841
|
|
9
|
-
exclude =
|
|
10
|
-
build,
|
|
11
|
-
dist,
|
|
1
|
+
; Flake8 does not natively support configuration via pyproject.toml.
|
|
2
|
+
; See https://github.com/microsoft/vscode-flake8/issues/135
|
|
3
|
+
|
|
4
|
+
[flake8]
|
|
5
|
+
extend-ignore = E501, E203
|
|
6
|
+
extend-select = B950
|
|
7
|
+
per-file-ignores =
|
|
8
|
+
bagelbids/cli.py: F841
|
|
9
|
+
exclude =
|
|
10
|
+
build,
|
|
11
|
+
dist,
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
# This is a centrally maintained dependabot configuration file
|
|
2
|
-
# that is applied to all repositories in the neurobagel organization.
|
|
3
|
-
# Do not make changes to this file directly. Instead, make changes
|
|
4
|
-
# to the template file in the workflows: https://github.com/neurobagel/workflows/tree/main/template_workflows/dependabot.yml
|
|
5
|
-
|
|
6
|
-
version: 2
|
|
7
|
-
updates:
|
|
8
|
-
|
|
9
|
-
# We instruct dependabot to open PRs if a newer version
|
|
10
|
-
# of a github action has been released.
|
|
11
|
-
- package-ecosystem: "github-actions"
|
|
12
|
-
directory: "/"
|
|
13
|
-
schedule:
|
|
14
|
-
interval: "weekly"
|
|
15
|
-
labels:
|
|
16
|
-
- "_bot"
|
|
17
|
-
- "dependencies"
|
|
18
|
-
|
|
19
|
-
# We instruct dependabot to open PRs whenever the HEAD of
|
|
20
|
-
# of a submodule repository has advanced beyond what our submodule
|
|
21
|
-
# is currently tracking.
|
|
22
|
-
# Note: this configuration will only have an effect in repositories that have
|
|
23
|
-
# submodules.
|
|
24
|
-
- package-ecosystem: "gitsubmodule"
|
|
25
|
-
directory: "/"
|
|
26
|
-
schedule:
|
|
27
|
-
interval: "weekly"
|
|
28
|
-
labels:
|
|
29
|
-
- "_bot"
|
|
30
|
-
- "dependencies"
|
|
31
|
-
|
|
32
|
-
# In repo settings, we have configured dependabot to open PRs for security updates.
|
|
33
|
-
# Here, we configure dependabot to open version update PRs for only patch and minor versions of javascript / npm dependencies,
|
|
34
|
-
# and configure labels for both types of dependabot PRs.
|
|
35
|
-
# Note: this configuration will only have an effect in repositories that have
|
|
36
|
-
# a package.json file / use npm.
|
|
37
|
-
- package-ecosystem: "npm"
|
|
38
|
-
directory: "/"
|
|
39
|
-
schedule:
|
|
40
|
-
interval: "weekly"
|
|
41
|
-
# This setting asks dependabot to group PRs for version updates of all development or production dependencies
|
|
42
|
-
# into single PRs to reduce the total number of PRs opened.
|
|
43
|
-
groups:
|
|
44
|
-
production-dependencies:
|
|
45
|
-
applies-to: version-updates
|
|
46
|
-
dependency-type: "production"
|
|
47
|
-
development-dependencies:
|
|
48
|
-
applies-to: version-updates
|
|
49
|
-
dependency-type: "development"
|
|
50
|
-
# We ignore all major version updates of dependencies.
|
|
51
|
-
# The idea is that we only bump major versions manually or if doing
|
|
52
|
-
# so addresses a security vulnerability.
|
|
53
|
-
ignore:
|
|
54
|
-
- dependency-name: "*"
|
|
55
|
-
update-types: ["version-update:semver-major"]
|
|
56
|
-
labels:
|
|
57
|
-
- "_bot"
|
|
58
|
-
- "dependencies"
|
|
59
|
-
|
|
60
|
-
# In repo settings we have configured dependabot to open PRs for security updates.
|
|
61
|
-
# Here we configure custom labels to be applied to security update PRs,
|
|
62
|
-
# while still preventing regular version update PRs.
|
|
63
|
-
# See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file
|
|
64
|
-
# Note: this configuration only has an effect in repositories that have
|
|
65
|
-
# a requirements.txt file / use python / pip.
|
|
66
|
-
- package-ecosystem: "pip"
|
|
67
|
-
directory: "/"
|
|
68
|
-
schedule:
|
|
69
|
-
interval: "weekly"
|
|
70
|
-
# This setting instructs dependabot to not open PRs for version updates
|
|
71
|
-
# but to still open PRs for security vulnerabilities.
|
|
72
|
-
open-pull-requests-limit: 0
|
|
73
|
-
labels:
|
|
74
|
-
- "_bot"
|
|
1
|
+
# This is a centrally maintained dependabot configuration file
|
|
2
|
+
# that is applied to all repositories in the neurobagel organization.
|
|
3
|
+
# Do not make changes to this file directly. Instead, make changes
|
|
4
|
+
# to the template file in the workflows: https://github.com/neurobagel/workflows/tree/main/template_workflows/dependabot.yml
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
|
|
9
|
+
# We instruct dependabot to open PRs if a newer version
|
|
10
|
+
# of a github action has been released.
|
|
11
|
+
- package-ecosystem: "github-actions"
|
|
12
|
+
directory: "/"
|
|
13
|
+
schedule:
|
|
14
|
+
interval: "weekly"
|
|
15
|
+
labels:
|
|
16
|
+
- "_bot"
|
|
17
|
+
- "dependencies"
|
|
18
|
+
|
|
19
|
+
# We instruct dependabot to open PRs whenever the HEAD of
|
|
20
|
+
# of a submodule repository has advanced beyond what our submodule
|
|
21
|
+
# is currently tracking.
|
|
22
|
+
# Note: this configuration will only have an effect in repositories that have
|
|
23
|
+
# submodules.
|
|
24
|
+
- package-ecosystem: "gitsubmodule"
|
|
25
|
+
directory: "/"
|
|
26
|
+
schedule:
|
|
27
|
+
interval: "weekly"
|
|
28
|
+
labels:
|
|
29
|
+
- "_bot"
|
|
30
|
+
- "dependencies"
|
|
31
|
+
|
|
32
|
+
# In repo settings, we have configured dependabot to open PRs for security updates.
|
|
33
|
+
# Here, we configure dependabot to open version update PRs for only patch and minor versions of javascript / npm dependencies,
|
|
34
|
+
# and configure labels for both types of dependabot PRs.
|
|
35
|
+
# Note: this configuration will only have an effect in repositories that have
|
|
36
|
+
# a package.json file / use npm.
|
|
37
|
+
- package-ecosystem: "npm"
|
|
38
|
+
directory: "/"
|
|
39
|
+
schedule:
|
|
40
|
+
interval: "weekly"
|
|
41
|
+
# This setting asks dependabot to group PRs for version updates of all development or production dependencies
|
|
42
|
+
# into single PRs to reduce the total number of PRs opened.
|
|
43
|
+
groups:
|
|
44
|
+
production-dependencies:
|
|
45
|
+
applies-to: version-updates
|
|
46
|
+
dependency-type: "production"
|
|
47
|
+
development-dependencies:
|
|
48
|
+
applies-to: version-updates
|
|
49
|
+
dependency-type: "development"
|
|
50
|
+
# We ignore all major version updates of dependencies.
|
|
51
|
+
# The idea is that we only bump major versions manually or if doing
|
|
52
|
+
# so addresses a security vulnerability.
|
|
53
|
+
ignore:
|
|
54
|
+
- dependency-name: "*"
|
|
55
|
+
update-types: ["version-update:semver-major"]
|
|
56
|
+
labels:
|
|
57
|
+
- "_bot"
|
|
58
|
+
- "dependencies"
|
|
59
|
+
|
|
60
|
+
# In repo settings we have configured dependabot to open PRs for security updates.
|
|
61
|
+
# Here we configure custom labels to be applied to security update PRs,
|
|
62
|
+
# while still preventing regular version update PRs.
|
|
63
|
+
# See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file
|
|
64
|
+
# Note: this configuration only has an effect in repositories that have
|
|
65
|
+
# a requirements.txt file / use python / pip.
|
|
66
|
+
- package-ecosystem: "pip"
|
|
67
|
+
directory: "/"
|
|
68
|
+
schedule:
|
|
69
|
+
interval: "weekly"
|
|
70
|
+
# This setting instructs dependabot to not open PRs for version updates
|
|
71
|
+
# but to still open PRs for security vulnerabilities.
|
|
72
|
+
open-pull-requests-limit: 0
|
|
73
|
+
labels:
|
|
74
|
+
- "_bot"
|
|
75
75
|
- "dependencies"
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<!--- Until this PR is ready for review, you can include [WIP] in the title, or create a draft PR. -->
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<!---
|
|
5
|
-
Below is a suggested pull request template. Feel free to add more details you feel are relevant/necessary.
|
|
6
|
-
|
|
7
|
-
For more info on the Neurobagel PR process and other contributing guidelines, see https://neurobagel.org/contributing/CONTRIBUTING/.
|
|
8
|
-
-->
|
|
9
|
-
|
|
10
|
-
<!--
|
|
11
|
-
Please indicate after the # which issue you're closing with this PR, if applicable.
|
|
12
|
-
If the PR closes multiple issues, include "closes" before each one is listed.
|
|
13
|
-
You can also link to other issues if necessary, e.g. "See also #1234".
|
|
14
|
-
|
|
15
|
-
https://help.github.com/articles/closing-issues-using-keywords
|
|
16
|
-
-->
|
|
17
|
-
- Closes #
|
|
18
|
-
|
|
19
|
-
<!--
|
|
20
|
-
Please give a brief overview of what has changed or been added in the PR.
|
|
21
|
-
This can include anything specific the maintainers should be looking for when they review the PR.
|
|
22
|
-
-->
|
|
23
|
-
Changes proposed in this pull request:
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
<!-- To be checked off by reviewers -->
|
|
29
|
-
## Checklist
|
|
30
|
-
_This section is for the PR reviewer_
|
|
31
|
-
|
|
32
|
-
- [ ] PR has an interpretable title with a prefix (`[ENH]`, `[FIX]`, `[REF]`, `[TST]`, `[CI]`, `[MNT]`, `[INF]`, `[MODEL]`, `[DOC]`) _(see our [Contributing Guidelines](https://neurobagel.org/contributing/CONTRIBUTING#pull-request-guidelines) for more info)_
|
|
33
|
-
- [ ] PR has a label for the release changelog or `skip-release` (to be applied by maintainers only)
|
|
34
|
-
- [ ] PR links to GitHub issue with mention `Closes #XXXX`
|
|
35
|
-
- [ ] Tests pass
|
|
36
|
-
- [ ] Checks pass
|
|
37
|
-
|
|
38
|
-
For new features:
|
|
39
|
-
- [ ] Tests have been added
|
|
40
|
-
|
|
41
|
-
For bug fixes:
|
|
42
|
-
- [ ] There is at least one test that would fail under the original bug conditions.
|
|
1
|
+
<!--- Until this PR is ready for review, you can include [WIP] in the title, or create a draft PR. -->
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
<!---
|
|
5
|
+
Below is a suggested pull request template. Feel free to add more details you feel are relevant/necessary.
|
|
6
|
+
|
|
7
|
+
For more info on the Neurobagel PR process and other contributing guidelines, see https://neurobagel.org/contributing/CONTRIBUTING/.
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
Please indicate after the # which issue you're closing with this PR, if applicable.
|
|
12
|
+
If the PR closes multiple issues, include "closes" before each one is listed.
|
|
13
|
+
You can also link to other issues if necessary, e.g. "See also #1234".
|
|
14
|
+
|
|
15
|
+
https://help.github.com/articles/closing-issues-using-keywords
|
|
16
|
+
-->
|
|
17
|
+
- Closes #
|
|
18
|
+
|
|
19
|
+
<!--
|
|
20
|
+
Please give a brief overview of what has changed or been added in the PR.
|
|
21
|
+
This can include anything specific the maintainers should be looking for when they review the PR.
|
|
22
|
+
-->
|
|
23
|
+
Changes proposed in this pull request:
|
|
24
|
+
|
|
25
|
+
-
|
|
26
|
+
-
|
|
27
|
+
|
|
28
|
+
<!-- To be checked off by reviewers -->
|
|
29
|
+
## Checklist
|
|
30
|
+
_This section is for the PR reviewer_
|
|
31
|
+
|
|
32
|
+
- [ ] PR has an interpretable title with a prefix (`[ENH]`, `[FIX]`, `[REF]`, `[TST]`, `[CI]`, `[MNT]`, `[INF]`, `[MODEL]`, `[DOC]`) _(see our [Contributing Guidelines](https://neurobagel.org/contributing/CONTRIBUTING#pull-request-guidelines) for more info)_
|
|
33
|
+
- [ ] PR has a label for the release changelog or `skip-release` (to be applied by maintainers only)
|
|
34
|
+
- [ ] PR links to GitHub issue with mention `Closes #XXXX`
|
|
35
|
+
- [ ] Tests pass
|
|
36
|
+
- [ ] Checks pass
|
|
37
|
+
|
|
38
|
+
For new features:
|
|
39
|
+
- [ ] Tests have been added
|
|
40
|
+
|
|
41
|
+
For bug fixes:
|
|
42
|
+
- [ ] There is at least one test that would fail under the original bug conditions.
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
name: Add new issues to project
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
issues:
|
|
5
|
-
types:
|
|
6
|
-
- opened
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
add-to-project:
|
|
10
|
-
name: Add issue to project
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
steps:
|
|
13
|
-
- name: Generate a token
|
|
14
|
-
id: generate-token
|
|
15
|
-
uses: actions/create-github-app-token@v2
|
|
16
|
-
with:
|
|
17
|
-
app-id: ${{ vars.NB_BOT_ID }}
|
|
18
|
-
private-key: ${{ secrets.NB_BOT_KEY }}
|
|
19
|
-
|
|
20
|
-
- uses: actions/add-to-project@main
|
|
21
|
-
with:
|
|
22
|
-
project-url: https://github.com/orgs/neurobagel/projects/1
|
|
23
|
-
github-token: ${{ steps.generate-token.outputs.token }}
|
|
1
|
+
name: Add new issues to project
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issues:
|
|
5
|
+
types:
|
|
6
|
+
- opened
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
add-to-project:
|
|
10
|
+
name: Add issue to project
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Generate a token
|
|
14
|
+
id: generate-token
|
|
15
|
+
uses: actions/create-github-app-token@v2
|
|
16
|
+
with:
|
|
17
|
+
app-id: ${{ vars.NB_BOT_ID }}
|
|
18
|
+
private-key: ${{ secrets.NB_BOT_KEY }}
|
|
19
|
+
|
|
20
|
+
- uses: actions/add-to-project@main
|
|
21
|
+
with:
|
|
22
|
+
project-url: https://github.com/orgs/neurobagel/projects/1
|
|
23
|
+
github-token: ${{ steps.generate-token.outputs.token }}
|