cikit 0.2.0__tar.gz → 0.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.
Files changed (205) hide show
  1. {cikit-0.2.0/src/cikit.egg-info → cikit-0.3.0}/PKG-INFO +48 -25
  2. {cikit-0.2.0 → cikit-0.3.0}/README.md +48 -25
  3. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/__init__.py +20 -20
  4. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/all_.py +4 -1
  5. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/coverage.py +4 -2
  6. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/init.py +5 -2
  7. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/pylint.py +5 -2
  8. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/ruff.py +5 -2
  9. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/sphinx.py +5 -2
  10. {cikit-0.2.0 → cikit-0.3.0}/ci_commands/test.py +5 -2
  11. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/cikit_data.rst +16 -34
  12. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/environment.rst +0 -2
  13. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/metadata.rst +5 -0
  14. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/providers.rst +6 -110
  15. {cikit-0.2.0 → cikit-0.3.0}/docs/getting_started.rst +83 -40
  16. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/azure_devops.rst +5 -24
  17. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/builds.rst +64 -5
  18. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/ci_commands.rst +226 -169
  19. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/gitlab_ci.rst +3 -16
  20. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/macros.rst +27 -5
  21. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/sphinx_extensions.rst +21 -0
  22. {cikit-0.2.0 → cikit-0.3.0}/pyproject.toml +8 -1
  23. cikit-0.3.0/src/cikit/ci/README.md +183 -0
  24. cikit-0.3.0/src/cikit/ci/loader.py +206 -0
  25. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/ci/main.py +6 -2
  26. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/README.md +13 -47
  27. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/env_vars.py +0 -2
  28. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/factory.py +8 -24
  29. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/README.md +2 -2
  30. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/cmake.py +129 -11
  31. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/reports.py +21 -23
  32. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/project_meta.py +10 -0
  33. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/sphinx_ext/log.py +50 -0
  34. {cikit-0.2.0 → cikit-0.3.0/src/cikit.egg-info}/PKG-INFO +48 -25
  35. {cikit-0.2.0 → cikit-0.3.0}/src/cikit.egg-info/SOURCES.txt +9 -0
  36. cikit-0.3.0/tests/systemtests/projects/command_consumer/ci_commands/__init__.py +8 -0
  37. cikit-0.3.0/tests/systemtests/projects/command_consumer/ci_commands/override.py +33 -0
  38. cikit-0.3.0/tests/systemtests/projects/command_provider/pyproject.toml +16 -0
  39. cikit-0.3.0/tests/systemtests/projects/command_provider/src/cikit_test_commands/__init__.py +8 -0
  40. cikit-0.3.0/tests/systemtests/projects/command_provider/src/cikit_test_commands/override.py +33 -0
  41. cikit-0.3.0/tests/systemtests/projects/command_provider/src/cikit_test_commands/provider.py +33 -0
  42. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/sphinx/docs/index.rst +4 -0
  43. cikit-0.3.0/tests/systemtests/projects/sphinx/docs/test-log.txt +17 -0
  44. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_ci_cli.py +27 -2
  45. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_cmake.py +13 -2
  46. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_sphinx.py +17 -2
  47. cikit-0.3.0/tests/unittests/test_cikit/test_ci/__init__.py +11 -0
  48. cikit-0.3.0/tests/unittests/test_cikit/test_ci/test_loader.py +159 -0
  49. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_env/test_env_vars.py +0 -1
  50. cikit-0.3.0/tests/unittests/test_cikit/test_factory.py +219 -0
  51. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_cmake.py +135 -10
  52. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_reports.py +30 -21
  53. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_project_meta.py +2 -0
  54. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/test_log.py +18 -3
  55. {cikit-0.2.0 → cikit-0.3.0}/uv.lock +11 -2
  56. cikit-0.2.0/src/cikit/ci/README.md +0 -120
  57. cikit-0.2.0/src/cikit/ci/loader.py +0 -67
  58. cikit-0.2.0/tests/unittests/test_cikit/test_factory.py +0 -273
  59. {cikit-0.2.0 → cikit-0.3.0}/.gitignore +0 -0
  60. {cikit-0.2.0 → cikit-0.3.0}/.gitlab-ci.yml +0 -0
  61. {cikit-0.2.0 → cikit-0.3.0}/.project +0 -0
  62. {cikit-0.2.0 → cikit-0.3.0}/.pydevproject +0 -0
  63. {cikit-0.2.0 → cikit-0.3.0}/.pylintrc +0 -0
  64. {cikit-0.2.0 → cikit-0.3.0}/.repomixignore +0 -0
  65. {cikit-0.2.0 → cikit-0.3.0}/LICENSE +0 -0
  66. {cikit-0.2.0 → cikit-0.3.0}/docs/Makefile +0 -0
  67. {cikit-0.2.0 → cikit-0.3.0}/docs/_static/logo/cikit-logo-192.png +0 -0
  68. {cikit-0.2.0 → cikit-0.3.0}/docs/_static/logo/cikit-logo.png +0 -0
  69. {cikit-0.2.0 → cikit-0.3.0}/docs/_static/logo/favicon.ico +0 -0
  70. {cikit-0.2.0 → cikit-0.3.0}/docs/build_reports/index.rst +0 -0
  71. {cikit-0.2.0 → cikit-0.3.0}/docs/build_reports/lint.rst +0 -0
  72. {cikit-0.2.0 → cikit-0.3.0}/docs/build_reports/tests.rst +0 -0
  73. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/artifacts.rst +0 -0
  74. {cikit-0.2.0 → cikit-0.3.0}/docs/concepts/index.rst +0 -0
  75. {cikit-0.2.0 → cikit-0.3.0}/docs/conf.py +0 -0
  76. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/index.rst +0 -0
  77. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/local_pipeline.rst +0 -0
  78. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/sphinx_build.rst +0 -0
  79. {cikit-0.2.0 → cikit-0.3.0}/docs/guides/timelines.rst +0 -0
  80. {cikit-0.2.0 → cikit-0.3.0}/docs/index.rst +0 -0
  81. {cikit-0.2.0 → cikit-0.3.0}/docs/roadmap.rst +0 -0
  82. {cikit-0.2.0 → cikit-0.3.0}/setup.cfg +0 -0
  83. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/__init__.py +0 -0
  84. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/artifacts.py +0 -0
  85. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/badge.py +0 -0
  86. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/ci/__init__.py +0 -0
  87. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/ci/runner.py +0 -0
  88. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/command.py +0 -0
  89. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/README.md +0 -0
  90. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/__init__.py +0 -0
  91. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/api.py +0 -0
  92. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/cli.py +0 -0
  93. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/client.py +0 -0
  94. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/data/common.py +0 -0
  95. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/__init__.py +0 -0
  96. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/api.py +0 -0
  97. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/cli.py +0 -0
  98. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/common.py +0 -0
  99. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/env/provider.py +0 -0
  100. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/errors.py +0 -0
  101. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/json_utils.py +0 -0
  102. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/lint_to_rst.py +0 -0
  103. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/logging_utils.py +0 -0
  104. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/__init__.py +0 -0
  105. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/bundle.py +0 -0
  106. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/common.py +0 -0
  107. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/coverage.py +0 -0
  108. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/platformio.py +0 -0
  109. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/pylint.py +0 -0
  110. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/pytest.py +0 -0
  111. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/ruff.py +0 -0
  112. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/macros/sphinx.py +0 -0
  113. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/.htaccess +0 -0
  114. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/README.md +0 -0
  115. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/cikit_data_common.php +0 -0
  116. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/cikit_data_create.php +0 -0
  117. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/cikit_data_latest.php +0 -0
  118. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/cikit_data_timeline.php +0 -0
  119. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/cikit_data_update.php +0 -0
  120. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/config.php +0 -0
  121. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/config.php.example +0 -0
  122. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/php/cikit_data/generate_secrets.py +0 -0
  123. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/sql/cikit_data/README.md +0 -0
  124. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/sql/cikit_data/db_init.sql +0 -0
  125. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/resources/sql/cikit_data/db_reset.sql +0 -0
  126. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/rst_tools.py +0 -0
  127. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/sphinx_ext/__init__.py +0 -0
  128. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/sphinx_ext/chart.py +0 -0
  129. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/sphinx_ext/hash.py +0 -0
  130. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/sphinx_ext/metrics.py +0 -0
  131. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/status.py +0 -0
  132. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/systemtest/__init__.py +0 -0
  133. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/systemtest/fixtures.py +0 -0
  134. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/README.md +0 -0
  135. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/__init__.py +0 -0
  136. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/__main__.py +0 -0
  137. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/charts.py +0 -0
  138. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/presets.py +0 -0
  139. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/preview.py +0 -0
  140. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/timeline/timeline_chart.py +0 -0
  141. {cikit-0.2.0 → cikit-0.3.0}/src/cikit/xml_tools.py +0 -0
  142. {cikit-0.2.0 → cikit-0.3.0}/src/cikit.egg-info/dependency_links.txt +0 -0
  143. {cikit-0.2.0 → cikit-0.3.0}/src/cikit.egg-info/entry_points.txt +0 -0
  144. {cikit-0.2.0 → cikit-0.3.0}/src/cikit.egg-info/requires.txt +0 -0
  145. {cikit-0.2.0 → cikit-0.3.0}/src/cikit.egg-info/top_level.txt +0 -0
  146. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/conftest.py +0 -0
  147. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_error/CMakeLists.txt +0 -0
  148. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_error/main.c +0 -0
  149. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_native/CMakeLists.txt +0 -0
  150. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_native/linker.ld +0 -0
  151. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_native/main.c +0 -0
  152. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_warning/CMakeLists.txt +0 -0
  153. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/cmake_warning/main.c +0 -0
  154. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/platformio_error/platformio.ini +0 -0
  155. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/platformio_error/src/main.c +0 -0
  156. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/platformio_native/platformio.ini +0 -0
  157. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/platformio_native/src/main.cpp +0 -0
  158. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/sphinx/docs/conf.py +0 -0
  159. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/sphinx_invalid/docs/ index.rst +0 -0
  160. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/projects/sphinx_invalid/docs/conf.py +0 -0
  161. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_data_cli.py +0 -0
  162. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_env_cli.py +0 -0
  163. {cikit-0.2.0 → cikit-0.3.0}/tests/systemtests/test_platformio.py +0 -0
  164. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_ci_commands/__init__.py +0 -0
  165. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_ci_commands/test_all.py +0 -0
  166. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_ci_commands/test_sphinx.py +0 -0
  167. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/__init__.py +0 -0
  168. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_artifacts.py +0 -0
  169. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_badge.py +0 -0
  170. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_command.py +0 -0
  171. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_data/__init__.py +0 -0
  172. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_data/test_api.py +0 -0
  173. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_data/test_cli.py +0 -0
  174. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_data/test_client.py +0 -0
  175. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_data/test_common.py +0 -0
  176. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_env/__init__.py +0 -0
  177. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_env/test_api.py +0 -0
  178. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_env/test_common.py +0 -0
  179. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_env/test_provider.py +0 -0
  180. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_errors.py +0 -0
  181. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_json_utils.py +0 -0
  182. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_lint_to_rst.py +0 -0
  183. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_logging_utils.py +0 -0
  184. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/__init__.py +0 -0
  185. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_bundle.py +0 -0
  186. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_common.py +0 -0
  187. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_coverage.py +0 -0
  188. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_platformio.py +0 -0
  189. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_pylint.py +0 -0
  190. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_pytest.py +0 -0
  191. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_ruff.py +0 -0
  192. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_macros/test_sphinx.py +0 -0
  193. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_rst_tools.py +0 -0
  194. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/__init__.py +0 -0
  195. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/test_chart.py +0 -0
  196. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/test_hash.py +0 -0
  197. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/test_init.py +0 -0
  198. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_sphinx_ext/test_metrics.py +0 -0
  199. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_status.py +0 -0
  200. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_timeline/__init__.py +0 -0
  201. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_timeline/test_charts.py +0 -0
  202. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_timeline/test_presets.py +0 -0
  203. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_timeline/test_preview.py +0 -0
  204. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_timeline/test_timeline_chart.py +0 -0
  205. {cikit-0.2.0 → cikit-0.3.0}/tests/unittests/test_cikit/test_xml_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cikit
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: CI helper toolkit
5
5
  Author-email: Sven Schlender <svesch@gmx.de>
