Add Repo entity with schema, API, and migration #9

Closed
opened 2026-02-24 19:56:43 +00:00 by forgejo_admin · 0 comments
Contributor

Add Repo as a first-class entity in pal-e-docs.

Scope

  • Repo SQLAlchemy model with name, slug, platform, url, status, role, project_id
  • Pydantic schemas: RepoCreate, RepoUpdate, RepoOut
  • Alembic migration to create repos table
  • CRUD API routes: GET /repos, GET /repos/{slug}, POST /repos, PUT /repos/{slug}, DELETE /repos/{slug}
  • Query filters: ?project=slug, ?status=active
  • Seed data for all 8 existing repos

Context

Part of the mermaid diagrams and living project documentation plan (Phase 5).

Add Repo as a first-class entity in pal-e-docs. ## Scope - Repo SQLAlchemy model with name, slug, platform, url, status, role, project_id - Pydantic schemas: RepoCreate, RepoUpdate, RepoOut - Alembic migration to create repos table - CRUD API routes: GET /repos, GET /repos/{slug}, POST /repos, PUT /repos/{slug}, DELETE /repos/{slug} - Query filters: ?project=slug, ?status=active - Seed data for all 8 existing repos ## Context Part of the mermaid diagrams and living project documentation plan (Phase 5).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/pal-e-api#9
No description provided.