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:
1 parent
ddca225fde
commit
601cf4c41e
19 files changed
+1125
No files matched your search
@@ -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.
|
||||
Reference in new issue
Block a user