6
6
  License-Expression: GPL-3.0-or-later
@@ -40,7 +40,7 @@ run data, artifact management, reports, timeline charts, and Sphinx integration.
40
40
 
41
41
  ## Highlights
42
42
 
43
- * Project-specific CI commands discovered from a root-level `ci_commands` package
43
+ * CI commands from installed provider packages with optional project-local overrides
44
44
  * Unified execution locally and in CI
45
45
  * Provider support for local Git, GitLab, and Azure DevOps
46
46
  * Structured environment handling with variable expansion and secret masking
@@ -67,32 +67,30 @@ uv add --dev cikit
67
67
 
68
68
  ## CI Command Framework
69
69
 
70
- cikit deliberately keeps the concrete workflow in the consuming project. A project provides a
71
- root-level package named `ci_commands`; the `cikit` console command discovers its modules and calls
72
- their `register()` functions automatically.
70
+ The `cikit` console command builds its effective command set from installed
71
+ command providers and optional project-local commands.
72
+
73
+ Reusable command packages register themselves through the Python
74
+ `cikit.commands` entry-point group. A project can then install such a package as
75
+ a normal development dependency and immediately use its commands.
76
+
77
+ A project may additionally provide a root-level `ci_commands` package:
73
78
 
74
79
  ```text
75
80
  project/
76
81
  ├── ci_commands/
77
82
  │ ├── __init__.py
78
- │ ├── init.py
79
- │ ├── lint.py
80
- │ ├── test.py
81
- │ ├── build.py
82
- │ ├── sphinx.py
83
83
  │ └── all_.py
84
84
  ├── docs/
85
85
  ├── src/
86
86
  ├── tests/
87
- ├── pyproject.toml
88
- └── public/
89
- ├── artifacts/
90
- ├── badges/
91
- ├── cikit_data/
92
- └── rst/
87
+ └── pyproject.toml
93
88
  ```
