From 8b19ea502bca676303f09006db35f2b0dd69ab64 Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Thu, 13 Aug 2026 16:23:43 +0200 Subject: [PATCH] chore(release): 1.0.0 Bump version to 1.0.0 across __init__.py, pyproject.toml, and CITATION.cff (adds date-released); regenerate uv.lock. Promote the accumulated Unreleased changelog entries to [1.0.0] - 2026-08-13. --- CHANGELOG.md | 2 ++ CITATION.cff | 3 ++- pyproject.toml | 2 +- src/codeberg_to_gitea_migrator/__init__.py | 2 +- tests/test_smoke.py | 2 +- uv.lock | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5c530b..ba2c307 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format ## [Unreleased] +## [1.0.0] - 2026-08-13 + ### security - **migrator:** keep forge API tokens out of error text, the command line, and on-disk git config. Git auth is delivered through a single `git.GitRunner` seam as a non-persisted per-op `http..extraHeader` (`Authorization: token `), so the token never enters a remote URL or `.git/config`; failures raise a redacted `GitError` (known-secret + `oauth2:` fallback) and the CLI catches it cleanly. The default workdir stays per-user `0700`. Closes the 2026-08-11 audit's HIGH (token in error text) and MEDIUM (token in git config) at one structural root cause. diff --git a/CITATION.cff b/CITATION.cff index 732a872..d4633fb 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -9,7 +9,8 @@ authors: - given-names: Alexander family-names: Kucera email: a.kucera@babylondreams.de -version: 0.1.0 +version: 1.0.0 +date-released: 2026-08-13 license: GPL-3.0-or-later repository-code: "https://git.babylondreams.de/AlexKucera/codeberg-to-gitea-migrator.git" keywords: diff --git a/pyproject.toml b/pyproject.toml index 45a1ad3..8c50a77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "codeberg-to-gitea-migrator" -version = "0.1.0" +version = "1.0.0" description = "Migrate repositories (code, issues & PRs, releases & assets, labels & milestones) from Codeberg to a self-hosted Gitea instance." readme = "README.md" requires-python = ">=3.11" diff --git a/src/codeberg_to_gitea_migrator/__init__.py b/src/codeberg_to_gitea_migrator/__init__.py index f5822da..32e53a5 100644 --- a/src/codeberg_to_gitea_migrator/__init__.py +++ b/src/codeberg_to_gitea_migrator/__init__.py @@ -1,3 +1,3 @@ """codeberg-to-gitea-migrator: Codeberg (Forgejo) -> self-hosted Gitea migrator.""" -__version__ = "0.1.0" +__version__ = "1.0.0" diff --git a/tests/test_smoke.py b/tests/test_smoke.py index f82e119..3a037bb 100644 --- a/tests/test_smoke.py +++ b/tests/test_smoke.py @@ -4,4 +4,4 @@ def test_import(): import codeberg_to_gitea_migrator - assert codeberg_to_gitea_migrator.__version__ == "0.1.0" + assert codeberg_to_gitea_migrator.__version__ == "1.0.0" diff --git a/uv.lock b/uv.lock index 370a99e..d843e53 100644 --- a/uv.lock +++ b/uv.lock @@ -26,7 +26,7 @@ wheels = [ [[package]] name = "codeberg-to-gitea-migrator" -version = "0.1.0" +version = "1.0.0" source = { editable = "." } dependencies = [ { name = "httpx" },