-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatures.yml
More file actions
129 lines (117 loc) · 3.62 KB
/
Copy pathfeatures.yml
File metadata and controls
129 lines (117 loc) · 3.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
118
119
120
121
122
123
124
125
126
127
128
129
# Features / APIs tracked for adoption across the ecosystem.
# Each entry is a column in the adoption matrix. See SPEC.md §4.3 and §5.4.
#
# detection kinds:
# pin - inspect a dependency version specifier (from requirements.txt)
# python - is a Python version in the resolved support list?
# file - does any of the given paths exist in the repo?
# readme - does the repository README contain any required snippet?
# code - GitHub code search for present/absent patterns
# manual - status comes from repos.yml `feature_overrides`
features:
- id: compas2
label: "On COMPAS 2.x"
kind: pin
applies_to: [python]
detect:
package: compas
satisfied_by: ">=2,<3"
- id: py311
label: "Python 3.11"
kind: python
applies_to: [python]
detect:
version: "3.11"
- id: py312
label: "Python 3.12"
kind: python
applies_to: [python]
detect:
version: "3.12"
- id: py313
label: "Python 3.13"
kind: python
applies_to: [python]
detect:
version: "3.13"
- id: new-scene-api
label: "New Scene API"
kind: code
applies_to: [python]
detect:
# Deprecated Artist usage means the migration is incomplete, even if
# compas.scene is also present. Repos using neither API are likely non-UI
# extensions, so exclude them from this feature's adoption percentage.
language: Python
present:
- "from compas.scene"
- "import compas.scene"
- "from compas import scene"
- "compas.scene."
absent:
- "from compas.artists"
- "import compas.artists"
- "from compas import artists"
- "compas.artists."
no_match: n/a
- id: no-deprecated-artist
label: "No deprecated Artist"
kind: code
applies_to: [python]
detect:
# Restrict this to Python so changelogs/docs discussing the old API do
# not count as live usage.
language: Python
absent:
- "from compas.artists"
- "import compas.artists"
- "from compas import artists"
# Migrated TO MkDocs and AWAY from Sphinx: mkdocs.yml present, no sphinx conf.py.
- id: mkdocs
label: "MkDocs (not Sphinx)"
kind: file
applies_to: [python]
detect:
any_of:
- "mkdocs.yml"
none_of:
- "docs/conf.py"
- "docs/source/conf.py"
- id: invocations2
label: "Uses compas_invocations2"
kind: code
applies_to: [python]
detect:
language: Python
present:
- "compas_invocations2"
- id: compas-actions
label: "Uses compas-actions"
kind: code
applies_to: [python]
detect:
# The unified action repository exposes individual actions as subpaths.
# Legacy repositories used names such as compas-actions.build and
# compas-actions.publish.
language: YAML
present:
- "compas-dev/compas-actions/"
absent:
- "compas-dev/compas-actions."
- id: mission-control-badge
label: "Mission Control badge"
kind: readme
detect:
# Accept either badge style, but require the badge itself to link to the
# tracked repository's detail page in Mission Control.
present:
- "[](https://compas.dev/mission-control/#{name})"
- "[](https://compas.dev/mission-control/#{name})"
# -- deployment / release checks --------------------------------------
- id: pypi-match
label: "Registry = GitHub release"
kind: registry-match
- id: conda-forge
label: "On conda-forge"
kind: conda
applies_to: [python]