94
89
 
95
- A minimal command module can orchestrate reusable cikit macros:
90
+ The local package is optional. It is intended for project-specific commands,
91
+ orchestration, and deliberate overrides of shared provider commands.
92
+
93
+ Every discovered command module declares a logical command name:
96
94
 
97
95
  ```python
98
96
  import argparse
@@ -102,6 +100,9 @@ from cikit.ci import run_ci_script
102
100
  from cikit.macros import ruff
103
101
 
104
102
 
103
+ COMMAND_NAME = "ruff"
104
+
105
+
105
106
  def run(env, status, args):
106
107
  with CiSection("Running Ruff", status=status):
107
108
  ruff.ruff(env, args.paths)
@@ -111,29 +112,46 @@ def run(env, status, args):
111
112
 
112
113
 
113
114
  def command(args):
114
- return run_ci_script("ruff", lambda env, status: run(env, status, args), args=args)
115
+ return run_ci_script(
116
+ COMMAND_NAME,
117
+ lambda env, status: run(env, status, args),
118
+ args=args,
119
+ )
115
120
 
116
121
 
117
122
  def register(subparsers):
118
- parser = subparsers.add_parser("ruff", help="Run Ruff checks.")
123
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run Ruff checks.")
119
124
  parser.add_argument("paths", nargs="+")
120
125
  parser.set_defaults(func=command)
121
126
  ```
