oe-python-template 0.6.9__tar.gz → 0.6.11__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 (167) hide show
  1. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.copier-answers.yml +2 -1
  2. oe_python_template-0.6.9/template/.github/workflows/docker-image-build-publish.yml.jinja → oe_python_template-0.6.11/.github/workflows/docker-image-build-publish.yml +24 -4
  3. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/CHANGELOG.md +15 -1
  4. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/PKG-INFO +1 -1
  5. oe_python_template-0.6.11/RELEASE_NOTES.md +8 -0
  6. oe_python_template-0.6.11/VERSION +1 -0
  7. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/copier.yml +7 -2
  8. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/_static/openapi_v2.yaml +33 -33
  9. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/conf.py +1 -1
  10. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/pyproject.toml +2 -2
  11. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/sonar-project.properties +1 -1
  12. oe_python_template-0.6.9/.github/workflows/docker-image-build-publish.yml → oe_python_template-0.6.11/template/.github/workflows/docker-image-build-publish.yml.jinja +41 -17
  13. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/uv.lock +1 -1
  14. oe_python_template-0.6.9/RELEASE_NOTES.md +0 -8
  15. oe_python_template-0.6.9/VERSION +0 -1
  16. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.act-env-public +0 -0
  17. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.devcontainer/Dockerfile +0 -0
  18. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.devcontainer/devcontainer.json +0 -0
  19. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.devcontainer/onCreateCommand +0 -0
  20. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.devcontainer/postAttachCommand +0 -0
  21. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.devcontainer/postCreateCommand +0 -0
  22. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.env.example +0 -0
  23. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/copilot-instructions.md +0 -0
  24. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/dependabot.yml +0 -0
  25. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/prompts/.keep +0 -0
  26. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/workflows/codeql.yml +0 -0
  27. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/workflows/package-build-publish-release.yml +0 -0
  28. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.github/workflows/test-and-report.yml +0 -0
  29. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.gitignore +0 -0
  30. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.pre-commit-config.yaml +0 -0
  31. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.python-version +0 -0
  32. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.readthedocs.yml +0 -0
  33. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.secrets.baseline +0 -0
  34. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.vscode/extensions.json +0 -0
  35. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/.vscode/settings.json +0 -0
  36. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/CODEOWNERS +0 -0
  37. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/CODE_STYLE.md +0 -0
  38. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/CONTRIBUTING.md +0 -0
  39. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/Dockerfile +0 -0
  40. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/LICENSE +0 -0
  41. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/README.md +0 -0
  42. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/SECURITY.md +0 -0
  43. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/SERVICE_CONNECTIONS.md +0 -0
  44. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/bin/git-cliff +0 -0
  45. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/codecov.yml +0 -0
  46. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/compose.yaml +0 -0
  47. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/Makefile +0 -0
  48. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/make.bat +0 -0
  49. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/partials/README_footer.md +0 -0
  50. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/partials/README_header.md +0 -0
  51. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/partials/README_main.md +0 -0
  52. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/_static/.keep +0 -0
  53. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/_static/openapi_v1.json +0 -0
  54. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/_static/openapi_v1.yaml +0 -0
  55. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/_static/openapi_v2.json +0 -0
  56. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/api_v1.rst +0 -0
  57. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/api_v2.rst +0 -0
  58. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/code-style.rst +0 -0
  59. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/contributing.rst +0 -0
  60. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/index.rst +0 -0
  61. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/latexmkrc +0 -0
  62. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/main.rst +0 -0
  63. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/reference.rst +0 -0
  64. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/release-notes.rst +0 -0
  65. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/docs/source/security.rst +0 -0
  66. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/examples/__init__.py +0 -0
  67. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/examples/notebook.ipynb +0 -0
  68. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/examples/notebook.py +0 -0
  69. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/examples/script.py +0 -0
  70. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/examples/streamlit.py +0 -0
  71. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/CHANGELOG.md +0 -0
  72. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
  73. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/LICENSE-MIT +0 -0
  74. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/README.md +0 -0
  75. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/completions/_git-cliff +0 -0
  76. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
  77. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
  78. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
  79. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
  80. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/git-cliff-completions +0 -0
  81. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/git-cliff-mangen +0 -0
  82. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
  83. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
  84. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/github-action-run +0 -0
  85. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/logo.png +0 -0
  86. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/n +0 -0
  87. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/noxfile.py +0 -0
  88. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/renovate.json +0 -0
  89. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/reports/.keep +0 -0
  90. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/src/oe_python_template/__init__.py +0 -0
  91. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/src/oe_python_template/api.py +0 -0
  92. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/src/oe_python_template/cli.py +0 -0
  93. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/src/oe_python_template/constants.py +0 -0
  94. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/src/oe_python_template/service.py +0 -0
  95. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.act-env-public.jinja +0 -0
  96. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.devcontainer/Dockerfile.jinja +0 -0
  97. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.devcontainer/devcontainer.json.jinja +0 -0
  98. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.devcontainer/onCreateCommand.jinja +0 -0
  99. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.devcontainer/postAttachCommand.jinja +0 -0
  100. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.devcontainer/postCreateCommand.jinja +0 -0
  101. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.env.example.jinja +0 -0
  102. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.github/copilot-instructions.md +0 -0
  103. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.github/dependabot.yml +0 -0
  104. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.github/workflows/codeql.yml +0 -0
  105. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
  106. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.github/workflows/test-and-report.yml.jinja +0 -0
  107. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.gitignore.jinja +0 -0
  108. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.pre-commit-config.yaml.jinja +0 -0
  109. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.python-version +0 -0
  110. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.readthedocs.yml.jinja +0 -0
  111. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.vscode/extensions.json +0 -0
  112. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/.vscode/settings.json.jinja +0 -0
  113. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/CHANGELOG.md +0 -0
  114. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/CODEOWNERS.jinja +0 -0
  115. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/CODE_STYLE.md.jinja +0 -0
  116. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/CONTRIBUTING.md.jinja +0 -0
  117. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/Dockerfile.jinja +0 -0
  118. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/LICENSE.jinja +0 -0
  119. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/README.md +0 -0
  120. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/SECURITY.md.jinja +0 -0
  121. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
  122. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/VERSION +0 -0
  123. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/codecov.yml.jinja +0 -0
  124. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/compose.yaml.jinja +0 -0
  125. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/Makefile.jinja +0 -0
  126. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/make.bat.jinja +0 -0
  127. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/partials/README_footer.md.jinja +0 -0
  128. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/partials/README_header.md.jinja +0 -0
  129. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/partials/README_main.md.jinja +0 -0
  130. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/_static/.keep +0 -0
  131. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/api_v1.rst.jinja +0 -0
  132. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/api_v2.rst.jinja +0 -0
  133. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/code-style.rst.jinja +0 -0
  134. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/conf.py.jinja +0 -0
  135. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/contributing.rst.jinja +0 -0
  136. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/index.rst.jinja +0 -0
  137. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/main.rst.jinja +0 -0
  138. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/reference.rst.jinja +0 -0
  139. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/release-notes.rst.jinja +0 -0
  140. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/docs/source/security.rst.jinja +0 -0
  141. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/examples/__init__.py.jinja +0 -0
  142. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/examples/notebook.ipynb.jinja +0 -0
  143. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/examples/notebook.py.jinja +0 -0
  144. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/examples/script.py.jinja +0 -0
  145. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/examples/streamlit.py.jinja +0 -0
  146. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/github-action-run.jinja +0 -0
  147. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/logo.png +0 -0
  148. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/n.jinja +0 -0
  149. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/noxfile.py.jinja +0 -0
  150. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/pyproject.toml.jinja +0 -0
  151. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/renovate.json +0 -0
  152. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/reports/.keep +0 -0
  153. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/sonar-project.properties.jinja +0 -0
  154. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
  155. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -0
  156. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
  157. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
  158. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
  159. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/tests/__init__.py.jinja +0 -0
  160. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/tests/api_test.py.jinja +0 -0
  161. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/tests/cli_test.py.jinja +0 -0
  162. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/tests/fixtures/.keep +0 -0
  163. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/template/{{_copier_conf.answers_file}}.jinja +0 -0
  164. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/tests/__init__.py +0 -0
  165. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/tests/api_test.py +0 -0
  166. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/tests/cli_test.py +0 -0
  167. {oe_python_template-0.6.9 → oe_python_template-0.6.11}/tests/fixtures/.keep +0 -0
