gitlab-projects-settings 6.5.0__tar.gz → 6.6.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.
Files changed (91) hide show
  1. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.gitignore +4 -1
  2. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.gitlab-ci.yml +2 -20
  3. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.mise/tasks/menu/gcil +1 -0
  4. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.mise/tasks/sources/changelog +1 -1
  5. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.pre-commit-config.yaml +3 -4
  6. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/CHANGELOG.md +57 -0
  7. {gitlab_projects_settings-6.5.0/gitlab_projects_settings.egg-info → gitlab_projects_settings-6.6.0}/PKG-INFO +12 -6
  8. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/README.md +11 -5
  9. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/conf/git-cliff/cliff.toml +3 -2
  10. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/rehost/images.txt +0 -1
  11. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/assets/scripts/mkdocs-exporter.js +23 -0
  12. gitlab_projects_settings-6.6.0/docs/assets/stylesheets/pdf.css +297 -0
  13. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/prepare.sh +48 -15
  14. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/templates/covers/back.html.j2 +2 -2
  15. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/templates/covers/front.html.j2 +2 -2
  16. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0/gitlab_projects_settings.egg-info}/PKG-INFO +12 -6
  17. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/SOURCES.txt +1 -3
  18. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/scm_file_list.json +1 -3
  19. gitlab_projects_settings-6.6.0/gitlab_projects_settings.egg-info/scm_version.json +8 -0
  20. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/mise.toml +2 -0
  21. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/mkdocs.yml +10 -5
  22. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/requirements/build.txt +1 -1
  23. gitlab_projects_settings-6.6.0/requirements/quality.txt +6 -0
  24. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/cli/entrypoint.py +51 -1
  25. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/cli/main.py +30 -0
  26. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/features/gitlab.py +218 -75
  27. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/features/mise.py +10 -10
  28. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/system/commands.py +8 -7
  29. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/types/gitlab.py +7 -7
  30. gitlab_projects_settings-6.5.0/containers/pages/Dockerfile +0 -32
  31. gitlab_projects_settings-6.5.0/docs/assets/stylesheets/pdf.scss +0 -259
  32. gitlab_projects_settings-6.5.0/gitlab_projects_settings.egg-info/scm_version.json +0 -8
  33. gitlab_projects_settings-6.5.0/requirements/pages.txt +0 -10
  34. gitlab_projects_settings-6.5.0/requirements/quality.txt +0 -6
  35. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.coveragerc +0 -0
  36. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.cz.yaml +0 -0
  37. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.gitattributes +0 -0
  38. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.gitmodules +0 -0
  39. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.markdownlint.json +0 -0
  40. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.mise/tasks/sources/pull +0 -0
  41. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.style.yapf +0 -0
  42. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.vscode/extensions.json +0 -0
  43. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/.vscode/settings.json +0 -0
  44. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/LICENSE +0 -0
  45. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/build/Dockerfile +0 -0
  46. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/codestyle/Dockerfile +0 -0
  47. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/deploy/Dockerfile +0 -0
  48. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/test-coverage-linux/Dockerfile +0 -0
  49. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/test-coverage-windows/Dockerfile +0 -0
  50. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/containers/test-linux/Dockerfile +0 -0
  51. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/.pages.in +0 -0
  52. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/assets/images/favicon.png +0 -0
  53. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/assets/stylesheets/custom.css +0 -0
  54. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/docs/robots.txt +0 -0
  55. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/dependency_links.txt +0 -0
  56. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/entry_points.txt +0 -0
  57. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/requires.txt +0 -0
  58. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/gitlab_projects_settings.egg-info/top_level.txt +0 -0
  59. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/mypy.ini +0 -0
  60. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/requirements/coverage.txt +0 -0
  61. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/requirements/deploy.txt +0 -0
  62. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/requirements/runtime.txt +0 -0
  63. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/requirements/tests.txt +0 -0
  64. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/setup.cfg +0 -0
  65. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/setup.py +0 -0
  66. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/sonar-project.properties +0 -0
  67. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/__init__.py +0 -0
  68. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/__main__.py +0 -0
  69. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/cli/__init__.py +0 -0
  70. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/features/__init__.py +0 -0
  71. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/package/__init__.py +0 -0
  72. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/package/bundle.py +0 -0
  73. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/package/settings.py +0 -0
  74. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/package/updates.py +0 -0
  75. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/package/version.py +0 -0
  76. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/prints/__init__.py +0 -0
  77. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/prints/boxes.py +0 -0
  78. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/prints/colors.py +0 -0
  79. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/prints/themes.py +0 -0
  80. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/system/__init__.py +0 -0
  81. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/system/platform.py +0 -0
  82. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/types/__init__.py +0 -0
  83. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/types/environments.py +0 -0
  84. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/types/namespaces.py +0 -0
  85. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/src/types/strings.py +0 -0
  86. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/arguments/test.sh +0 -0
  87. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/colors/test.sh +0 -0
  88. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/macos/test.sh +0 -0
  89. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/settings/test.sh +0 -0
  90. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/versions/test.sh +0 -0
  91. {gitlab_projects_settings-6.5.0 → gitlab_projects_settings-6.6.0}/tests/windows/test.sh +0 -0