122
127
 
128
+ `COMMAND_NAME` is independent of the Python filename and is used by the loader
129
+ for conflict and override resolution.
130
+
131
+ Installed providers must not expose duplicate command names. A project-local
132
+ command may intentionally use the same name as one provider command; the local
133
+ implementation then wins.
134
+
123
135
  The resulting command is executed through the shared runner:
124
136
 
125
137
  ```bash
126
138
  cikit ruff src tests
127
139
  ```
128
140
 
129
- The logical run name can be overridden globally. It is used for cikit data and artifact metadata:
141
+ The logical run name can be overridden globally. It is used for cikit data and
142
+ artifact metadata:
130
143
 
131
144
  ```bash
132
145
  cikit --name quality ruff src tests
133
146
  ```
134
147
 
135
- The command set itself is project-specific. The `ci_commands` package in this repository is both the
136
- workflow used by cikit and a practical reference implementation.
148
+ The command set is not built into cikit itself. It is supplied by installed
149
+ command providers and optional project-local modules. The `ci_commands` package
150
+ in this repository is the project-specific workflow used to build and test
151
+ cikit itself.
152
+
153
+ For complete provider-package examples and discovery rules, see the CI Commands
154
+ guide in the documentation.
137
155
 
138
156
  ## Environment and Providers
139
157
 
@@ -162,8 +180,8 @@ Outside a supported CI system, local Git metadata is used as the fallback. Provi
162
180
  pipeline, branch, commit, and provider project information without requiring provider-specific logic
163
181
  inside reusable macros.
164
182
 
165
- For cikit data, `CIKIT_DATA_ADDRESSING` can use either the logical `PROJECT_NAME` or a provider-based
166
- scope/project key.
183
+ For cikit data, the remote project key uses the logical `PROJECT_NAME` with an optional
184
+ `tool.cikit.data_scope` prefix from `pyproject.toml`.
167
185
 
168
186
  ## Reusable Macros
169
187
 
@@ -176,7 +194,7 @@ mainly parse arguments, open CI sections, and compose these macros.
176
194
  | `pylint` | Pylint execution, reports, badges, timelines, and rule-specific reports |
177
195
  | `pytest` | pytest execution, JUnit XML, and optional parallel coverage collection |
178
196
  | `coverage` | Python/gcovr coverage, Cobertura XML, HTML reports, badges, and timelines |
179
- | `cmake` | CMake configure/build, CTest, compiler metadata, build metrics, memory parsing, logs, and reports |
197
+ | `cmake` | CMake configure/build, CTest, CMake/compiler metadata, compilation databases, build metrics, logs, and reports |
180
198
  | `platformio` | PlatformIO builds, compiler metadata, build metrics, memory parsing, logs, and reports |
181
199
  | `reports` | Shared test and build report generation |
182
200
  | `sphinx` | Documentation preparation, build, and artifact integration |
@@ -190,7 +208,9 @@ well-defined logical run.
190
208
  CMake and PlatformIO builds can collect data such as:
191
209
 
192
210
  * configure, build, and total build time
211
+ * CMake version
193
212
  * compiler name, version, and type
213
+ * compiler optimization and LTO settings when available
194
214
  * compiled file counts
195
215
  * compiler warning and error counts
196
216
  * memory usage where the toolchain exposes it
@@ -209,12 +229,15 @@ from cikit.macros import cmake
209
229
 
210
230
  build_dir = cmake.get_build_dir(env)
211
231
 
232
+ cmake.gather_cmake_meta(env)
233
+
212
234
  cmake.cmake_configure(
213
235
  env,
214
236
  source_dir=Path("."),
215
237
  build_dir=build_dir,
216
238
  generator="Ninja",
217
239
  clean=True,
240
+ compile_commands=True,
218
241
  )
219
242
  cmake.gather_compiler_meta(env, build_dir, "CXX")
220
243
  cmake.cmake_build(env, build_dir)
@@ -20,7 +20,7 @@ run data, artifact management, reports, timeline charts, and Sphinx integration.
20
20
 
21
21
  ## Highlights
22
22
 
23
- * Project-specific CI commands discovered from a root-level `ci_commands` package
23
+ * CI commands from installed provider packages with optional project-local overrides
24
24
  * Unified execution locally and in CI
25
25
  * Provider support for local Git, GitLab, and Azure DevOps
26
26
  * Structured environment handling with variable expansion and secret masking
@@ -47,32 +47,30 @@ uv add --dev cikit
47
47
 
48
48
  ## CI Command Framework
49
49
 