@@ -1,8 +1,9 @@
1
- _commit: v0.6.7-1-g972ed64
1
+ _commit: v0.6.10-1-g63e0719
2
2
  _src_path: .
3
3
  author_email: helmuthva@gmail.com
4
4
  author_github_username: helmut-hoffer-von-ankershoffen
5
5
  author_name: Helmut Hoffer von Ankershoffen
6
+ docker_io_enabled: true
6
7
  docker_io_image_name: oe-python-template
7
8
  docker_io_owner: helmuthva
8
9
  github_repository_name: oe-python-template
@@ -5,11 +5,12 @@ on:
5
5
  tags:
6
6
  - "v*.*.*"
7
7
 
8
+
8
9
  env:
9
10
  REGISTRY: docker.io
10
- IMAGE_NAME: {{ docker_io_owner }}/{{ docker_io_image_name }}
11
+ IMAGE_NAME: helmuthva/oe-python-template
12
+
11
13
 
12
- {% raw %}
13
14
  jobs:
14
15
  docker_image_build_publish:
15
16
  runs-on: ubuntu-latest
@@ -28,26 +29,38 @@ jobs:
28
29
  - name: Set up Docker Buildx
29
30
  uses: docker/setup-buildx-action@v3
30
31
 
32
+
33
+
31
34
  - name: Log in to Docker Hub
