Branching, versioning and releases¶
TL;DR
- Work goes from a
feature/*,bugfix/*,docs/*orchore/*branch intodevelop(squash), then fromdevelopintomain(merge commit or rebase). - Versions are SemVer in PEP 440 form, taken from the git tag. A tag on
mainpublishes a stable release, a tag ondevelopa dev pre-release, to PyPI and ghcr.io. - Updating never means importing everything again: the database migrates on start, and a
search-index format change is rebuilt with
exactdocs reindex. - Pull requests run the fast checks only. The integration tests run when started by hand, and
the release runs the model-free eval gates, the size budgets and the image scans before it
publishes. The full eval runs by hand (
eval.yml).
Pages¶
| Page | What it covers |
|---|---|
| Branches | main, develop and issue branches, merge methods |
| Versions and tags | SemVer + PEP 440, what each tag publishes, how to tag |
| Upgrades and reindex | schema migrations, the search index format, the CI upgrade test |
| Release notes template | how to edit the generated release notes |
| Image budgets and retention | size and model-free budgets per image variant, registry retention |
| Licences | what carries which licence in the wheels, the UI and the images |
| Image scan | the Trivy gate, and what to do when it fails |
| Fast and integration tests | the CI jobs, integration tests and their services |
| CI/CD and runners | GitHub-hosted and self-hosted runners, RUNNER_MODE |
| The release workflow | every job of release.yml, dry runs, one-time setup |