50
- cikit deliberately keeps the concrete workflow in the consuming project. A project provides a
51
- root-level package named `ci_commands`; the `cikit` console command discovers its modules and calls
52
- their `register()` functions automatically.
50
+ The `cikit` console command builds its effective command set from installed
51
+ command providers and optional project-local commands.
52
+
53
+ Reusable command packages register themselves through the Python
54
+ `cikit.commands` entry-point group. A project can then install such a package as
55
+ a normal development dependency and immediately use its commands.
56
+
57
+ A project may additionally provide a root-level `ci_commands` package:
53
58
 
54
59
  ```text
55
60
  project/
56
61
  ├── ci_commands/
57
62
  │ ├── __init__.py
58
- │ ├── init.py
59
- │ ├── lint.py
60
- │ ├── test.py
61
- │ ├── build.py
62
- │ ├── sphinx.py
63
63
  │ └── all_.py
64
64
  ├── docs/
65
65
  ├── src/
66
66
  ├── tests/
67
- ├── pyproject.toml
68
- └── public/
69
- ├── artifacts/
70
- ├── badges/
71
- ├── cikit_data/
72
- └── rst/
67
+ └── pyproject.toml
73
68
  ```
74
69
 
75
- A minimal command module can orchestrate reusable cikit macros:
70
+ The local package is optional. It is intended for project-specific commands,
71
+ orchestration, and deliberate overrides of shared provider commands.
72
+
73
+ Every discovered command module declares a logical command name:
76
74
 
77
75
  ```python
78
76
  import argparse
@@ -82,6 +80,9 @@ from cikit.ci import run_ci_script
82
80
  from cikit.macros import ruff
83
81
 
84
82
 
83
+ COMMAND_NAME = "ruff"
84
+
85
+
85
86
  def run(env, status, args):
86
87
  with CiSection("Running Ruff", status=status):
87
88
  ruff.ruff(env, args.paths)
@@ -91,29 +92,46 @@ def run(env, status, args):
91
92
 
92
93
 
93
94
  def command(args):
94
- return run_ci_script("ruff", lambda env, status: run(env, status, args), args=args)
95
+ return run_ci_script(
96
+ COMMAND_NAME,
97
+ lambda env, status: run(env, status, args),
98
+ args=args,
99
+ )
95
100
 
96
101
 
97
102
  def register(subparsers):
98
- parser = subparsers.add_parser("ruff", help="Run Ruff checks.")
103
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run Ruff checks.")
99
104
  parser.add_argument("paths", nargs="+")
100
105
  parser.set_defaults(func=command)
101
106
  ```
102
107
 
108
+ `COMMAND_NAME` is independent of the Python filename and is used by the loader
109
+ for conflict and override resolution.
110
+
111
+ Installed providers must not expose duplicate command names. A project-local
112
+ command may intentionally use the same name as one provider command; the local
113
+ implementation then wins.
114
+
103
115
  The resulting command is executed through the shared runner:
104
116
 
105
117
  ```bash
106
118
  cikit ruff src tests
107
119
  ```
108
120
 
109
- The logical run name can be overridden globally. It is used for cikit data and artifact metadata:
121
+ The logical run name can be overridden globally. It is used for cikit data and
122
+ artifact metadata:
110
123
 
111
124
  ```bash
112
125
  cikit --name quality ruff src tests
113
126
  ```
114
127
 
115
- The command set itself is project-specific. The `ci_commands` package in this repository is both the
116
- workflow used by cikit and a practical reference implementation.
128
+ The command set is not built into cikit itself. It is supplied by installed
129
+ command providers and optional project-local modules. The `ci_commands` package
130
+ in this repository is the project-specific workflow used to build and test
131
+ cikit itself.
132
+
133
+ For complete provider-package examples and discovery rules, see the CI Commands
134
+ guide in the documentation.
117
135
 
118
136
  ## Environment and Providers
119
137
 
@@ -142,8 +160,8 @@ Outside a supported CI system, local Git metadata is used as the fallback. Provi
142
160
  pipeline, branch, commit, and provider project information without requiring provider-specific logic
143
161
  inside reusable macros.
144
162
 
145
- For cikit data, `CIKIT_DATA_ADDRESSING` can use either the logical `PROJECT_NAME` or a provider-based
146
- scope/project key.
163
+ For cikit data, the remote project key uses the logical `PROJECT_NAME` with an optional
164
+ `tool.cikit.data_scope` prefix from `pyproject.toml`.
147
165
 
148
166
  ## Reusable Macros
149
167
 
@@ -156,7 +174,7 @@ mainly parse arguments, open CI sections, and compose these macros.
156
174
  | `pylint` | Pylint execution, reports, badges, timelines, and rule-specific reports |
157
175
  | `pytest` | pytest execution, JUnit XML, and optional parallel coverage collection |
158
176
  | `coverage` | Python/gcovr coverage, Cobertura XML, HTML reports, badges, and timelines |
159
- | `cmake` | CMake configure/build, CTest, compiler metadata, build metrics, memory parsing, logs, and reports |
177
+ | `cmake` | CMake configure/build, CTest, CMake/compiler metadata, compilation databases, build metrics, logs, and reports |
160
178
  | `platformio` | PlatformIO builds, compiler metadata, build metrics, memory parsing, logs, and reports |