32
35
  uses: docker/login-action@v3
33
36
  with:
37
+
34
38
  username: ${{ secrets.DOCKER_USERNAME }}
35
39
  password: ${{ secrets.DOCKER_PASSWORD }}
36
40
 
41
+
42
+
37
43
  - name: Log in to GitHub container registry
38
44
  uses: docker/login-action@v3
39
45
  with:
40
46
  registry: ghcr.io
47
+
41
48
  username: ${{ github.actor }}
42
49
  password: ${{ secrets.GITHUB_TOKEN }}
43
50
 
51
+
44
52
  - name: Extract metadata (tags, labels) for Docker
45
53
  id: meta
46
54
  uses: docker/metadata-action@v5
47
55
  with:
48
- images: |
56
+
57
+
58
+ images: |
49
59
  ${{ env.IMAGE_NAME }}
50
60
  ghcr.io/${{ github.repository }}
61
+
62
+
63
+
51
64
  tags: |
52
65
  # set latest tag for releases
53
66
  type=raw,value=latest
@@ -56,6 +69,8 @@ jobs:
56
69
  type=semver,pattern={{major}}.{{minor}}
57
70
  type=semver,pattern={{major}}
58
71
 
72
+
73
+
59
74
  - name: Build and push Docker image
60
75
  id: push
61
76
  uses: docker/build-push-action@v6
@@ -67,9 +82,14 @@ jobs:
67
82
  tags: ${{ steps.meta.outputs.tags }}
68
83
  labels: ${{ steps.meta.outputs.labels }}
69
84
 
85
+
86
+
87
+
70
88
  - name: Generate artifact attestation
71
89
  uses: actions/attest-build-provenance@v2
72
90
  with:
73
91
  subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
74
- subject-digest: ${{ steps.push.outputs.digest }}{% endraw %}
92
+ subject-digest: ${{ steps.push.outputs.digest }}
75
93
  push-to-registry: true
