gitlab-projects-settings 6.1.1__tar.gz → 6.3.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.
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.coveragerc +4 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.cz.yaml +1 -1
- gitlab_projects_settings-6.3.0/.gitlab-ci.yml +499 -0
- gitlab_projects_settings-6.3.0/.gitmodules +4 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.pre-commit-config.yaml +24 -6
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.vscode/extensions.json +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.vscode/settings.json +7 -9
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/CHANGELOG.md +116 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/LICENSE +1 -1
- {gitlab_projects_settings-6.1.1/gitlab_projects_settings.egg-info → gitlab_projects_settings-6.3.0}/PKG-INFO +7 -3
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/README.md +2 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/pages/Dockerfile +4 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/rehost/images.txt +3 -3
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/.pages.in +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/prepare.sh +8 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0/gitlab_projects_settings.egg-info}/PKG-INFO +7 -3
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/gitlab_projects_settings.egg-info/SOURCES.txt +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/gitlab_projects_settings.egg-info/requires.txt +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/mkdocs.yml +4 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/pages.txt +1 -0
- gitlab_projects_settings-6.3.0/requirements/quality.txt +6 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/runtime.txt +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/setup.py +1 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/sonar-project.properties +1 -1
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/cli/entrypoint.py +117 -52
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/cli/main.py +3 -2
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/features/gitlab.py +57 -13
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/package/version.py +10 -4
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/system/platform.py +4 -4
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/types/strings.py +0 -9
- gitlab_projects_settings-6.1.1/.gitlab-ci.yml +0 -930
- gitlab_projects_settings-6.1.1/requirements/quality.txt +0 -6
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.gitattributes +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.gitignore +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.markdownlint.json +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/.style.yapf +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/config/cliff.toml +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/build/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/codestyle/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/deploy/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/test-coverage-linux/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/test-coverage-windows/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/containers/test-linux/Dockerfile +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/assets/images/favicon.png +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/assets/scripts/mkdocs-exporter.js +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/assets/stylesheets/custom.css +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/assets/stylesheets/pdf.scss +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/robots.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/templates/covers/back.html.j2 +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/docs/templates/covers/front.html.j2 +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/gitlab_projects_settings.egg-info/dependency_links.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/gitlab_projects_settings.egg-info/entry_points.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/gitlab_projects_settings.egg-info/top_level.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/mypy.ini +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/build.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/coverage.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/deploy.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/requirements/tests.txt +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/setup.cfg +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/__main__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/cli/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/features/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/package/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/package/bundle.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/package/settings.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/package/updates.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/prints/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/prints/boxes.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/prints/colors.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/prints/themes.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/system/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/types/__init__.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/types/environments.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/types/gitlab.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/src/types/namespaces.py +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/arguments/test.sh +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/colors/test.sh +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/macos/test.sh +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/settings/test.sh +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/versions/test.sh +0 -0
- {gitlab_projects_settings-6.1.1 → gitlab_projects_settings-6.3.0}/tests/windows/test.sh +0 -0
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
include:
|
|
2
|
+
- component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@5.0.0
|
|
3
|
+
inputs:
|
|
4
|
+
stage: prepare
|
|
5
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
6
|
+
file: /templates/clean.yml
|
|
7
|
+
ref: main
|
|
8
|
+
inputs:
|
|
9
|
+
stage: development
|
|
10
|
+
paths: ./build ./dist ./*.egg-info ./.eggs
|
|
11
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
12
|
+
file: /templates/changelog.yml
|
|
13
|
+
ref: main
|
|
14
|
+
inputs:
|
|
15
|
+
stage: development
|
|
16
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
17
|
+
file: /templates/registry.yml
|
|
18
|
+
ref: main
|
|
19
|
+
inputs:
|
|
20
|
+
stage: registry
|
|
21
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
22
|
+
file: /templates/python-codestyle.yml
|
|
23
|
+
ref: main
|
|
24
|
+
inputs:
|
|
25
|
+
stage: prepare
|
|
26
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
27
|
+
paths: ./src/*.py ./src/*/*.py ./setup.py
|
|
28
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
29
|
+
file: /templates/python-lint.yml
|
|
30
|
+
ref: main
|
|
31
|
+
inputs:
|
|
32
|
+
stage: prepare
|
|
33
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
34
|
+
paths: ./src/ ./setup.py
|
|
35
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
36
|
+
file: /templates/python-typings.yml
|
|
37
|
+
ref: main
|
|
38
|
+
inputs:
|
|
39
|
+
stage: prepare
|
|
40
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:codestyle
|
|
41
|
+
paths: ./src/ ./setup.py
|
|
42
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
43
|
+
file: /templates/python-build.yml
|
|
44
|
+
ref: main
|
|
45
|
+
inputs:
|
|
46
|
+
stage: build
|
|
47
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:build
|
|
48
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
49
|
+
file: /templates/python-install.yml
|
|
50
|
+
ref: main
|
|
51
|
+
inputs:
|
|
52
|
+
stage: build
|
|
53
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
54
|
+
file: /templates/python-readme.yml
|
|
55
|
+
ref: main
|
|
56
|
+
inputs:
|
|
57
|
+
stage: build
|
|
58
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
59
|
+
file: /templates/python-test.yml
|
|
60
|
+
ref: main
|
|
61
|
+
inputs:
|
|
62
|
+
stage: test
|
|
63
|
+
package: gitlab-projects-settings
|
|
64
|
+
timeout: 10m
|
|
65
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
66
|
+
file: /templates/python-coverage.yml
|
|
67
|
+
ref: main
|
|
68
|
+
inputs:
|
|
69
|
+
stage: test
|
|
70
|
+
package: gitlab-projects-settings
|
|
71
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
72
|
+
file: /templates/python-quality.yml
|
|
73
|
+
ref: main
|
|
74
|
+
inputs:
|
|
75
|
+
stage: quality
|
|
76
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-linux
|
|
77
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
78
|
+
file: /templates/sonarcloud.yml
|
|
79
|
+
ref: main
|
|
80
|
+
inputs:
|
|
81
|
+
stage: quality
|
|
82
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/sonarsource/sonar-scanner-cli:latest
|
|
83
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
84
|
+
file: /templates/python-deploy.yml
|
|
85
|
+
ref: main
|
|
86
|
+
inputs:
|
|
87
|
+
stage: deploy
|
|
88
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:deploy
|
|
89
|
+
- project: RadianDevCore/gitlab-ci/components
|
|
90
|
+
file: /templates/pages.yml
|
|
91
|
+
ref: main
|
|
92
|
+
inputs:
|
|
93
|
+
stage: deploy
|
|
94
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:pages
|
|
95
|
+
pdf: gitlab-projects-settings
|
|
96
|
+
watch: ./config/* ./docs/.* ./docs/* ./mkdocs.yml ./README.md
|
|
97
|
+
|
|
98
|
+
stages:
|
|
99
|
+
- development
|
|
100
|
+
- registry
|
|
101
|
+
- prepare
|
|
102
|
+
- build
|
|
103
|
+
- test
|
|
104
|
+
- quality
|
|
105
|
+
- deploy
|
|
106
|
+
|
|
107
|
+
variables:
|
|
108
|
+
CI_LOCAL_ENGINE: 'docker,auto'
|
|
109
|
+
CI_LOCAL_REAL_PATHS: 'true'
|
|
110
|
+
CI_LOCAL_SOCKETS: 'true'
|
|
111
|
+
REGISTRY_HOST: registry.gitlab.com
|
|
112
|
+
REGISTRY_NAMESPACE: radiandevcore/tools
|
|
113
|
+
REGISTRY_PROJECT: gitlab-projects-settings
|
|
114
|
+
|
|
115
|
+
.local:
|
|
116
|
+
include:
|
|
117
|
+
'RadianDevCore/gitlab-ci/components': '.gitlab-ci.d'
|
|
118
|
+
no_regex: true
|
|
119
|
+
version: 12.0
|
|
120
|
+
volumes:
|
|
121
|
+
- ${HOME}/.docker/config.json:/root/.docker/config.json:ro
|
|
122
|
+
|
|
123
|
+
registry:build:
|
|
124
|
+
extends:
|
|
125
|
+
- .registry:container
|
|
126
|
+
variables:
|
|
127
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
128
|
+
CONTAINER_FOLDER: build
|
|
129
|
+
CONTAINER_IMAGE_TAG: build
|
|
130
|
+
rules:
|
|
131
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
132
|
+
changes:
|
|
133
|
+
- containers/build/Dockerfile
|
|
134
|
+
- containers/rehost/images.txt
|
|
135
|
+
- requirements/build.txt
|
|
136
|
+
- requirements/runtime.txt
|
|
137
|
+
|
|
138
|
+
registry:codestyle:
|
|
139
|
+
extends:
|
|
140
|
+
- .registry:container
|
|
141
|
+
variables:
|
|
142
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
143
|
+
CONTAINER_FOLDER: codestyle
|
|
144
|
+
CONTAINER_IMAGE_TAG: codestyle
|
|
145
|
+
rules:
|
|
146
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
147
|
+
changes:
|
|
148
|
+
- containers/codestyle/Dockerfile
|
|
149
|
+
- containers/rehost/images.txt
|
|
150
|
+
- requirements/quality.txt
|
|
151
|
+
- requirements/runtime.txt
|
|
152
|
+
- requirements/tests.txt
|
|
153
|
+
|
|
154
|
+
registry:deploy:
|
|
155
|
+
extends:
|
|
156
|
+
- .registry:container
|
|
157
|
+
variables:
|
|
158
|
+
BASEIMAGE_NAME: python:3.13-alpine
|
|
159
|
+
CONTAINER_FOLDER: deploy
|
|
160
|
+
CONTAINER_IMAGE_TAG: deploy
|
|
161
|
+
rules:
|
|
162
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
163
|
+
changes:
|
|
164
|
+
- containers/deploy/Dockerfile
|
|
165
|
+
- containers/rehost/images.txt
|
|
166
|
+
- requirements/deploy.txt
|
|
167
|
+
|
|
168
|
+
registry:pages:
|
|
169
|
+
extends:
|
|
170
|
+
- .registry:container
|
|
171
|
+
variables:
|
|
172
|
+
BASEIMAGE_NAME: python:3.13-slim
|
|
173
|
+
CONTAINER_FOLDER: pages
|
|
174
|
+
CONTAINER_IMAGE_TAG: pages
|
|
175
|
+
rules:
|
|
176
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
177
|
+
changes:
|
|
178
|
+
- containers/pages/Dockerfile
|
|
179
|
+
- containers/rehost/images.txt
|
|
180
|
+
- requirements/coverage.txt
|
|
181
|
+
- requirements/pages.txt
|
|
182
|
+
|
|
183
|
+
registry:test-coverage-linux:
|
|
184
|
+
extends:
|
|
185
|
+
- .registry:container
|
|
186
|
+
variables:
|
|
187
|
+
BASEIMAGE_NAME: python:3.13
|
|
188
|
+
CONTAINER_FOLDER: test-coverage-linux
|
|
189
|
+
CONTAINER_IMAGE_TAG: test-coverage-linux
|
|
190
|
+
rules:
|
|
191
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
192
|
+
changes:
|
|
193
|
+
- containers/rehost/images.txt
|
|
194
|
+
- containers/test-coverage-linux/Dockerfile
|
|
195
|
+
- requirements/coverage.txt
|
|
196
|
+
- requirements/runtime.txt
|
|
197
|
+
- requirements/tests.txt
|
|
198
|
+
|
|
199
|
+
registry:test-coverage-windows:
|
|
200
|
+
extends:
|
|
201
|
+
- .registry:container
|
|
202
|
+
variables:
|
|
203
|
+
BASEIMAGE_NAME: tobix/pywine:3.10
|
|
204
|
+
CONTAINER_FOLDER: test-coverage-windows
|
|
205
|
+
CONTAINER_IMAGE_TAG: test-coverage-windows
|
|
206
|
+
rules:
|
|
207
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
208
|
+
changes:
|
|
209
|
+
- containers/rehost/images.txt
|
|
210
|
+
- containers/test-coverage-windows/Dockerfile
|
|
211
|
+
- requirements/coverage.txt
|
|
212
|
+
- requirements/runtime.txt
|
|
213
|
+
- requirements/tests.txt
|
|
214
|
+
|
|
215
|
+
registry:test-oldest:
|
|
216
|
+
extends:
|
|
217
|
+
- .registry:container
|
|
218
|
+
variables:
|
|
219
|
+
BASEIMAGE_NAME: python:3.8
|
|
220
|
+
CONTAINER_FOLDER: test-linux
|
|
221
|
+
CONTAINER_IMAGE_TAG: test-oldest
|
|
222
|
+
rules:
|
|
223
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
224
|
+
changes:
|
|
225
|
+
- containers/rehost/images.txt
|
|
226
|
+
- containers/test-linux/Dockerfile
|
|
227
|
+
- requirements/tests.txt
|
|
228
|
+
|
|
229
|
+
registry:test-latest:
|
|
230
|
+
extends:
|
|
231
|
+
- .registry:container
|
|
232
|
+
variables:
|
|
233
|
+
BASEIMAGE_NAME: python:3.13
|
|
234
|
+
CONTAINER_FOLDER: test-linux
|
|
235
|
+
CONTAINER_IMAGE_TAG: test-latest
|
|
236
|
+
rules:
|
|
237
|
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
238
|
+
changes:
|
|
239
|
+
- containers/rehost/images.txt
|
|
240
|
+
- containers/test-linux/Dockerfile
|
|
241
|
+
- requirements/tests.txt
|
|
242
|
+
|
|
243
|
+
codestyle:
|
|
244
|
+
needs:
|
|
245
|
+
- job: registry:codestyle
|
|
246
|
+
artifacts: false
|
|
247
|
+
optional: true
|
|
248
|
+
rules:
|
|
249
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
250
|
+
changes:
|
|
251
|
+
- 'CHANGELOG.md'
|
|
252
|
+
- 'requirements/**/*'
|
|
253
|
+
- 'setup.py'
|
|
254
|
+
- 'src/**/*'
|
|
255
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
256
|
+
when: on_success
|
|
257
|
+
|
|
258
|
+
lint:
|
|
259
|
+
needs:
|
|
260
|
+
- job: registry:codestyle
|
|
261
|
+
artifacts: false
|
|
262
|
+
optional: true
|
|
263
|
+
rules:
|
|
264
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
265
|
+
changes:
|
|
266
|
+
- 'CHANGELOG.md'
|
|
267
|
+
- 'requirements/**/*'
|
|
268
|
+
- 'setup.py'
|
|
269
|
+
- 'src/**/*'
|
|
270
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
271
|
+
when: on_success
|
|
272
|
+
|
|
273
|
+
typings:
|
|
274
|
+
needs:
|
|
275
|
+
- job: registry:codestyle
|
|
276
|
+
artifacts: false
|
|
277
|
+
optional: true
|
|
278
|
+
rules:
|
|
279
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
280
|
+
changes:
|
|
281
|
+
- 'CHANGELOG.md'
|
|
282
|
+
- 'requirements/**/*'
|
|
283
|
+
- 'setup.py'
|
|
284
|
+
- 'src/**/*'
|
|
285
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
286
|
+
when: on_success
|
|
287
|
+
|
|
288
|
+
build:
|
|
289
|
+
extends:
|
|
290
|
+
- .build
|
|
291
|
+
needs:
|
|
292
|
+
- job: registry:build
|
|
293
|
+
artifacts: false
|
|
294
|
+
optional: true
|
|
295
|
+
- job: codestyle
|
|
296
|
+
artifacts: false
|
|
297
|
+
optional: true
|
|
298
|
+
- job: commits
|
|
299
|
+
artifacts: false
|
|
300
|
+
optional: true
|
|
301
|
+
- job: lint
|
|
302
|
+
artifacts: false
|
|
303
|
+
optional: true
|
|
304
|
+
- job: typings
|
|
305
|
+
artifacts: false
|
|
306
|
+
optional: true
|
|
307
|
+
rules:
|
|
308
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
309
|
+
changes:
|
|
310
|
+
- 'CHANGELOG.md'
|
|
311
|
+
- 'requirements/**/*'
|
|
312
|
+
- 'src/**/*'
|
|
313
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
314
|
+
when: on_success
|
|
315
|
+
|
|
316
|
+
.test:rules:
|
|
317
|
+
rules:
|
|
318
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
319
|
+
changes:
|
|
320
|
+
- 'CHANGELOG.md'
|
|
321
|
+
- 'requirements/**/*'
|
|
322
|
+
- 'src/**/*'
|
|
323
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
324
|
+
when: on_success
|
|
325
|
+
|
|
326
|
+
.coverage:rules:
|
|
327
|
+
rules:
|
|
328
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
329
|
+
changes:
|
|
330
|
+
- 'CHANGELOG.md'
|
|
331
|
+
- 'requirements/**/*'
|
|
332
|
+
- 'sonar-project.properties'
|
|
333
|
+
- 'src/**/*'
|
|
334
|
+
- 'tests/**/*'
|
|
335
|
+
- if: $CI_COMMIT_TAG || $CI_PIPELINE_SOURCE == "trigger" || $CI_PIPELINE_SOURCE == "web" || $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
|
|
336
|
+
when: on_success
|
|
337
|
+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
338
|
+
when: always
|
|
339
|
+
|
|
340
|
+
coverage:linux:
|
|
341
|
+
extends:
|
|
342
|
+
- .coverage:template
|
|
343
|
+
- .coverage:rules
|
|
344
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-linux
|
|
345
|
+
needs:
|
|
346
|
+
- job: registry:test-coverage-linux
|
|
347
|
+
artifacts: false
|
|
348
|
+
optional: true
|
|
349
|
+
variables:
|
|
350
|
+
COVERAGE_EXCLUDE_ALSO: 'pragma: macos cover|pragma: windows cover'
|
|
351
|
+
COVERAGE_FILE: ${CI_PROJECT_DIR}/coverage-reports/.coverage-linux
|
|
352
|
+
COVERAGE_XML: ${CI_PROJECT_DIR}/coverage-reports/coverage-linux.xml
|
|
353
|
+
|
|
354
|
+
coverage:windows:
|
|
355
|
+
extends:
|
|
356
|
+
- .coverage:template
|
|
357
|
+
- .coverage:rules
|
|
358
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-coverage-windows
|
|
359
|
+
needs:
|
|
360
|
+
- job: registry:test-coverage-windows
|
|
361
|
+
artifacts: false
|
|
362
|
+
optional: true
|
|
363
|
+
variables:
|
|
364
|
+
COVERAGE_FILE: ${CI_PROJECT_DIR}/coverage-reports/.coverage-windows
|
|
365
|
+
COVERAGE_EXCLUDE_ALSO: 'pragma: linux cover|pragma: macos cover'
|
|
366
|
+
COVERAGE_XML: ${CI_PROJECT_DIR}/coverage-reports/coverage-windows.xml
|
|
367
|
+
SUITE: 'colors\|versions\|windows'
|
|
368
|
+
|
|
369
|
+
py3.8:
|
|
370
|
+
extends:
|
|
371
|
+
- .test:template
|
|
372
|
+
- .test:rules
|
|
373
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-oldest
|
|
374
|
+
before_script:
|
|
375
|
+
# Inherit before_script
|
|
376
|
+
- !reference ['.test:template', before_script]
|
|
377
|
+
|
|
378
|
+
py3.13:
|
|
379
|
+
extends:
|
|
380
|
+
- .test:template
|
|
381
|
+
- .test:rules
|
|
382
|
+
image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:test-latest
|
|
383
|
+
before_script:
|
|
384
|
+
# Inherit before_script
|
|
385
|
+
- !reference ['.test:template', before_script]
|
|
386
|
+
|
|
387
|
+
quality:coverage:
|
|
388
|
+
needs:
|
|
389
|
+
- job: registry:test-coverage-linux
|
|
390
|
+
artifacts: false
|
|
391
|
+
optional: true
|
|
392
|
+
- job: coverage:linux
|
|
393
|
+
- job: coverage:windows
|
|
394
|
+
variables:
|
|
395
|
+
COVERAGE_FILE: !reference ['.coverage:scripts', variables, COVERAGE_COMMON_FILE]
|
|
396
|
+
COVERAGE_RCFILE: !reference ['.coverage:scripts', variables, COVERAGE_RCFILE]
|
|
397
|
+
rules: !reference ['.coverage:rules', rules]
|
|
398
|
+
|
|
399
|
+
quality:sonarcloud:
|
|
400
|
+
needs:
|
|
401
|
+
- job: registry:rehost
|
|
402
|
+
artifacts: false
|
|
403
|
+
optional: true
|
|
404
|
+
- job: coverage:linux
|
|
405
|
+
- job: coverage:windows
|
|
406
|
+
rules:
|
|
407
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
408
|
+
changes:
|
|
409
|
+
- 'CHANGELOG.md'
|
|
410
|
+
- 'requirements/**/*'
|
|
411
|
+
- 'sonar-project.properties'
|
|
412
|
+
- 'src/**/*'
|
|
413
|
+
- 'tests/**/*'
|
|
414
|
+
when: always
|
|
415
|
+
- if: $CI_COMMIT_REF_NAME == "main"
|
|
416
|
+
when: always
|
|
417
|
+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
|
418
|
+
when: always
|
|
419
|
+
- when: never
|
|
420
|
+
|
|
421
|
+
deploy:release:
|
|
422
|
+
needs:
|
|
423
|
+
- job: registry:deploy
|
|
424
|
+
artifacts: false
|
|
425
|
+
optional: true
|
|
426
|
+
- job: build
|
|
427
|
+
- job: coverage:linux
|
|
428
|
+
artifacts: false
|
|
429
|
+
- job: coverage:windows
|
|
430
|
+
artifacts: false
|
|
431
|
+
- job: py3.8
|
|
432
|
+
artifacts: false
|
|
433
|
+
- job: py3.13
|
|
434
|
+
artifacts: false
|
|
435
|
+
|
|
436
|
+
deploy:trial:
|
|
437
|
+
needs:
|
|
438
|
+
- job: registry:deploy
|
|
439
|
+
artifacts: false
|
|
440
|
+
optional: true
|
|
441
|
+
- job: build
|
|
442
|
+
- job: coverage:linux
|
|
443
|
+
artifacts: false
|
|
444
|
+
- job: coverage:windows
|
|
445
|
+
artifacts: false
|
|
446
|
+
- job: py3.8
|
|
447
|
+
artifacts: false
|
|
448
|
+
- job: py3.13
|
|
449
|
+
artifacts: false
|
|
450
|
+
|
|
451
|
+
.pages:rules:
|
|
452
|
+
rules:
|
|
453
|
+
changes:
|
|
454
|
+
- '.gitlab-ci.yml'
|
|
455
|
+
- 'CHANGELOG.md'
|
|
456
|
+
- 'mkdocs.yml'
|
|
457
|
+
- 'LICENSE'
|
|
458
|
+
- 'README.md'
|
|
459
|
+
- 'docs/**/*'
|
|
460
|
+
- 'requirements/**/*'
|
|
461
|
+
|
|
462
|
+
pages:
|
|
463
|
+
extends:
|
|
464
|
+
- .pages
|
|
465
|
+
needs:
|
|
466
|
+
- job: registry:pages
|
|
467
|
+
artifacts: false
|
|
468
|
+
optional: true
|
|
469
|
+
- job: build
|
|
470
|
+
artifacts: false
|
|
471
|
+
optional: true
|
|
472
|
+
- job: py3.8
|
|
473
|
+
artifacts: false
|
|
474
|
+
optional: true
|
|
475
|
+
- job: py3.13
|
|
476
|
+
artifacts: false
|
|
477
|
+
optional: true
|
|
478
|
+
- job: quality:coverage
|
|
479
|
+
artifacts: true
|
|
480
|
+
optional: true
|
|
481
|
+
cache:
|
|
482
|
+
key: '${CI_JOB_NAME}'
|
|
483
|
+
paths:
|
|
484
|
+
- coverage-reports/html
|
|
485
|
+
rules:
|
|
486
|
+
- if: $CI_COMMIT_TAG || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
|
487
|
+
changes: !reference ['.pages:rules', rules, changes]
|
|
488
|
+
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_REF_PROTECTED
|
|
489
|
+
changes: !reference ['.pages:rules', rules, changes]
|
|
490
|
+
allow_failure: true
|
|
491
|
+
when: manual
|
|
492
|
+
|
|
493
|
+
pdf:
|
|
494
|
+
extends:
|
|
495
|
+
- pages
|
|
496
|
+
rules:
|
|
497
|
+
- if: $CI_COMMIT_TAG
|
|
498
|
+
- if: $CI_COMMIT_BRANCH
|
|
499
|
+
changes: !reference ['.pages:rules', rules, changes]
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
# pre-commit configurations
|
|
2
2
|
default_install_hook_types:
|
|
3
|
-
-
|
|
3
|
+
- commit-msg
|
|
4
4
|
- pre-commit
|
|
5
5
|
- pre-push
|
|
6
|
-
default_stages:
|
|
7
6
|
- prepare-commit-msg
|
|
7
|
+
default_stages:
|
|
8
|
+
- commit-msg
|
|
8
9
|
- pre-commit
|
|
9
10
|
- pre-push
|
|
11
|
+
- prepare-commit-msg
|
|
10
12
|
minimum_pre_commit_version: 3.8.0
|
|
11
13
|
|
|
12
14
|
# pre-commit exclusions
|
|
13
15
|
exclude: >
|
|
14
16
|
(?x)(
|
|
17
|
+
^archives/|
|
|
18
|
+
\.drawio$|
|
|
15
19
|
\.patch$|
|
|
16
20
|
\.svg$|
|
|
21
|
+
\.vhd$|
|
|
22
|
+
\.xci$|
|
|
23
|
+
\.xdc$|
|
|
17
24
|
eicar\..*$|
|
|
18
25
|
CHANGELOG.md$|
|
|
19
26
|
COPYING.*$|
|
|
20
27
|
LICENSE.*$|
|
|
21
|
-
README
|
|
28
|
+
README\.md$
|
|
22
29
|
)
|
|
23
30
|
|
|
24
31
|
# pre-commit repositories
|
|
@@ -37,6 +44,10 @@ repos:
|
|
|
37
44
|
- id: check-added-large-files
|
|
38
45
|
args: ['--maxkb=500']
|
|
39
46
|
- id: check-case-conflict
|
|
47
|
+
# exclude: >
|
|
48
|
+
# (?x)(
|
|
49
|
+
# \.nmconnection$
|
|
50
|
+
# )
|
|
40
51
|
- id: check-executables-have-shebangs
|
|
41
52
|
- id: check-json
|
|
42
53
|
- id: check-merge-conflict
|
|
@@ -46,12 +57,16 @@ repos:
|
|
|
46
57
|
args: ['--unsafe']
|
|
47
58
|
- id: destroyed-symlinks
|
|
48
59
|
stages: [commit, push, manual] # Issue: https://github.com/pre-commit/pre-commit-hooks/pull/1085
|
|
49
|
-
|
|
60
|
+
- id: detect-private-key
|
|
50
61
|
- id: double-quote-string-fixer
|
|
51
62
|
- id: end-of-file-fixer
|
|
52
63
|
- id: mixed-line-ending
|
|
53
64
|
- id: trailing-whitespace
|
|
54
65
|
args: ['--markdown-linebreak-ext=md']
|
|
66
|
+
# exclude: >
|
|
67
|
+
# (?x)(
|
|
68
|
+
# .*.md$
|
|
69
|
+
# )
|
|
55
70
|
|
|
56
71
|
# Repository: pre-commit-hooks
|
|
57
72
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
@@ -65,6 +80,8 @@ repos:
|
|
|
65
80
|
rev: v3.29.0
|
|
66
81
|
hooks:
|
|
67
82
|
- id: commitizen
|
|
83
|
+
stages:
|
|
84
|
+
- commit-msg
|
|
68
85
|
- id: commitizen-branch
|
|
69
86
|
entry: cz
|
|
70
87
|
args: [--no-raise, '3', check, --rev-range, origin/HEAD..HEAD]
|
|
@@ -73,13 +90,14 @@ repos:
|
|
|
73
90
|
|
|
74
91
|
# Repository: pre-commit-crocodile
|
|
75
92
|
- repo: https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
|
|
76
|
-
rev:
|
|
93
|
+
rev: 5.0.0
|
|
77
94
|
hooks:
|
|
95
|
+
- id: check-yaml-ruamel-pure
|
|
78
96
|
- id: prepare-commit-message
|
|
79
97
|
|
|
80
98
|
# Repository: gcil
|
|
81
99
|
- repo: https://gitlab.com/RadianDevCore/tools/gcil
|
|
82
|
-
rev:
|
|
100
|
+
rev: 11.1.0
|
|
83
101
|
hooks:
|
|
84
102
|
- id: run-gcil-push
|
|
85
103
|
name: Run GitLab CI job with gcil (codestyle)
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"coverage-gutters.coverageFileNames": [
|
|
3
|
+
"coverage-reports/coverage-common.xml"
|
|
4
|
+
],
|
|
5
|
+
"coverage-gutters.showLineCoverage": true,
|
|
6
|
+
"coverage-gutters.showRulerCoverage": true,
|
|
2
7
|
"editor.formatOnSave": true,
|
|
3
8
|
"files.exclude": {
|
|
4
9
|
".scannerwork": true,
|
|
@@ -19,20 +24,13 @@
|
|
|
19
24
|
"telemetry.enableTelemetry": false,
|
|
20
25
|
"terminal.enableAppInsights": false,
|
|
21
26
|
"terminal.integrated.allowChords": false,
|
|
22
|
-
"vscode-coverage-highlighter.coveredColor": "rgba(20, 250, 20, 0.05)",
|
|
23
|
-
"vscode-coverage-highlighter.files": [
|
|
24
|
-
"coverage/coverage-final.json",
|
|
25
|
-
"coverage/lcov*.info",
|
|
26
|
-
"coverage-reports/coverage-common.xml"
|
|
27
|
-
],
|
|
28
|
-
"vscode-coverage-highlighter.unCoveredColor": "rgba(255, 20, 20, 0.3)",
|
|
29
27
|
"workbench.settings.enableNaturalLanguageSearch": false,
|
|
30
28
|
"workbench.enableExperiments": false,
|
|
31
29
|
"yaml.format.singleQuote": true,
|
|
32
30
|
"[markdown]": {
|
|
33
|
-
|
|
31
|
+
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
|
|
34
32
|
},
|
|
35
33
|
"[yaml]": {
|
|
36
|
-
|
|
34
|
+
"editor.defaultFormatter": "redhat.vscode-yaml"
|
|
37
35
|
}
|
|
38
36
|
}
|