161
179
  | `reports` | Shared test and build report generation |
162
180
  | `sphinx` | Documentation preparation, build, and artifact integration |
@@ -170,7 +188,9 @@ well-defined logical run.
170
188
  CMake and PlatformIO builds can collect data such as:
171
189
 
172
190
  * configure, build, and total build time
191
+ * CMake version
173
192
  * compiler name, version, and type
193
+ * compiler optimization and LTO settings when available
174
194
  * compiled file counts
175
195
  * compiler warning and error counts
176
196
  * memory usage where the toolchain exposes it
@@ -189,12 +209,15 @@ from cikit.macros import cmake
189
209
 
190
210
  build_dir = cmake.get_build_dir(env)
191
211
 
212
+ cmake.gather_cmake_meta(env)
213
+
192
214
  cmake.cmake_configure(
193
215
  env,
194
216
  source_dir=Path("."),
195
217
  build_dir=build_dir,
196
218
  generator="Ninja",
197
219
  clean=True,
220
+ compile_commands=True,
198
221
  )
199
222
  cmake.gather_compiler_meta(env, build_dir, "CXX")
200
223
  cmake.cmake_build(env, build_dir)
@@ -379,4 +402,4 @@ https://gitlab.com/svesch/cikit
379
402
 
380
403
  ## License
381
404
 
382
- GPL-3.0-or-later
405
+ GPL-3.0-or-later
@@ -1,20 +1,20 @@
1
- # SPDX-License-Identifier: GPL-3.0-or-later
2
- """Command implementations for CI helper scripts.
3
-
4
- Each module in this package implements one logical CI command and provides
5
- a ``register(subparsers)`` function that integrates the command into the
6
- top-level parser.
7
-
8
- Typical responsibilities of command modules include:
9
-
10
- - defining command line arguments
11
- - implementing command execution logic
12
- - invoking shared CI setup through ``run_ci_script``
13
-
14
- Modules are imported and registered dynamically by ``ci_scripts.ci``.
15
-
16
- Author:
17
- Sven Schlender
18
- Date:
19
- 2026-05-27
20
- """
1
+ # SPDX-License-Identifier: GPL-3.0-or-later
2
+ """Command implementations for CI helper scripts.
3
+
4
+ Each module in this package implements one logical CI command and provides
5
+ a ``register(subparsers)`` function that integrates the command into the
6
+ top-level parser.
7
+
8
+ Typical responsibilities of command modules include:
9
+
10
+ - defining command line arguments
11
+ - implementing command execution logic
12
+ - invoking shared CI setup through ``run_ci_script``
13
+
14
+ Modules are discovered and registered dynamically by ``cikit.ci.loader``.
15
+
16
+ Author:
17
+ Sven Schlender
18
+ Date:
19
+ 2026-05-27
20
+ """
@@ -18,6 +18,9 @@ from pathlib import Path
18
18
  from ci_commands import coverage, init, pylint, ruff, sphinx, test
19
19
 
20
20
 
21
+ COMMAND_NAME = "all"
22
+
23
+
21
24
  def run_step(title: str, func, args: argparse.Namespace) -> int:
22
25
  """Run one CI command step.
23
26
 
@@ -94,7 +97,7 @@ def register(subparsers: argparse._SubParsersAction):
94
97
  Args:
95
98
  subparsers: Argparse subparser registry.
96
99
  """
97
- parser = subparsers.add_parser("all", help="Run the complete local CI workflow.")
100
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run the complete local CI workflow.")
98
101
  parser.add_argument("--coverage-dir", type=Path, default=Path("build/coverage"),
99
102
  help="Directory for intermediate coverage data files.")
100
103
  parser.set_defaults(func=command)
@@ -19,6 +19,8 @@ from cikit.errors import CiRecoverableError
19
19
  from cikit.macros import chart_timeline, coverage
20
20
 
21
21
 
22
+ COMMAND_NAME = "coverage"
23
+
22
24
  def run(env, status, args: argparse.Namespace):
23
25
  """Run coverage command logic.
24
26
 
@@ -52,7 +54,7 @@ def command(args: argparse.Namespace) -> int:
52
54
  Returns:
53
55
  Process exit code.
54
56
  """
55
- return run_ci_script("coverage", lambda env, status: run(env, status, args), args=args)
57
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
56
58
 
57
59
 
58
60
  def register(subparsers: argparse._SubParsersAction):
@@ -61,7 +63,7 @@ def register(subparsers: argparse._SubParsersAction):
61
63
  Args:
62
64
  subparsers: Argparse subparser registry.
63
65
  """
64
- parser = subparsers.add_parser("coverage", help="Build combined coverage reports.")
66
+ parser = subparsers.add_parser(COMMAND_NAME, help="Build combined coverage reports.")
65
67
  parser.add_argument("coverage_dir", type=Path,
66
68
  help="Directory containing parallel coverage data files.")
67
69
  parser.set_defaults(func=command)
@@ -18,6 +18,9 @@ from cikit.macros import ai_assisted_badge, data_prepare, python_badge
18
18
  from cikit.ci import run_ci_script
19
19
 
20
20
 
21
+ COMMAND_NAME = "init"
22
+
23
+
21
24
  def run(env, status, _args: argparse.Namespace):
22
25
  """Run init command logic.
