Skip to content

Repository template creation

Automate the creation of a new repository.

Items to explore

Static vs dynamic template

Static template

Develop a poetry built-in project template similar to our rails template, which:

  • Has poetry and other base dependencies in the pyproject.toml.
  • Creates the basic project structure.
  • Has a .gitlab-ci.yml with format, lint and test stages.

Dynamic template

If we need to use a dynamic template, 2 options

We could allow the developer to pick:

  • Type of project
    • Web service app
    • CLI app
    • Library
    • Data science with notebooks
  • Build and dependency management system (poetry, pdm, uv)
  • Lint tool (ruff, black, mypy)
Edited by 🤖 GitLab Bot 🤖