94
+
95
+
@@ -1,6 +1,20 @@
1
1
  [🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
2
2
 
3
- ## [0.6.9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.8..0.6.9) - 2025-03-17
3
+ ## [0.6.11](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.10..0.6.11) - 2025-03-17
4
+
5
+ ### Enh
6
+
7
+ - *(docker)* Make publishing to docker.io configurable - ([2bd8cd2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/2bd8cd2f19ab95755226305833fd84762ae4a372))
8
+
9
+
10
+ ## [0.6.10](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.9..v0.6.10) - 2025-03-17
11
+
12
+ ### Enh
13
+
14
+ - *(docker)* Make publishing to docker.io configurable - ([c0f3f6b](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/c0f3f6b59c071c8618cd7f10a8c3030ee069b1d0))
15
+
16
+
17
+ ## [0.6.9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.8..v0.6.9) - 2025-03-17
4
18
 
5
19
  ### ⚙️ Miscellaneous Tasks
6
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template
3
- Version: 0.6.9
3
+ Version: 0.6.11
4
4
  Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
5
5
  Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
@@ -0,0 +1,8 @@
1
+ ## [0.6.11](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.10..v0.6.11) - 2025-03-17
2
+
3
+ ### Enh
4
+
5
+ - *(docker)* Make publishing to docker.io configurable - ([2bd8cd2](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/2bd8cd2f19ab95755226305833fd84762ae4a372))
6
+
7
+
8
+
@@ -0,0 +1 @@
1
+ 0.6.11
@@ -177,9 +177,14 @@ sonarqube_key:
177
177
  Invalid sonarqube key
178
178
  {% endif %}
179
179
 
180
+ docker_io_enabled:
181
+ type: bool
182
+ help: Do you want to publish Docker images to docker.io?
183
+ default: yes
184
+
180
185
  docker_io_owner:
181
186
  type: str
182
- help: What is the name of the owner of images published to docker.io? You likely want to accept the default.
187
+ help: What is the name of the owner of images published to docker.io? You likely want to accept the default. If you selected to not publish to docker.io earlier, you can still use the default value here.
183
188
  default: "{{ github_repository_owner }}"
184
189
  validator: >-
185
190
  {% if not docker_io_owner %}
@@ -188,7 +193,7 @@ docker_io_owner:
188
193
 
189
194
  docker_io_image_name:
190
195
  type: str
191
- help: What is the name of the images published to docker.io? You likely want to accept the default.
196
+ help: What is the name of the images published to docker.io? You likely want to accept the default. If you selected to not publish to docker.io earlier, you can still use the default value here.
192
197
  default: "{{ github_repository_name }}"
193
198
  validator: >-
194
199
  {% if not docker_io_image_name %}
@@ -6,19 +6,19 @@ components:
6
6
  message:
7
7
  description: The message content
8
8
  examples:
9
- - Hello, world!
9
+ - Hello, world!
10
10
  minLength: 1
11
11
  title: Message
12
12
  type: string
13
13
  required:
14
- - message
14
+ - message
15
15
  title: EchoResponse
16
16
  type: object
17
17
  HTTPValidationError:
18
18
  properties:
19
19
  detail:
20
20
  items:
21
- $ref: "#/components/schemas/ValidationError"
21
+ $ref: '#/components/schemas/ValidationError'
22
22
  title: Detail
23
23
  type: array
24
24
  title: HTTPValidationError
@@ -28,13 +28,13 @@ components:
28
28
  properties:
29
29
  reason:
30
30
  anyOf:
31
- - type: string
32
- - type: "null"
31
+ - type: string
32
+ - type: 'null'
33
33
  title: Reason
34
34
  status:
35
- $ref: "#/components/schemas/_HealthStatus"
35
+ $ref: '#/components/schemas/_HealthStatus'
36
36
  required:
37
- - status
37
+ - status
38
38
  title: Health
39
39
  type: object
40
40
  HelloWorldResponse:
@@ -43,11 +43,11 @@ components:
43
43
  message:
44
44
  description: The hello world message
45
45
  examples:
46
- - Hello, world!
46
+ - Hello, world!
47
47
  title: Message
48
48
  type: string
49
49
  required:
50
- - message
50
+ - message
51
51
  title: HelloWorldResponse
52
52
  type: object
53
53
  Utterance:
@@ -56,12 +56,12 @@ components:
56
56
  utterance:
57
57
  description: The utterance to echo back
58
58
  examples:
59
- - Hello, world!
59
+ - Hello, world!
60
60
  minLength: 1
61
61
  title: Utterance
62
62
  type: string
63
63
  required:
64
- - utterance
64
+ - utterance
65
65
  title: Utterance
66
66
  type: object
67
67
  ValidationError:
@@ -69,8 +69,8 @@ components:
69
69
  loc:
70
70
  items:
71
71
  anyOf:
72
- - type: string
73
- - type: integer
72
+ - type: string
73
+ - type: integer
74
74
  title: Location
75
75
  type: array
76
76
  msg:
@@ -80,16 +80,16 @@ components:
80
80
  title: Error Type
81
81
  type: string
82
82
  required:
83
- - loc
84
- - msg
85
- - type
83
+ - loc
84
+ - msg
85
+ - type
86
86
  title: ValidationError
87
87
  type: object
88
88
  _HealthStatus:
89
89
  description: Health status enumeration.
90
90
  enum:
91
- - UP
92
- - DOWN
91
+ - UP
92
+ - DOWN
93
93
  title: _HealthStatus
94
94
  type: string
95
95
  info:
@@ -113,24 +113,24 @@ paths:
113
113
  content:
114
114
  application/json:
115
115
  schema:
116
- $ref: "#/components/schemas/Utterance"
116
+ $ref: '#/components/schemas/Utterance'
117
117
  required: true
118
118
  responses:
119
- "200":
119
+ '200':
120
120
  content:
121
121
  application/json:
122
122
  schema:
123
- $ref: "#/components/schemas/EchoResponse"
123
+ $ref: '#/components/schemas/EchoResponse'
124
124
  description: Successful Response
125
- "422":
125
+ '422':
126
126
  content:
127
127
  application/json:
128
128
  schema:
129
- $ref: "#/components/schemas/HTTPValidationError"
129
+ $ref: '#/components/schemas/HTTPValidationError'
130
130
  description: Validation Error
131
131
  summary: Echo V2
132
132
  tags:
133
- - Basics
133
+ - Basics
134
134
  /health:
135
135
  get:
136
136
  description: "Check the health of the service.\n\nThis endpoint returns the\
@@ -142,15 +142,15 @@ paths:
142
142
  \ The health status of the service."
143
143
  operationId: health_health_get
144
144
  responses:
145
- "200":
145
+ '200':
146
146
  content:
147
147
  application/json:
148
148
  schema:
149
- $ref: "#/components/schemas/Health"
149
+ $ref: '#/components/schemas/Health'
150
150
  description: Successful Response
151
151
  summary: Health
152
152
  tags:
153
- - Observability
153
+ - Observability
154
154
  /healthz:
155
155
  get:
156
156
  description: "Check the health of the service.\n\nThis endpoint returns the\
@@ -162,27 +162,27 @@ paths:
162
162
  \ The health status of the service."
163
163
  operationId: health_healthz_get
164
164
  responses:
165
- "200":
165
+ '200':
166
166
  content:
167
167
  application/json:
168
168
  schema:
169
- $ref: "#/components/schemas/Health"
169
+ $ref: '#/components/schemas/Health'
170
170
  description: Successful Response
171
171
  summary: Health
172
172
  tags:
173
- - Observability
173
+ - Observability
174
174
  /hello-world:
175
175
  get:
176
176
  description: "Return a hello world message.\n\nReturns:\n HelloWorldResponse:\
177
177
  \ A response containing the hello world message."
178
178
  operationId: hello_world_hello_world_get
179
179
  responses:
180
- "200":
180
+ '200':
181
181
  content:
182
182
  application/json:
183
183
  schema:
184
- $ref: "#/components/schemas/HelloWorldResponse"
184
+ $ref: '#/components/schemas/HelloWorldResponse'
185
185
  description: Successful Response
186
186
  summary: Hello World
187
187
  tags:
188
- - Basics
188
+ - Basics
@@ -29,7 +29,7 @@ extensions = [
29
29
  project = "oe-python-template"
30
30
  author = "Helmut Hoffer von Ankershoffen"
31
31
  copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
32
- version = "0.6.9"
32
+ version = "0.6.11"
33
33
  release = version
34
34
  github_username = "helmut-hoffer-von-ankershoffen"
35
35
  github_repository = "oe-python-template"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oe-python-template"
3
- version = "0.6.9"
3
+ version = "0.6.11"
4
4
  description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -242,7 +242,7 @@ source = ["src/"]
242
242
 
243
243
 
244
244
  [tool.bumpversion]
245
- current_version = "0.6.9"
245
+ current_version = "0.6.11"
246
246
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
247
247
  serialize = ["{major}.{minor}.{patch}"]
248
248
  search = "{current_version}"
@@ -1,6 +1,6 @@
1
1
  sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template
2
2
  sonar.organization=helmut-hoffer-von-ankershoffen
3
- sonar.projectVersion=0.6.9
3
+ sonar.projectVersion=0.6.11
4
4
  sonar.projectDescription=🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
5
5
  sonar.links.homepage=https://oe-python-template.readthedocs.io/en/latest/
6
6
  sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
@@ -5,9 +5,11 @@ on:
5
5
  tags:
6
6
  - "v*.*.*"
7
7
 
8
- #env:
9
- # REGISTRY: docker.io
10
- # IMAGE_NAME: helmuthva/oe-python-template
8
+ {% if docker_io_enabled %}
9
+ env:
10
+ REGISTRY: docker.io
11
+ IMAGE_NAME: {{ docker_io_owner }}/{{ docker_io_image_name }}
12
+ {% endif %}
11
13
 
12
14
  jobs:
13
15
  docker_image_build_publish:
@@ -27,28 +29,43 @@ jobs:
27
29
  - name: Set up Docker Buildx
28
30
  uses: docker/setup-buildx-action@v3
29
31
 
30
- # - name: Log in to Docker Hub
31
- # uses: docker/login-action@v3
32
- # with:
33
- # username: ${{ secrets.DOCKER_USERNAME }}
34
- # password: ${{ secrets.DOCKER_PASSWORD }}
32
+
33
+ {% if docker_io_enabled %}
34
+ - name: Log in to Docker Hub
35
+ uses: docker/login-action@v3
36
+ with:
37
+ {% raw %}
38
+ username: ${{ secrets.DOCKER_USERNAME }}
39
+ password: ${{ secrets.DOCKER_PASSWORD }}
40
+ {% endraw %}
41
+ {% endif %}
35
42
 
36
43
  - name: Log in to GitHub container registry
37
44
  uses: docker/login-action@v3
38
45
  with:
39
46
  registry: ghcr.io
47
+ {% raw %}
40
48
  username: ${{ github.actor }}
41
49
  password: ${{ secrets.GITHUB_TOKEN }}
50
+ {% endraw %}
42
51
 
43
52
  - name: Extract metadata (tags, labels) for Docker
44
53
  id: meta
45
54
  uses: docker/metadata-action@v5
46
55
  with:
47
- # images: |
48
- # ${{ env.IMAGE_NAME }}
49
- # ghcr.io/${{ github.repository }}
56
+ {% if docker_io_enabled %}
57
+ {% raw %}
58
+ images: |
59
+ ${{ env.IMAGE_NAME }}
60
+ ghcr.io/${{ github.repository }}
61
+ {% endraw %}
62
+ {% else %}
63
+ {% raw %}
50
64
  images: |
51
65
  ghcr.io/${{ github.repository }}
66
+ {% endraw %}
67
+ {% endif %}
68
+ {% raw %}
52
69
  tags: |
53
70
  # set latest tag for releases
54
71
  type=raw,value=latest
@@ -56,7 +73,9 @@ jobs:
56
73
  type=semver,pattern={{version}}
57
74
  type=semver,pattern={{major}}.{{minor}}
58
75
  type=semver,pattern={{major}}
76
+ {% endraw %}
59
77
 
78
+ {% raw %}
60
79
  - name: Build and push Docker image
61
80
  id: push
62
81
  uses: docker/build-push-action@v6
@@ -67,10 +86,15 @@ jobs:
67
86
  push: true
68
87
  tags: ${{ steps.meta.outputs.tags }}
69
88
  labels: ${{ steps.meta.outputs.labels }}
89
+ {% endraw %}
70
90
 
71
- # - name: Generate artifact attestation
72
- # uses: actions/attest-build-provenance@v2
73
- # with:
74
- # subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
75
- # subject-digest: ${{ steps.push.outputs.digest }}
76
- # push-to-registry: true
91
+ {% if docker_io_enabled %}
92
+ {% raw %}
93
+ - name: Generate artifact attestation
94
+ uses: actions/attest-build-provenance@v2
95
+ with:
96
+ subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
97
+ subject-digest: ${{ steps.push.outputs.digest }}
98
+ push-to-registry: true
99
+ {% endraw %}
100
+ {% endif %}
@@ -2075,7 +2075,7 @@ wheels = [
2075
2075
 
2076
2076
  [[package]]
2077
2077
  name = "oe-python-template"
2078
- version = "0.6.9"
2078
+ version = "0.6.11"
2079
2079
  source = { editable = "." }
2080
2080
  dependencies = [
2081
2081
  { name = "fastapi", extra = ["all", "standard"] },
@@ -1,8 +0,0 @@
1
- ## [0.6.9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.8..v0.6.9) - 2025-03-17
2
-
3
- ### ⚙️ Miscellaneous Tasks
4
-
5
- - *(docker)* Try to push to ghcr.io. only - ([6b7146a](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/6b7146aaee8b9e55dcd3a401a550a49e86b92981))
6
-
7
-
8
-
@@ -1 +0,0 @@
1
- 0.6.9