23
26
 
@@ -49,7 +52,7 @@ def command(args: argparse.Namespace) -> int:
49
52
  Returns:
50
53
  Process exit code.
51
54
  """
52
- return run_ci_script("init", lambda env, status: run(env, status, args), args=args)
55
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
53
56
 
54
57
 
55
58
  def register(subparsers: argparse._SubParsersAction):
@@ -58,5 +61,5 @@ def register(subparsers: argparse._SubParsersAction):
58
61
  Args:
59
62
  subparsers: Argparse subparser registry.
60
63
  """
61
- parser = subparsers.add_parser("init", help="Prepare CI environment and cikit data.")
64
+ parser = subparsers.add_parser(COMMAND_NAME, help="Prepare CI environment and cikit data.")
62
65
  parser.set_defaults(func=command)
@@ -19,6 +19,9 @@ from cikit.env import CIProvider
19
19
  from cikit.macros import pylint, chart_timeline
20
20
 
21
21
 
22
+ COMMAND_NAME = "pylint"
23
+
24
+
22
25
  def run(env, status, args: argparse.Namespace):
23
26
  """Run Pylint command logic.
24
27
 
@@ -59,7 +62,7 @@ def command(args: argparse.Namespace) -> int:
59
62
  Returns:
60
63
  Process exit code.
61
64
  """
62
- return run_ci_script("pylint", lambda env, status: run(env, status, args), args=args)
65
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
63
66
 
64
67
 
65
68
  def register(subparsers: argparse._SubParsersAction):
@@ -68,7 +71,7 @@ def register(subparsers: argparse._SubParsersAction):
68
71
  Args:
69
72
  subparsers: Argparse subparser registry.
70
73
  """
71
- parser = subparsers.add_parser("pylint", help="Run Pylint checks.")
74
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run Pylint checks.")
72
75
 
73
76
  parser.add_argument("paths", nargs="+", help="Paths passed to Pylint.")
74
77
 
@@ -19,6 +19,9 @@ from cikit.env import CIProvider
19
19
  from cikit.macros import ruff, chart_timeline
20
20
 
21
21
 
22
+ COMMAND_NAME = "ruff"
23
+
24
+
22
25
  def run(env, status, args: argparse.Namespace):
23
26
  """Run Ruff command logic.
24
27
 
@@ -55,7 +58,7 @@ def command(args: argparse.Namespace) -> int:
55
58
  Returns:
56
59
  Process exit code.
57
60
  """
58
- return run_ci_script("ruff", lambda env, status: run(env, status, args), args=args)
61
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
59
62
 
60
63
 
61
64
  def register(subparsers: argparse._SubParsersAction):
@@ -64,6 +67,6 @@ def register(subparsers: argparse._SubParsersAction):
64
67
  Args:
65
68
  subparsers: Argparse subparser registry.
66
69
  """
67
- parser = subparsers.add_parser("ruff", help="Run Ruff checks.")
70
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run Ruff checks.")
68
71
  parser.add_argument("paths", nargs="+", help="Paths passed to Ruff.")
69
72
  parser.set_defaults(func=command)
@@ -21,6 +21,9 @@ from cikit.rst_tools import RstBlock, RstDocument
21
21
  from cikit.timeline.preview import render_preview_charts
22
22
 
23
23
 
24
+ COMMAND_NAME = "sphinx"
25
+
26
+
24
27
  def generate_timeline_chart_guide(docs_dir: Path) -> Path:
25
28
  """Generate the timeline preset gallery and its SVG examples.
26
29
 
@@ -101,7 +104,7 @@ def command(args: argparse.Namespace) -> int:
101
104
  Returns:
102
105
  Process exit code.
103
106
  """
104
- return run_ci_script("sphinx", lambda env, status: run(env, status, args), args=args)
107
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
105
108
 
106
109
 
107
110
  def register(subparsers: argparse._SubParsersAction):
@@ -110,7 +113,7 @@ def register(subparsers: argparse._SubParsersAction):
110
113
  Args:
111
114
  subparsers: Argparse subparser registry.
112
115
  """
113
- parser = subparsers.add_parser("sphinx", help="Build Sphinx documentation.")
116
+ parser = subparsers.add_parser(COMMAND_NAME, help="Build Sphinx documentation.")
114
117
  parser.add_argument("docs_dir", nargs="?", type=Path, default=Path("docs"),
115
118
  help="Optional Sphinx source directory.")
116
119
  parser.set_defaults(func=command)
@@ -18,6 +18,9 @@ from cikit.ci import run_ci_script
18
18
  from cikit.macros import chart_timeline, pytest, reports
19
19
 
20
20
 
21
+ COMMAND_NAME = "test"
22
+
23
+
21
24
  def run(env, status, args: argparse.Namespace):
22
25
  """Run pytest command logic.
23
26
 
