chore: bootstrap project scaffold
CI / test (push) Canceled after 0s

Set up the codeberg-to-gitea-migrator project: Python package
with src/ layout (hatchling, ruff, pytest), GPL-3.0-or-later
license, CITATION.cff, README, ADRs for stack/license/forge, and
DOX-structured AGENTS.md. Add Gitea Actions CI.

The package is a stub; migration modules land in follow-up commits.
This commit is contained in:
AlexKucera committed 2026-08-11 09:46:13 +02:00
1 parent ddca225fde
commit 601cf4c41e
19 files changed
+1125

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# tests
## Purpose
Pytest suite for `codeberg_to_gitea_migrator`. Currently a smoke test asserting
the package imports and reports its version.
## Ownership
Project maintainer (Alexander Kucera).
## Local Contracts
- pytest `testpaths = ["tests"]` (root `pyproject.toml`).
- Test files named `test_*.py`; test functions `test_*`.
## Work Guidance
- Add focused tests alongside each migration module.
- Keep network calls behind a fake/recorded client — do not hit live Codeberg/Gitea from tests.
## Verification
- `pytest` from the repo root.
## Child DOX Index
- No children.
+7
View File
@@ -0,0 +1,7 @@
"""Smoke check: the package imports and reports its version."""
def test_import():
import codeberg_to_gitea_migrator
assert codeberg_to_gitea_migrator.__version__ == "0.1.0"