@@ -1,6 +1,9 @@
1
1
  # Build intermediates
2
2
  /build
3
3
 
4
+ # Cache intermediates
5
+ .cache/
6
+
4
7
  # Compiled intermediates
5
8
  *.pyc
6
9
  __pycache__/
@@ -17,7 +20,7 @@ dist/
17
20
  /docs/.pages
18
21
  /docs/.serve.pid
19
22
  /docs/about
20
- /docs/assets/stylesheets/variables.scss
23
+ /docs/assets/stylesheets/variables.css
21
24
  /docs/index.md
22
25
  /public
23
26
 
@@ -1,5 +1,5 @@
1
1
  include:
2
- - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@9.0.0
2
+ - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@10.0.0
3
3
  inputs:
4
4
  stage: prepare
5
5
  - project: RadianDevCore/gitlab-ci/components
@@ -91,7 +91,7 @@ include:
91
91
  ref: main
92
92
  inputs:
93
93
  stage: deploy
94
- image: registry.gitlab.com/radiandevcore/tools/gitlab-projects-settings/gitlab-projects-settings:pages
94
+ image: registry.gitlab.com/radiandevcore/wiki/documentation-mkdocs/pages:2.0.0
95
95
  pdf: gitlab-projects-settings
96
96
  watch: ./conf/git-cliff/* ./docs/.* ./docs/* ./mkdocs.yml ./README.md
97
97
 
@@ -165,21 +165,6 @@ registry:deploy:
165
165
  - containers/rehost/images.txt
166
166
  - requirements/deploy.txt
167
167
 
168
- registry:pages:
169
- extends:
170
- - .registry:container
171
- variables:
172
- BASEIMAGE_NAME: python:3.14-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
168
  registry:test-coverage-linux:
184
169
  extends:
185
170
  - .registry:container
@@ -459,9 +444,6 @@ pages:
459
444
  extends:
460
445
  - .pages
461
446
  needs:
462
- - job: registry:pages
463
- artifacts: false
464
- optional: true
465
447
  - job: build
466
448
  artifacts: false
467
449
  optional: true
@@ -3,6 +3,7 @@
3
3
  # Mise
4
4
  #MISE alias=["interactive", "gcil"]
5
5
  #MISE description="Interactive menu with gcil"
6
+ #MISE tools={"pipx:gitlabci-local"="latest"}
6
7
 
7
8
  # Action
8
9
  gcil "${@}"
@@ -15,7 +15,7 @@ echo ' '
15
15
  if [ ! -z "${release_tag:-}" ]; then
16
16
  tag="${release_tag}"
17
17
  else
18
- read -p ' > Release tag [ENTER to skip tag]: ' -r tag
18
+ read -e -p ' > Release tag [ENTER to skip tag]: ' -r tag
19
19
  fi
20
20
  echo ' '
21
21
 
@@ -9,7 +9,6 @@ default_stages:
9
9
  - pre-commit
10
10
  - pre-push
11
11
  - prepare-commit-msg
12
- minimum_pre_commit_version: 4.6.2
13
12
  minimum_prek_version: 0.5.2
14
13
 
15
14
  # pre-commit exclusions
@@ -84,7 +83,7 @@ repos:
84
83
 
85
84
  # Repository: commitizen
86
85
  - repo: https://github.com/commitizen-tools/commitizen
87
- rev: v4.19.3
86
+ rev: v4.20.1
88
87
  hooks:
89
88
  - id: commitizen
90
89
  stages:
@@ -97,14 +96,14 @@ repos:
97
96
 
98
97
  # Repository: pre-commit-crocodile
99
98
  - repo: https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
100
- rev: 9.0.0
99
+ rev: 10.0.0
101
100
  hooks:
102
101
  - id: check-yaml-ruamel-pure
103
102
  - id: prepare-commit-message
104
103
 
105
104
  # Repository: gcil
106
105
  - repo: https://gitlab.com/RadianDevCore/tools/gcil
107
- rev: 13.2.0
106
+ rev: 13.3.0
108
107
  hooks:
109
108
  - id: run-gcil-push
110
109
  name: Run GitLab CI job with gcil (codestyle)
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ <a name="6.6.0"></a>
4
+ ## [6.6.0](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/compare/6.5.0...6.6.0) (2026-11-29)
5
+
6
+ ### ✨ Features
7
+
8
+ - **cli, gitlab:** implement '--delete-obsolete-artifacts' to delete obsolete artifacts ([e01baa5](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/e01baa509582f6c9e4da89a24b65be8e13e49df8))
9
+ - **cli, gitlab:** implement '--set-default-branch' to configure default branches ([8a28a77](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/8a28a7712c91f0c59d3df9c14482db8218325ea8))
10
+ - **cli, gitlab:** implement '--protect-tag TAG LEVEL' to protect missing tags ([acdbb48](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/acdbb48ba999a1728e8d41e7f1d1a25d458b053a))
11
+ - **mise:** install 'gcil' only upon 'menu:gcil' tasks use ([65c0a77](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/65c0a77440eebacdb247a7e7ea46f6abb2be006b))
12
+ - **pages:** allow 'PAGES_LOCAL_ADDRESS' local serve address override ([53c264b](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/53c264b50bc9a4242b1f93b68c2021e80d7f82b6))
13
+
14
+ ### 🐛 Bug Fixes
15
+
16
+ - **gitlab:** resolve 'enabled' settings check upon features disable ([a6aa1a2](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/a6aa1a245415ee5838c4842127e180d04f863286))
17
+ - **gitlab:** avoid enabling linked features upon 'Repository' enable ([d7ade12](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/d7ade129096fa950cb4664747b0c58d8ea41687a))
18
+ - **pages:** ignore generated 'variables.css' PDF variables in watched files ([d105ea2](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/d105ea2127fa202000d78cbe83d2a93fff381a66))
19
+
20
+ ### 📚 Documentation
21
+
22
+ - **mkdocs:** add book table of contents to the PDF documentation ([1a92861](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/1a92861cb09f79ccbf3787dd702ad1570f8909ff))
23
+ - **mkdocs:** add header title to the PDF book table of contents ([f6b42bd](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/f6b42bdd010dda987466f3dc7912570c0ad519ef))
24
+ - **mkdocs:** convert collapsible blocks to admonitions in the PDF documentation ([a40c3a2](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/a40c3a2ee90dc333f34734f1350ada12d6cae90f))
25
+ - **mkdocs:** fix admonitions right border clipping in the PDF documentation ([bb32a7a](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/bb32a7a9cdb72e6b475483c768a2e4fe34d50928))
26
+ - **mkdocs, requirements:** migrate to 'mkdocs-exporter' 7.0.0 ([a423c8b](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/a423c8b7e76fde7d0666d5997daf4e78389e1974))
27
+ - **prepare:** prevent partial coverage reports in pages ([fda6ef3](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/fda6ef3d29d5b35fbe90a14d491378f77e00f2f7))
28
+ - **prepare:** disable PDF export of the 'about/coverage' page ([34aa6cd](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/34aa6cd8d73289bf6b928069163c95c88064cf9d))
29
+ - **readme:** improve PDF pages isolations ([731cc75](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/731cc75861f8722acc460c36a18db657a3d61bd7))
30
+
31
+ ### 🎨 Styling
32
+
33
+ - **cli:** resolve 'yapf' codestyle and 'too-many-lines' lint issues ([7f7a84e](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/7f7a84ee6574b581a14fff5b31083aff8a0457f2))
34
+
35
+ ### 🧪 Test
36
+
37
+ - **mise, commands:** remove coverage of 'mise' environment specific sources ([3946db5](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/3946db5293bca38ceedf05c3558bb4d9333e5fa6))
38
+
39
+ ### ⚙️ Cleanups
40
+
41
+ - **mise:** migrate to 'pre-commit-crocodile' version 9.1.0 ([8ef424d](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/8ef424d72e646725440e01d2ad30cf3512d6756d))
42
+ - **mise:** update 'changelog' task to generate with 'git-cliff' ([58dabb4](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/58dabb45ff7c8f4429ba0740af3573ace5577346))
43
+ - **pre-commit:** migrate to 'pre-commit-crocodile' 9.1.0 ([bc64c19](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/bc64c19476476323dcacfc6e945d413435ac540c))
44
+ - **pre-commit:** migrate to 'pre-commit-crocodile' 10.0.0 ([d901124](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/d901124563e8af287378d35f488131549c23473e))
45
+
46
+ ### 🚀 CI
47
+
48
+ - **gitlab-ci:** use 'documentation-mkdocs' pages image ([a9a69ba](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/a9a69ba40b1c36c292aa131180c353546a7b542d))
49
+
50
+ ### 📦 Build
51
+
52
+ - **containers:** migrate to Debian 13 'python:3.14-slim-trixie' base image ([17a677e](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/17a677edc7ccb7c20aa3c53c6b86990c101e1400))
53
+ - **containers/rehost:** remove unused rehosted images ([7f4fb73](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/7f4fb73eb0a4cda96dfe829ee7f51fabd9492513))
54
+ - **requirements:** migrate to 'mkdocs-exporter' 6.2.0 release ([a6de9e8](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/a6de9e89dfd78f55f2e58fb92a243edebd7add1e))
55
+ - **requirements:** pin 'mkdocs' below 2.0 for plugins compatibility ([9d34534](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/9d345342630b07324da3564e6b481f1e3e770df0))
56
+ - **requirements:** migrate to 'commitizen' 4.19.3+adriandc.20261108 and 'pre-commit' 4.6.2 ([765b07e](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/765b07e696752cd3f666fd2971905fa4b8ebb431))
57
+ - **requirements:** raise 'setuptools-scm' to version '10.2.1' ([0418f70](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/commit/0418f70738fefa00b1d1d521e6a1b07f2ce49d3b))
58
+
59
+
3
60
  <a name="6.5.0"></a>
4
61
  ## [6.5.0](https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings/compare/6.4.0...6.5.0) (2026-11-07)
5
62
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitlab-projects-settings
3
- Version: 6.5.0
3
+ Version: 6.6.0
4
4
  Summary: Configure GitLab groups and projects settings automatically
5
5
  Home-page: https://gitlab.com/RadianDevCore/tools/gitlab-projects-settings
6
6
  Author: Adrian DC
@@ -114,6 +114,8 @@ gitlab-projects-settings --reset-features -- 'https://gitlab.com/group/project'
114
114
 
115
115
  ---
116
116
 
117
+ <span class="page-break"></span>
118
+
117
119
  ## Usage
118
120
 
119
121
  <!-- prettier-ignore-start -->
@@ -124,16 +126,17 @@ usage: gitlab-projects-settings [-h] [--version] [--no-color] [--update-check] [
124
126
  [-c FILES] [--confirm] [--dry-run] [--dump] [--exclude-group] [--exclude-subgroups]
125
127
  [--exclude-projects] [--available-features] [--reset-features [KEEP_FEATURES]]
126
128
  [--disable-features FEATURES] [--enable-features FEATURES] [--reset-members]
127
- [--set-avatar FILE] [--set-description TEXT] [--update-descriptions]
128
- [--set-roles-create-projects [ROLE]] [--set-roles-create-subgroups [ROLE]]
129
+ [--set-avatar FILE] [--set-default-branch BRANCH] [--set-description TEXT]
130
+ [--update-descriptions] [--set-roles-create-projects [ROLE]]
131
+ [--set-roles-create-subgroups [ROLE]]
129
132
  [--run-housekeeping | --prune-unreachable-objects]
130
133
  [--archive-projects | --unarchive-projects] [--delete-groups] [--delete-projects]
131
- [--protect-branches] [--protect-tags [LEVEL]] [--set-merge-method [METHOD]]
134
+ [--protect-branches] [--protect-tags [LEVEL]] [--protect-tag TAG LEVEL] [--set-merge-method [METHOD]]
132
135
  [--set-merge-squash [SQUASH]] [--set-merge-pipelines [CHECK]]
133
136
  [--set-merge-skipped [CHECK]] [--set-merge-resolved [CHECK]]
134
137
  [--add-jobs-token-allowlist PATH] [--remove-jobs-token-allowlist PATH]
135
- [--erase-jobs-artifacts | --erase-jobs-contents] [--get-project-issues-boards]
136
- [--set-project-issues-boards JSON] [--get-group-labels | --set-group-labels JSON]
138
+ [--erase-jobs-artifacts | --erase-jobs-contents | --delete-obsolete-artifacts]
139
+ [--get-project-issues-boards] [--set-project-issues-boards JSON] [--get-group-labels | --set-group-labels JSON]
137
140
  [--get-project-labels | --set-project-labels JSON] [--]
138
141
  [url_path]
139
142
 
@@ -168,6 +171,7 @@ general settings arguments:
168
171
  --enable-features FEATURES # List of features to enable separated by ","
169
172
  --reset-members # Reset members of GitLab projects and groups
170
173
  --set-avatar FILE # Set avatar of GitLab projects and groups
174
+ --set-default-branch BRANCH # Set default branch of GitLab groups (initial name) and projects (if existing)
171
175
  --set-description TEXT # Set description of GitLab projects and groups
172
176
  --update-descriptions # Update description of GitLab projects and groups automatically
173
177
 
@@ -186,6 +190,7 @@ advanced settings arguments:
186
190
  repository settings arguments:
187
191
  --protect-branches # Protect branches with default master/main, develop and staging
188
192
  --protect-tags [LEVEL] # Protect tags at level [no-one,admins,maintainers,developers] (default: no-one)
193
+ --protect-tag TAG LEVEL # Protect tag name or wildcard at level [no-one,admins,maintainers,developers], even if missing (repeatable)
189
194
 
190
195
  merge requests settings arguments:
191
196
  --set-merge-method [METHOD] # Set project merge requests method (Merge, Semi-linear, Fast-forward, default: Fast-forward)
@@ -199,6 +204,7 @@ ci/cd settings arguments:
199
204
  --remove-jobs-token-allowlist PATH # Remove a group or project from CI/CD job token allowlist
200
205
  --erase-jobs-artifacts # Erase all CI/CD jobs artifacts
201
206
  --erase-jobs-contents # Erase all CI/CD jobs artifacts and traces
207
+ --delete-obsolete-artifacts # Delete CI/CD jobs artifacts not kept by latest successful pipelines
202
208
 
203
209
  issues arguments:
204
210
  --get-project-issues-boards # Get the GitLab project issues boards in JSON format
@@ -64,6 +64,8 @@ gitlab-projects-settings --reset-features -- 'https://gitlab.com/group/project'
64
64
 
65
65
  ---
66
66
 
67
+ <span class="page-break"></span>
68
+
67
69
  ## Usage
68
70
 
69
71
  <!-- prettier-ignore-start -->
@@ -74,16 +76,17 @@ usage: gitlab-projects-settings [-h] [--version] [--no-color] [--update-check] [
74
76
  [-c FILES] [--confirm] [--dry-run] [--dump] [--exclude-group] [--exclude-subgroups]
75
77
  [--exclude-projects] [--available-features] [--reset-features [KEEP_FEATURES]]
76
78
  [--disable-features FEATURES] [--enable-features FEATURES] [--reset-members]
77
- [--set-avatar FILE] [--set-description TEXT] [--update-descriptions]
78
- [--set-roles-create-projects [ROLE]] [--set-roles-create-subgroups [ROLE]]
79
+ [--set-avatar FILE] [--set-default-branch BRANCH] [--set-description TEXT]
80
+ [--update-descriptions] [--set-roles-create-projects [ROLE]]
81
+ [--set-roles-create-subgroups [ROLE]]
79
82
  [--run-housekeeping | --prune-unreachable-objects]
80
83
  [--archive-projects | --unarchive-projects] [--delete-groups] [--delete-projects]
81
- [--protect-branches] [--protect-tags [LEVEL]] [--set-merge-method [METHOD]]
84
+ [--protect-branches] [--protect-tags [LEVEL]] [--protect-tag TAG LEVEL] [--set-merge-method [METHOD]]
82
85
  [--set-merge-squash [SQUASH]] [--set-merge-pipelines [CHECK]]
83
86
  [--set-merge-skipped [CHECK]] [--set-merge-resolved [CHECK]]
84
87
  [--add-jobs-token-allowlist PATH] [--remove-jobs-token-allowlist PATH]
85
- [--erase-jobs-artifacts | --erase-jobs-contents] [--get-project-issues-boards]
86
- [--set-project-issues-boards JSON] [--get-group-labels | --set-group-labels JSON]
88
+ [--erase-jobs-artifacts | --erase-jobs-contents | --delete-obsolete-artifacts]
89
+ [--get-project-issues-boards] [--set-project-issues-boards JSON] [--get-group-labels | --set-group-labels JSON]
87
90
  [--get-project-labels | --set-project-labels JSON] [--]
88
91
  [url_path]
89
92
 
@@ -118,6 +121,7 @@ general settings arguments:
118
121
  --enable-features FEATURES # List of features to enable separated by ","
119
122
  --reset-members # Reset members of GitLab projects and groups
120
123
  --set-avatar FILE # Set avatar of GitLab projects and groups
124
+ --set-default-branch BRANCH # Set default branch of GitLab groups (initial name) and projects (if existing)
121
125
  --set-description TEXT # Set description of GitLab projects and groups
122
126
  --update-descriptions # Update description of GitLab projects and groups automatically
123
127
 
@@ -136,6 +140,7 @@ advanced settings arguments:
136
140
  repository settings arguments:
137
141
  --protect-branches # Protect branches with default master/main, develop and staging
138
142
  --protect-tags [LEVEL] # Protect tags at level [no-one,admins,maintainers,developers] (default: no-one)
143
+ --protect-tag TAG LEVEL # Protect tag name or wildcard at level [no-one,admins,maintainers,developers], even if missing (repeatable)
139
144
 
140
145
  merge requests settings arguments:
141
146
  --set-merge-method [METHOD] # Set project merge requests method (Merge, Semi-linear, Fast-forward, default: Fast-forward)
@@ -149,6 +154,7 @@ ci/cd settings arguments:
149
154
  --remove-jobs-token-allowlist PATH # Remove a group or project from CI/CD job token allowlist
150
155
  --erase-jobs-artifacts # Erase all CI/CD jobs artifacts
151
156
  --erase-jobs-contents # Erase all CI/CD jobs artifacts and traces
157
+ --delete-obsolete-artifacts # Delete CI/CD jobs artifacts not kept by latest successful pipelines
152
158
 
153
159
  issues arguments:
154
160
  --get-project-issues-boards # Get the GitLab project issues boards in JSON format
@@ -79,8 +79,9 @@ commit_parsers = [
79
79
  { message = "^chore", group = "<!-- 09 -->⚙️ Cleanups" },
80
80
  { message = "^ci", group = "<!-- 10 -->🚀 CI" },
81
81
  { message = "^build", group = "<!-- 11 -->📦 Build" },
82
- { message = "^revert", group = "<!-- 12 -->◀️ Revert" },
83
- { message = "^wip", group = "<!-- 13 -->🚧 WIP" },
82
+ { message = "^deps", group = "<!-- 12 -->🧩 Dependencies" },
83
+ { message = "^revert", group = "<!-- 13 -->◀️ Revert" },
84
+ { message = "^wip", group = "<!-- 14 -->🚧 WIP" },
84
85
  ]
85
86
  # protect breaking changes from being skipped due to matching a skipping commit_parser
86
87
  protect_breaking_commits = false
@@ -1,6 +1,5 @@
1
1
  python:3.10
2
2
  python:3.14
3
3
  python:3.14-alpine
4
- python:3.14-slim-bookworm|python:3.14-slim
5
4
  sonarsource/sonar-scanner-cli:latest
6
5
  tobix/pywine:3.10
@@ -43,5 +43,28 @@ window.MkDocsExporter = {
43
43
  }
44
44
  }
45
45
 
46
+ // Convert collapsible blocks into admonitions (paged.js cannot split '<details>' across pages)
47
+ for (const details of document.querySelectorAll('details')) {
48
+ const admonition = document.createElement('div');
49
+ const summary = details.querySelector(':scope > summary');
50
+
51
+ admonition.className = `admonition ${details.className}`.trim();
52
+
53
+ if (summary) {
54
+ const title = document.createElement('p');
55
+
56
+ title.className = 'admonition-title';
57
+ title.innerHTML = summary.innerHTML;
58
+ admonition.appendChild(title);
59
+ summary.remove();
60
+ }
61
+
62
+ while (details.firstChild) {
63
+ admonition.appendChild(details.firstChild);
64
+ }
65
+
66
+ details.replaceWith(admonition);
67
+ }
68
+
46
69
  }
47
70
  };
@@ -0,0 +1,297 @@
1
+ :root {
2
+ --color-primary: #004f73; /* --color-primary */
3
+ --content-margin: 1.20cm; /* --content-margin */
4
+ --cover-margin: 2.00cm; /* --cover-margin */
5
+ --footer-height: 0.80cm; /* --footer-height */
6
+ --header-height: 1.00cm; /* --header-height */
7
+ --height: 29.7cm;
8
+ --margin-font-size: 7.50pt; /* --margin-font-size */
9
+ --width: 21cm;
10
+ }
11
+
12
+ @page {
13
+ margin-bottom: 1.80cm; /* --content-margin + --footer-height */
14
+ margin-left: 1.20cm; /* --content-margin */
15
+ margin-right: 1.20cm; /* --content-margin */
16
+ margin-top: 2.20cm; /* --content-margin + --header-height */
17
+ size: A4;
18
+
19
+ @top-left {
20
+ border-bottom: 5px solid transparent;
21
+ border-top: 3px solid #004f73; /* --color-primary; */
22
+ font-size: 7.50pt; /* --margin-font-size */
23
+ font-weight: 800;
24
+ height: 1.00cm; /* --header-height */
25
+ margin-left: -1.20cm; /* --content-margin */
26
+ margin-top: 0.40cm;
27
+ padding-left: 1.20cm; /* --content-margin */
28
+ }
29
+
30
+ @top-center {
31
+ border-bottom: 5px solid #004f73; /* --color-primary; */
32
+ border-top: 3px solid #004f73; /* --color-primary; */
33
+ font-size: 7.50pt; /* --margin-font-size */
34
+ font-weight: 800;
35
+ height: 1.00cm; /* --header-height */
36
+ margin-top: 0.40cm;
37
+ }
38
+
39
+ @top-right {
40
+ border-bottom: 5px solid #004f73; /* --color-primary; */
41
+ border-top: 3px solid transparent;
42
+ font-size: 7.50pt; /* --margin-font-size */
43
+ font-weight: 800;
44
+ height: 1.00cm; /* --header-height */
45
+ margin-right: -1.20cm; /* --content-margin */
46
+ margin-top: 0.40cm;
47
+ padding-right: 1.20cm; /* --content-margin */
48
+ }
49
+
50
+ @bottom-left {
51
+ border-top: 5px solid #004f73; /* --color-primary; */
52
+ font-size: 7.50pt; /* --margin-font-size */
53
+ font-weight: 800;
54
+ height: 1.20cm; /* --footer-height */
55
+ margin-bottom: 0.60cm;
56
+ margin-left: -1.20cm; /* --content-margin */
57
+ margin-top: 0.30cm;
58
+ padding-left: 1.20cm; /* --content-margin */
59
+ }
60
+
61
+ @bottom-center {
62
+ border-top: 5px solid #004f73; /* --color-primary; */
63
+ content: 'Page ' counter(page) ' of ' counter(pages);
64
+ font-size: 7.50pt; /* --margin-font-size */
65
+ font-weight: 800;
66
+ height: 1.20cm; /* --footer-height */
67
+ margin-bottom: 0.60cm;
68
+ margin-top: 0.30cm;
69
+ }
70
+
71
+ @bottom-right {
72
+ border-top: 5px solid transparent;
73
+ font-size: 7.50pt; /* --margin-font-size */
74
+ font-weight: 800;
75
+ height: 1.20cm; /* --footer-height */
76
+ margin-bottom: 0.60cm;
77
+ margin-right: -1.20cm; /* --content-margin */
78
+ margin-top: 0.30cm;
79
+ padding-right: 1.20cm; /* --content-margin */
80
+ }
81
+ }
82
+
83
+ @page :first {
84
+ @top-left {
85
+ content: none !important;
86
+ }
87
+
88
+ @top-center {
89
+ content: none !important;
90
+ }
91
+
92
+ @top-right {
93
+ content: none !important;
94
+ }
95
+
96
+ @bottom-left {
97
+ content: none !important;
98
+ }
99
+
100
+ @bottom-center {
101
+ content: none !important;
102
+ }
103
+
104
+ @bottom-right {
105
+ content: none !important;
106
+ }
107
+ }
108
+
109
+ @page last {
110
+ @top-left {
111
+ content: none !important;
112
+ }
113
+
114
+ @top-center {
115
+ content: none !important;
116
+ }
117
+
118
+ @top-right {
119
+ content: none !important;
120
+ }
121
+
122
+ @bottom-left {
123
+ content: none !important;
124
+ }
125
+
126
+ @bottom-center {
127
+ content: none !important;
128
+ }
129
+
130
+ @bottom-right {
131
+ content: none !important;
132
+ }
133
+ }
134
+
135
+ .md-main .md-main__inner {
136
+ margin: 0;
137
+ }
138
+
139
+ .md-content .md-content__inner {
140
+ margin: 0;
141
+ padding: 0;
142
+
143
+ &::before {
144
+ height: 0;
145
+ }
146
+ }
147
+
148
+ .md-image {
149
+ border-radius: 0.50em;
150
+ border: 1px solid #ddd;
151
+ }
152
+
153
+ hr:has(+ div.md-source-file),
154
+ .md-source-file {
155
+ display: none !important;
156
+ }
157
+
158
+ body {
159
+ print-color-adjust: exact;
160
+ text-rendering: geometricPrecision;
161
+ }
162
+
163
+ .front-cover {
164
+ border: 3px solid #004f73; /* --color-primary; */
165
+ height: calc(var(--height) - var(--cover-margin) * 2);
166
+ margin: state(cover-margin) !important;
167
+ page-break-after: always;
168
+ position: relative;
169
+
170
+ section {
171
+ color: #004f73; /* --color-primary; */
172
+ font-size: 23pt;
173
+ font-weight: 700;
174
+ margin-top: calc(var(--height) / 2 - var(--cover-margin) - 4cm);
175
+ max-width: calc(var(--width) - var(--cover-margin) * 2 - 0.2cm);
176
+ padding: 0.635cm;
177
+ word-wrap: break-word;
178
+
179
+ .title {
180
+ color: #004f73; /* --color-primary; */
181
+ font-size: 30pt;
182
+ font-weight: 700;
183
+ line-height: 1.1;
184
+ margin-top: 1em;
185
+ }
186
+
187
+ .author {
188
+ font-size: 16pt;
189
+ font-weight: 400;
190
+ line-height: 1.1;
191
+ margin-top: 1em;
192
+
193
+ b {
194
+ font-weight: 900;
195
+ }
196
+ }
197
+
198
+ .description {
199
+ font-size: 10pt;
200
+ font-weight: 400;
201
+ line-height: 1.1;
202
+ margin-top: 1em;
203
+
204
+ b {
205
+ font-weight: 900;
206
+ }
207
+ }
208
+
209
+ .date {
210
+ font-size: 12pt;
211
+ font-weight: 400;
212
+ line-height: 1.1;
213
+ margin-top: 1em;
214
+
215
+ b {
216
+ font-weight: 900;
217
+ }
218
+ }
219
+
220
+ .version {
221
+ font-size: 12pt;
222
+ font-weight: 600;
223
+ line-height: 1;
224
+ margin-top: 1em;
225
+
226
+ b {
227
+ font-weight: 900;
228
+ }
229
+
230
+ span {
231
+ font-family: monospace;
232
+ }
233
+ }
234
+ }
235
+ }
236
+
237
+ .back-cover {
238
+ border: 3px solid #004f73; /* --color-primary; */
239
+ height: calc(var(--height) - var(--cover-margin) * 2);
240
+ page: last;
241
+ page-break-before: always;
242
+ position: relative;
243
+
244
+ section {
245
+ margin-top: calc(var(--height) / 2 - var(--cover-margin) - 24pt);
246
+
247
+ .title {
248
+ color: #004f73; /* --color-primary; */
249
+ font-size: 24pt;
250
+ text-align: center;
251
+ width: 100%;
252
+ }
253
+ }
254
+ }
255
+
256
+ .page-break {
257
+ break-after: page;
258
+ display: block;
259
+ }
260
+
261
+ .toc {
262
+ display: initial;
263
+ }
264
+
265
+ .md-typeset .admonition {
266
+ break-inside: auto !important;
267
+ margin-right: 0.10rem;
268
+
269
+ > .highlight,
270
+ pre,
271
+ pre > code {
272
+ break-inside: auto !important;
273
+ }
274
+ }
275
+
276
+ /* Books: pages tables of contents replaced by the book's table of contents */
277
+ .mkdocs-exporter-part .toc,
278
+ .mkdocs-exporter-part .toc + p:has(> .page-break) {
279
+ display: none;
280
+ }
281
+
282
+ /* Books: table of contents header */
283
+ .mkdocs-exporter-toc {
284
+ padding-top: 0.50cm;
285
+ }
286
+
287
+ .md-typeset .mkdocs-exporter-toc h1.mkdocs-exporter-toc-title {
288
+ border-bottom: 3px solid #004f73; /* --color-primary; */
289
+ color: #004f73; /* --color-primary; */
290
+ display: block !important;
291
+ font-size: 20pt;
292
+ font-weight: 700;
293
+ letter-spacing: normal;
294
+ line-height: 1.2;
295
+ margin: 0 0 0.80cm;
296
+ padding-bottom: 0.20cm;
297
+ }