@@ -54,7 +57,7 @@ def command(args: argparse.Namespace) -> int:
54
57
  Returns:
55
58
  Process exit code.
56
59
  """
57
- return run_ci_script("test", lambda env, status: run(env, status, args), args=args)
60
+ return run_ci_script(COMMAND_NAME, lambda env, status: run(env, status, args), args=args)
58
61
 
59
62
 
60
63
  def register(subparsers: argparse._SubParsersAction):
@@ -63,7 +66,7 @@ def register(subparsers: argparse._SubParsersAction):
63
66
  Args:
64
67
  subparsers: Argparse subparser registry.
65
68
  """
66
- parser = subparsers.add_parser("test", help="Run one pytest directory.")
69
+ parser = subparsers.add_parser(COMMAND_NAME, help="Run one pytest directory.")
67
70
  parser.add_argument("test_path", type=Path, help="Pytest directory.")
68
71
  parser.add_argument("--coverage-dir", type=Path,
69
72
  help="Directory for parallel coverage data files.")
@@ -133,11 +133,9 @@ The cikit environment provides the following settings used by the data layer:
133
133
  * - Variable
134
134
  - Purpose
135
135
  * - ``PROJECT_NAME``
136
- - Logical project name used by project-based addressing.
136
+ - Logical project name used for cikit data addressing.
137
137
  * - ``CIKIT_DATA_DIR``
138
138
  - Local directory for cached run data and related local metadata.
139
- * - ``CIKIT_DATA_ADDRESSING``
140
- - Selects how the project key for remote data access is formed.
141
139
  * - ``CIKIT_DATA_BASE_URL``
142
140
  - Optional base URL of the remote cikit Data API.
143
141
  * - ``CIKIT_DATA_API_TOKEN``
@@ -148,27 +146,17 @@ By default:
148
146
  .. code-block:: text
149
147
 
150
148
  CIKIT_DATA_DIR=${PUBLIC_DIR}/cikit_data
151
- CIKIT_DATA_ADDRESSING=project
152
149
 
153
150
  ``CIKIT_DATA_BASE_URL`` and ``CIKIT_DATA_API_TOKEN`` are optional.
154
151
 
155
152
  Project Addressing
156
153
  ------------------
157
154
 
158
- Every remote request is associated with one project key.
155
+ Every remote request is associated with one project key. The key is derived
156
+ from the logical project name and the optional ``tool.cikit.data_scope`` value
157
+ from ``pyproject.toml``.
159
158
 
160
- ``CIKIT_DATA_ADDRESSING`` controls how this key is derived.
161
-
162
- Project Addressing
163
- ^^^^^^^^^^^^^^^^^^
164
-
165
- The default mode is:
166
-
167
- .. code-block:: text
168
-
169
- CIKIT_DATA_ADDRESSING=project
170
-
171
- The effective remote project key is then:
159
+ Without a configured scope, the effective key is simply:
172
160
 
173
161
  .. code-block:: text
174
162
 
@@ -181,31 +169,24 @@ For example:
181
169
  PROJECT_NAME=cikit
182
170
  -> cikit
183
171
 
184
- Provider Addressing
185
- ^^^^^^^^^^^^^^^^^^^
172
+ A scope can be configured as project metadata:
186
173
 
187
- Provider addressing is intended for environments where the CI provider's
188
- project identity should distinguish otherwise identical logical project names:
174
+ .. code-block:: toml
189
175
 
190
- .. code-block:: text
176
+ [project]
177
+ name = "cikit"
191
178
 
192
- CIKIT_DATA_ADDRESSING=provider
179
+ [tool.cikit]
180
+ data_scope = "svesch"
193
181
 
194
- The effective key is formed from provider-specific project metadata:
182
+ The resulting remote project key is then:
195
183
 
196
184
  .. code-block:: text
197
185
 
198
- provider_scope/provider_project
199
-
200
- If no provider scope is available, only ``provider_project`` is used.
201
-
202
- If no provider project is available, cikit falls back to ``PROJECT_NAME``.
203
-
204
- The remote service still receives one project string. It does not need to know
205
- which addressing mode produced it.
186
+ svesch/cikit
206
187
 
207
- Provider-specific scope and project values are described in
208
- :doc:`providers`.
188
+ The same key is used during local execution and in every CI provider. Provider
189
+ metadata does not participate in cikit data addressing.
209
190
 
210
191
  Logical Runs
211
192
  ------------
@@ -237,6 +218,7 @@ For example:
237
218
 
238
219
  coverage:
239
220
  coverage
221
+ line_rate
240
222
 
241
223
  pylint:
242
224
  score
@@ -122,8 +122,6 @@ The default cikit environment currently defines:
122
122
  - Base directory for persistent generated output.
123
123
  * - ``CIKIT_DATA_DIR``
124
124
  - Directory containing local cikit data and run-related metadata.
125
- * - ``CIKIT_DATA_ADDRESSING``
126
- - Addressing mode used for remote cikit data.
127
125
  * - ``CIKIT_DATA_BASE_URL``
128
126
  - Base URL of the optional remote cikit data service.
129
127
  * - ``CIKIT_DATA_API_TOKEN``