Skip to content

Commit 926ee48

Browse files
grstflying-sheeppre-commit-ci[bot]
authored
Add infrastructure packages (#293)
* Add infrastructure packages * Adapt schema * Do not require "install" command for core-infrastructure packages * remove install from corresponding packages * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove sfaira package It is (1) unmaintained (2) doesn't have tests (3) doesn't have CI It was part of the initial set of packages we fast-track added when launching this registry, so it never went through proper review. * WIP infra packages * make version requirement conditional * Retry link checking with backoff * Bring back package spec check * update meta.yaml for infra packages * Update packages/cookiecutter-scverse/meta.yaml Co-authored-by: Philipp A. <flying-sheep@web.de> * Use httpx-retries instead --------- Co-authored-by: Philipp A. <flying-sheep@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent fe777ce commit 926ee48

8 files changed

Lines changed: 109 additions & 6 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: cookiecutter-scverse
2+
description: |
3+
Cookiecutter template for scverse packages offering automated template sync
4+
project_home: https://github.com/scverse/cookiecutter-scverse
5+
documentation_home: https://cookiecutter-scverse-instance.readthedocs.io/en/latest/template_usage.html
6+
tags:
7+
- template
8+
- cookiecutter
9+
license: BSD-3-Clause
10+
version: 0.6.0
11+
contact:
12+
- grst
13+
- flying-sheep
14+
category: core-infrastructure
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: ecosystem-packages
2+
description: |
3+
Registry for scverse ecosystem packages (https://scverse.org/packages/#ecosystem)
4+
project_home: https://github.com/scverse/ecosystem-packages
5+
documentation_home: https://github.com/scverse/ecosystem-packages
6+
tags:
7+
- registry
8+
- ecosystem
9+
license: BSD-3-Clause
10+
contact:
11+
- grst
12+
- flying-sheep
13+
category: core-infrastructure

packages/governance/meta.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: governance
2+
description: |
3+
Governance docs for scverse
4+
project_home: https://github.com/scverse/governance
5+
documentation_home: https://scverse.org/about
6+
tags:
7+
- governance
8+
- documentation
9+
license: BSD-3-Clause
10+
contact:
11+
- Zethson
12+
- gtca
13+
- mikelkou
14+
category: core-infrastructure
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: integration-testing
2+
description: |
3+
A repo for integration testing core packages against upstream core packages
4+
project_home: https://github.com/scverse/integration-testing
5+
documentation_home: https://github.com/scverse/integration-testing
6+
tags:
7+
- testing
8+
- continuous integration
9+
license: MIT
10+
contact:
11+
- ilan-gold
12+
- flying-sheep
13+
category: core-infrastructure
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: scverse-tutorials
2+
description: |
3+
Tutorials and tutorials registry for scverse.org/learn.
4+
project_home: https://github.com/scverse/scverse-tutorials
5+
documentation_home: https://scverse-tutorials.readthedocs.io/en/latest/
6+
tutorials_home: https://scverse-tutorials.readthedocs.io/en/latest/
7+
tags:
8+
- tutorials
9+
- education
10+
- documentation
11+
license: BSD-3-Clause
12+
contact:
13+
- grst
14+
- flying-sheep
15+
category: core-infrastructure
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: scverse.github.io
2+
description: |
3+
scverse.org website
4+
project_home: https://github.com/scverse/scverse.github.io
5+
documentation_home: https://scverse.org
6+
tags:
7+
- website
8+
- documentation
9+
license: BSD-3-Clause
10+
authors:
11+
- gtca
12+
category: core-infrastructure

packages/stats/meta.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: stats
2+
description: |
3+
Statistics for scverse
4+
project_home: https://github.com/scverse/stats
5+
documentation_home: https://scverse.org/stats/
6+
tags:
7+
- statistics
8+
- metrics
9+
license: MIT
10+
authors:
11+
- maltekuehl
12+
- grst
13+
category: core-infrastructure

scripts/src/ecosystem_scripts/schema.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
},
225225
"test_command": {
226226
"description": "A shell command to install the package and execute the tests, assuming you are inside a freshly cloned copy of the package repository. Often this will be `pip install \".[test]\" && pytest`",
227-
"type": ["string", "null"]
227+
"type": ["string"]
228228
},
229229
"category": {
230230
"type": "string",
@@ -242,11 +242,20 @@
242242
"description",
243243
"project_home",
244244
"documentation_home",
245-
"install",
246245
"license",
247246
"tags",
248-
"version",
249-
"category",
250-
"contact"
251-
]
247+
"category"
248+
],
249+
"if": {
250+
"not": {
251+
"properties": {
252+
"category": {
253+
"const": "core-infrastructure"
254+
}
255+
}
256+
}
257+
},
258+
"then": {
259+
"required": ["install", "version"]
260+
}
252261
}

0 commit comments

Comments
 (0)