From 0803db8e5f6f6fb4a7250fdc73e29bd8f327d7cf Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Tue, 24 Nov 2026 01:36:43 +0100 Subject: [PATCH 1/2] Prepare Coulobre 0.12.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 657a20e..5ac231e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "coulobre-panel" -version = "0.12.0rc3" +version = "0.12.0" description = "A web hosting control panel for hosting providers and resellers." readme = "README.md" requires-python = ">=3.12" -- 2.43.0 From 454945c328838bf350ed1e9238bae692cd823c29 Mon Sep 17 00:00:00 2001 From: Peter van Arkel Date: Tue, 24 Nov 2026 01:38:21 +0100 Subject: [PATCH 2/2] Document Coulobre release versioning --- CONTRIBUTING.md | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f98025d..13aedeb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,11 +28,39 @@ release. Issues without a milestone stay in the backlog. Add a due date when a release date has been agreed. +### Choose a release version + +Use [Semantic Versioning][semver] for Coulobre releases. Consider the +documented interfaces people depend on, including configuration, CLI commands, +upgrade paths, and the protocols between the panel and its service nodes. + +| Change | Version increment from 1.0 onward | +| --- | --- | +| Compatible bug fixes, including compatible security fixes | Patch (`1.2.3` → `1.2.4`) | +| Compatible features or deprecations | Minor (`1.2.3` → `1.3.0`) | +| Incompatible changes to a documented interface | Major (`1.2.3` → `2.0.0`) | + +Before 1.0, use `0.Y.Z`. Increment `Y` and reset `Z` for a feature release or +an incompatible change. Increment `Z` for compatible fixes. Document any +incompatible change and its upgrade steps in the release notes. + +Start release candidates at 1 for each target version and increment the +candidate number for each release. Use [Python version specifiers][versions] +in `pyproject.toml` and the matching tag in Git and Gitea. + +| Release | Python package version | Git tag | +| --- | --- | --- | +| First candidate for 0.12.0 | `0.12.0rc1` | `v0.12.0-rc.1` | +| Next candidate for 0.12.0 | `0.12.0rc2` | `v0.12.0-rc.2` | +| Final 0.12.0 release | `0.12.0` | `v0.12.0` | + +Keep published release tags and artifacts fixed. Publish a new version for +subsequent changes. + ### Prepare a release -1. Update the package version in `pyproject.toml`. For a release candidate, - use a Python version such as `0.1.0rc1` and a matching Git tag such as - `v0.1.0-rc.1`. [Python version specifiers][versions] +1. Update the package version in `pyproject.toml` using the versioning rules + above. 2. From a clean checkout, use `python -m build` to build the source distribution and wheel. Run `python tools/check_core_release.py dist/*.tar.gz dist/*.whl` to compare @@ -71,6 +99,7 @@ python tools/web_update_manifest.py dist/coulobre_panel-0.10.2rc1-py3-none-any.w [issues]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/issues [milestones]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/milestones [releases]: https://code.hosting.hippogrief.nl/hippogrief/coulobre/releases +[semver]: https://semver.org/ [versions]: https://packaging.python.org/en/latest/specifications/version-specifiers/#pre-releases [build]: https://build.pypa.io/en/stable/ [deployment-checks]: docs/deployment.md#verify-a-new-installation -- 2.43.0